From 7537760c8d5a9146a297c76a1248d0d3ee7ff989 Mon Sep 17 00:00:00 2001 From: Vitor Sousa Date: Wed, 24 Jun 2015 15:23:01 +0100 Subject: [PATCH] eolian_cxx: Use C++ wrappers instead of native types as parameters Summary: Using C++ wrapper types in the signature of methods of the generated classes. Now, when the type is an Eo type defined in Eolian, eolian_cxx will detect it and use the equivalent C++ wrapper. Types defined in Eolian no longer need to be specified in the lookup table, so removed them from there. Disable wrapping of non-const char*. The current wrapper (unique_ptr) is not suited for some required operations like ownership acquisition from C code. Fix constructing properties that only have the "set" method. Fix translation of non-const parameters. Modified Makefiles to allow proper inclusion of evas_cxx headers required by some tests and examples. Move one auxiliary function to another reader to make it more accessible. @feature Reviewers: felipealmeida, q66, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2752 --- evas/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/evas/Makefile.am b/evas/Makefile.am index ed9b8cb7..5c39cbd7 100644 --- a/evas/Makefile.am +++ b/evas/Makefile.am @@ -314,6 +314,7 @@ EXTRA_PROGRAMS += evas_cxx_rectangle evas_cxx_rectangle_SOURCES = evas_cxx_rectangle.cc evas_cxx_rectangle_LDADD = $(ECORE_EVAS_COMMON_LDADD) evas_cxx_rectangle_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS) @EINA_CXX_CFLAGS@ @EO_CXX_CFLAGS@ @EVAS_CXX_CFLAGS@ \ +-I$(top_builddir)/src/lib/evas/canvas/ \ $(AM_CPPFLAGS) @EVAS_CFLAGS@ endif