forked from enlightenment/efl
d5ec6c41d9
No longer reverting to the native type when the parameter has "@out" direction. Added "is_out" member variable to eolian_type class. With that, generators can keep track of the direction of the parameters. Also added helper functions "type_is_out" and "type_is_complex". Created "to_native" functions in eo_cxx_interop.hh to convert binding types from C++ arguments to the actual C function arguments. Added static assertions in these functions to enforce compatibility between the binding and the native type (Required by @out parameters). Reworked the overload of the "to_c" function for eo::base derivated objects. Now there is a overload that rely in the compatibility between the native type and the wrapper, enabling a wrapper to be used as an output parameter. |
||
---|---|---|
.. | ||
.gitignore | ||
convert.cc | ||
convert.hh | ||
convert_comments.cc | ||
convert_comments.hh | ||
eolian_cxx.cc | ||
eolian_wrappers.hh | ||
safe_strings.hh | ||
type_lookup.hh | ||
type_lookup_table.cc |