path: root/src/
diff options
authorVitor Sousa <>2014-12-17 11:47:19 -0200
committerVitor Sousa <>2015-01-05 15:52:27 -0200
commited75aa32d6ccdea66a952ed5c82203b0cd1961b2 (patch)
tree3fb61da2424b4443c525adb2ee4e483df8617146 /src/
parentebebcf64389d4e362ee9efaaf8aad4a1e76149e4 (diff)
cxx: General C++ Eo wrapper generation improvement
Using a new architecture in the generated files that simplify multiple inheritance and allows the use of interface types as parameters. No longer using a hand-crafted C++ header for eo_base.eo. This file was added to the generation process. Updated all files that are dependent in the hand-crafted eo_base C++ header. Now there is a class that contains the essentials functions of the former eo::base wrapper and that is used to create (through inheritance) the "concrete" classes for all Eo generated wrappers. No longer binding any function or property that are protected, private or legacy for now. eolian_type_instance is now a struct with general information for the whole type. Added the new header file namespace_generator.hh to hold namespace generation grammars. Separated declaration and definition of Eo wrappers methods. Referring for most objects by its full name (starting at the global namespace ::) in the generated files. Created additional helper grammars to avoid code replication. Removed a TODO comment referring to a doubt about inheritance of constructor methods. Added a TODO comment regarding memory allocation for callbacks in static member functions.
Diffstat (limited to 'src/')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ b/src/
index 14cf493d73..ebedc3dfd6 100644
--- a/src/
+++ b/src/
@@ -18,6 +18,7 @@ lib/eolian_cxx/grammar/comment.hh \
18lib/eolian_cxx/grammar/eo_class_constructors_generator.hh \ 18lib/eolian_cxx/grammar/eo_class_constructors_generator.hh \
19lib/eolian_cxx/grammar/eo_class_events_generator.hh \ 19lib/eolian_cxx/grammar/eo_class_events_generator.hh \
20lib/eolian_cxx/grammar/eo_class_functions_generator.hh \ 20lib/eolian_cxx/grammar/eo_class_functions_generator.hh \
21lib/eolian_cxx/grammar/namespace_generator.hh \
21lib/eolian_cxx/grammar/eo_class_generator.hh \ 22lib/eolian_cxx/grammar/eo_class_generator.hh \
22lib/eolian_cxx/grammar/eo_header_generator.hh \ 23lib/eolian_cxx/grammar/eo_header_generator.hh \
23lib/eolian_cxx/grammar/inheritance_base_generator.hh \ 24lib/eolian_cxx/grammar/inheritance_base_generator.hh \