eolian: new API eolian_type_enum_field_c_name_get
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Tue, 12 May 2015 16:04:54 +0000 (17:04 +0100)
committerDaniel Kolesa <d.kolesa@osg.samsung.com>
Tue, 12 May 2015 16:04:54 +0000 (17:04 +0100)
commit211b650c4bf3701e93756fc2babda08a0949f805
tree80e8ad03627695958f1a52cf98e0cfa724177a3e
parented58165b501d24aee0cffebe464208cdf850ecda
eolian: new API eolian_type_enum_field_c_name_get

This API allows you to retrieve the C name of an arbitrary enum field,
respecting the legacy prefix and properly uppercasing the name.
src/lib/eolian/Eolian.h
src/lib/eolian/database_type_api.c
src/lib/eolian/eo_parser.c
src/lib/eolian/eolian_database.h
src/tests/eolian/data/enum.eo
src/tests/eolian/eolian_parsing.c