diff options
author | Felipe Magno de Almeida <felipe@expertisesolutions.com.br> | 2020-02-11 17:48:26 +0000 |
---|---|---|
committer | Felipe Magno de Almeida <felipe@expertisesolutions.com.br> | 2020-02-18 17:53:19 -0300 |
commit | df0715a9aa27903dd549c2b4516ab2cba0274413 (patch) | |
tree | 338fa2ea31b02e0a36dc16e8375e978569d6e38e /src/lib/eo | |
parent | eba07471a0cb9baed2204856078f44cc2d31f7d9 (diff) | |
download | efl-df0715a9aa27903dd549c2b4516ab2cba0274413.tar.gz |
C#: Add error checking for Eina.Success_Flag return type
When a get and/or set from property is defined to return, explicitly,
a Eina.Success_Flag, the mono generator will check the return value
and generate an exception if the call fails.
Resolves T8383.
Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D11281
Diffstat (limited to 'src/lib/eo')
-rw-r--r-- | src/lib/eo/eina_types.eot | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/eo/eina_types.eot b/src/lib/eo/eina_types.eot index 04d728a8d3..bff83968c1 100644 --- a/src/lib/eo/eina_types.eot +++ b/src/lib/eo/eina_types.eot @@ -163,3 +163,7 @@ struct @extern @free(eina_promise_free) Eina.Promise; [[Eina promise type /* FIXME: This definitely shouldn't be here. */ type @beta Efl.Event_Cb: __undefined_type; [[Efl event callback type]] +type @extern Eina.Success_Flag: char; [[Eina error type + + @since 1.24 +]] |