path: root/src/
diff options
authorVitor Sousa <>2015-01-12 12:00:59 -0200
committerFelipe Magno de Almeida <>2015-04-14 01:06:57 -0300
commitd53038989886a85b75c81a395269f6f349d7d78f (patch)
treed21410341bfd403ccc503a928687b304a734e9d5 /src/
parentbe58d02cb655c244a659abbcdb9ab44e8a5459ce (diff)
eolian_cxx: Add protected methods and events to C++ wrappers and fixes
Using eina::string_view in eolian generated interfaces (instead of std::string) to allow lightweight passing of both C strings and C++ std::string. Also, No longer using eina::optional in generated headers for types that already implements the concept of null state (like Eo wrappers and eina_accessor). Also fix allocating callback objects require by class methods (i.e. static) in static vectors so the memory will be freed when the programs exit. Added a new test case for testing callbacks on class methods. Moved method definitions and supplementary code from generated C++ wrappers to auxiliary header file (.eo.impl.hh) generated together with the main ".eo.hh" file. Updated Makefiles to list such files in the compilation and cleanup processes. Updated .gitignore to include these new generated files. Made general adjustments on the documentation of generated C++ wrappers Added "PREDEFINED" preprocessor macro definition in the in order to make some adjustments for better documentation in the C++ generated headers. Excluding generation of documentation for classes in the "eo_cxx" namespace (the namespace for "abstract" eolian C++ wrappers). Now generating the documentation for the events too. Hiding some auxiliary code from being documented. Some aesthetic adjustments for generated white space. Generate documentation for the main constructor of C++ wrappers and added auxiliary grammars to list parameters names.
Diffstat (limited to 'src/')
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ b/src/
index cb54cc4c12..bb656c8f28 100644
--- a/src/
+++ b/src/
@@ -15,4 +15,7 @@ SUFFIXES += .eo.hh
15%.eo.hh: %.eo $(_EOLIAN_CXX_DEP) 15%.eo.hh: %.eo $(_EOLIAN_CXX_DEP)
17 17
18%.eo.impl.hh: %.eo.hh $(_EOLIAN_CXX_DEP)
19 true $<