path: root/src/lib/eolian_cxx/grammar/parameter.hpp
diff options
authorVitor Sousa <>2017-12-12 12:06:46 -0200
committerVitor Sousa <>2017-12-15 22:26:29 -0200
commitacd99be98bc6f3218af9322b23acb52ed29fb008 (patch)
tree3cee18189cc4ab31f4595721ca904bf0cc8d6847 /src/lib/eolian_cxx/grammar/parameter.hpp
parentb20dd869a4a10fb28a9c743910e2f2a1d2e7d1cc (diff)
efl_mono: tests and better support for structs, plus some other fixes
Fix several integer binding type deduction based in its size on C. Generation for function pointers no longer use modified argument name which is different from the parameter name. New generation context for structs. bool from UnmanagedType.I1 to UnmanagedType.U1 (correct use inside structs according to mono documentation). byte (signed char) and int8 now is correctly represented by sbyte in C#. Check parameter direction in some out generators in parameter.hh. Add efl_libs.csv to gitignore. Make eina.Value pointer constructor public. Add missing fields to efl.kw_event.Description struct. Remove eina.File workaround (let struct gen handle it). Remove is_function_ptr bool from regular_type_def and add a typedecl_type enum to it. Also add some helper methods for easier comparison. Left some test cases commented for when pointer parameters are properly working.
Diffstat (limited to '')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eolian_cxx/grammar/parameter.hpp b/src/lib/eolian_cxx/grammar/parameter.hpp
index 68f5450dd1..e06cfeaaf0 100644
--- a/src/lib/eolian_cxx/grammar/parameter.hpp
+++ b/src/lib/eolian_cxx/grammar/parameter.hpp
@@ -28,7 +28,7 @@ struct parameter_type_generator
28 28
29 attributes::regular_type_def const* typ = 29 attributes::regular_type_def const* typ =
30 efl::eina::get<attributes::regular_type_def>(&param.type.original_type); 30 efl::eina::get<attributes::regular_type_def>(&param.type.original_type);
31 if (typ && typ->is_function_ptr) 31 if (typ && typ->is_function_ptr())
32 return as_generator("F").generate(sink, attributes::unused, context); 32 return as_generator("F").generate(sink, attributes::unused, context);
33 33
34 return as_generator 34 return as_generator