path: root/src/tests/efl_mono/libefl_mono_native_test.c
diff options
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-05-10 22:00:07 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2018-05-11 11:01:59 -0300
commitda6f5932f1ec0392d23d84907863271810d90567 (patch)
tree2dcf9729be38d78b2bacfa811072c7fbc5d161a1 /src/tests/efl_mono/libefl_mono_native_test.c
parenteolian: introduce initial out-of-validation static checking (diff)
efl_mono: Support type aliases.
Summary: Due to the absence of typedef from C#, we generate thin structs with implicit operators to allow reference the data from their typedef'd name from C#. The other alternatives would be always converting to the lowest base on the alias stack (losing the meaningfulness of the typedef name) or using the 'using' directive. The latter has the restriction that it makes an alias visible only in the file they are declared. Reviewers: felipealmeida, cedric, segfaultxavi Reviewed By: segfaultxavi Subscribers: zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6157
Diffstat (limited to 'src/tests/efl_mono/libefl_mono_native_test.c')
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/efl_mono/libefl_mono_native_test.c b/src/tests/efl_mono/libefl_mono_native_test.c
index 4cf06debe8..a20f1cdc89 100644
--- a/src/tests/efl_mono/libefl_mono_native_test.c
+++ b/src/tests/efl_mono/libefl_mono_native_test.c
@@ -3777,6 +3777,12 @@ void _test_testing_call_format_cb(EINA_UNUSED Eo *obj, EINA_UNUSED Test_Testing_
+Test_MyInt _test_testing_bypass_typedef(EINA_UNUSED Eo *obj, EINA_UNUSED Test_Testing_Data *pd, Test_MyInt data, Test_MyInt *receiver)
+ *receiver = data;
+ return data;
/* Class Properties */
static int _test_testing_klass_prop = 0;