efl/src/bin/eolian_cxx
Vitor Sousa d5ec6c41d9 eolian_cxx: Fix: Using binding type for @out parameter instead of native type
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.
2015-01-05 15:52:27 -02:00
..
.gitignore eolian_cxx: initial version of the EFL C++ Bindings Generator. 2014-05-03 00:56:32 +02:00
convert.cc eolian_cxx: Fix Eolian C++ generated wrapper inconsistencies 2015-01-05 15:52:27 -02:00
convert.hh eolian-cxx: Pass references instead of pointers. 2014-07-09 15:55:24 -03:00
convert_comments.cc eolian-cxx: Refactored eolian_cxx to cope with new Eolian API. 2014-09-12 16:50:09 -03:00
convert_comments.hh eolian-cxx: Refactored eolian_cxx to cope with new Eolian API. 2014-09-12 16:50:09 -03:00
eolian_cxx.cc eolian-cxx: Refactored eolian_cxx to cope with new Eolian API. 2014-09-12 16:50:09 -03:00
eolian_wrappers.hh eolian_cxx: Fix: Using binding type for @out parameter instead of native type 2015-01-05 15:52:27 -02:00
safe_strings.hh eolian-cxx: Added missing keyword. 2014-07-21 21:11:33 -03:00
type_lookup.hh eolian-cxx: Fixed C++ conversion for lists 2015-01-05 15:52:27 -02:00
type_lookup_table.cc eolian-cxx: Fixed C++ conversion for lists 2015-01-05 15:52:27 -02:00