HomePhabricator

eolian: allow extending eolian-generated classes from within C

Authored by q66 on Apr 13 2017, 6:56 AM.

Description

eolian: allow extending eolian-generated classes from within C

If you define either the macro MY_CLASS_EXTRA_OPS for normal
methods/properties or MY_CLASS_EXTRA_CLASS_OPS for class methods
or properties, which contains a comma-delimited list of ops defs
(i.e. EFL_OBJECT_OP_FUNC(...), ...) right before including the
generated my_class.eo.c file, the definitions from these will
be included in the actual class. This can be used to override
certain things in a class internally without exposing it to
Eolian, or for testing/debugging.

Details

Committed
q66Apr 13 2017, 6:56 AM
Parents
rEFL8b95b78dee42: efl vpath: Check and terminate execution if set*uid() calls fail
Branches
Unknown
Tags
Unknown