eo: here comes reflection API
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Tue, 5 Feb 2019 14:40:41 +0000 (15:40 +0100)
committerWooHyun Jung <wh0705.jung@samsung.com>
Mon, 11 Feb 2019 01:37:26 +0000 (10:37 +0900)
commit342758a3f98c3220be648f879033ae94dc2dc45e
treee49917de970edac6778c84d63b41d1dabff4c952
parentfaf124cf2cc1ce49208762cb3b70d53d785280f7
eo: here comes reflection API

this adds support in eo to generate a reflection API. To get the actaul
reflection to the klass, the API efl_class_reflection_table_set needs to
be called, the table in the end can be generated by eolian. Reflection
API is inherited by the extended class. This means, if you have two
reflection tables, first, the most upperst is called, then the next
lower one is called.

For now this API accepts NULL setter or getter, and will ignore them
silently when they are called.

fix T7681

Differential Revision: https://phab.enlightenment.org/D7879
src/Makefile_Eo.am
src/lib/eo/Eo.h
src/lib/eo/eo.c
src/lib/eo/eo_private.h
src/tests/eo/suite/eo_suite.c
src/tests/eo/suite/eo_suite.h
src/tests/eo/suite/eo_test_class_simple.c
src/tests/eo/suite/eo_test_reflection.c [new file with mode: 0644]
src/tests/eo/suite/meson.build