Eolian/Generator: don't generate legacy if legacy_prefix is "null".
authorDaniel Zaoui <daniel.zaoui@samsung.com>
Wed, 2 Apr 2014 06:24:30 +0000 (09:24 +0300)
committerDaniel Zaoui <daniel.zaoui@samsung.com>
Wed, 2 Apr 2014 07:05:37 +0000 (10:05 +0300)
commitbddee1554ff12c776fedaeb664d8469eecb12718
treea2bc83dfd086afff1773c176120b2fbb374be7ea
parent86ec4e28bcab9d562c6624e1a51a8be960110061
Eolian/Generator: don't generate legacy if legacy_prefix is "null".

For new classes that don't need legacy, instead of setting legacy null
for all the functions, legacy_prefix can be set to "null" to not
generate legacy.
However, if, for example, only one function among 50 need legacy, you
can specify it by setting for this function the legacy token.
src/bin/eolian/legacy_generator.c