summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousasilva@gmail.com>2015-06-24 15:23:01 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-06-24 15:23:01 +0100
commitdae35333fd905507ddae01a69add184ea1e3d10f (patch)
tree3c06a501248acbbb01234a77a376275c7f84a2ba /src/examples
parenteff0e37947d939dc26a2a9997ca79d3d8b5effae (diff)
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
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/evas/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/examples/evas/Makefile.am b/src/examples/evas/Makefile.am
index ed9b8cb744..5c39cbd724 100644
--- a/src/examples/evas/Makefile.am
+++ b/src/examples/evas/Makefile.am
@@ -314,6 +314,7 @@ EXTRA_PROGRAMS += evas_cxx_rectangle
314evas_cxx_rectangle_SOURCES = evas_cxx_rectangle.cc 314evas_cxx_rectangle_SOURCES = evas_cxx_rectangle.cc
315evas_cxx_rectangle_LDADD = $(ECORE_EVAS_COMMON_LDADD) 315evas_cxx_rectangle_LDADD = $(ECORE_EVAS_COMMON_LDADD)
316evas_cxx_rectangle_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS) @EINA_CXX_CFLAGS@ @EO_CXX_CFLAGS@ @EVAS_CXX_CFLAGS@ \ 316evas_cxx_rectangle_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS) @EINA_CXX_CFLAGS@ @EO_CXX_CFLAGS@ @EVAS_CXX_CFLAGS@ \
317-I$(top_builddir)/src/lib/evas/canvas/ \
317$(AM_CPPFLAGS) @EVAS_CFLAGS@ 318$(AM_CPPFLAGS) @EVAS_CFLAGS@
318 319
319endif 320endif