eolian: add API to retrieve the C name of an object
authorDaniel Kolesa <d.kolesa@samsung.com>
Thu, 16 May 2019 13:31:37 +0000 (15:31 +0200)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 30 May 2019 08:17:51 +0000 (17:17 +0900)
commitd2786c17ba4d106bcc15ea845ba88f42bd95ac90
tree8f9962fe23740083a50369e1f0e050b6bb2c12d7
parent007babce979d50d4bfec2416cd38a9f647a8ed74
eolian: add API to retrieve the C name of an object

This is to prepare for type/class renaming support. This adds
the necessary API to retrieve C-specific names. Other refactoring
is necessary elsewhere for now.

This also renames the old API eolian_class_c_name_get to
eolian_class_c_macro_get to avoid conflict as well as clarify
the intention.
15 files changed:
src/bin/eolian/headers.c
src/bin/eolian/sources.c
src/bindings/luajit/eolian.lua
src/lib/eolian/Eolian.h
src/lib/eolian/database_class.c
src/lib/eolian/database_class_api.c
src/lib/eolian/database_type.c
src/lib/eolian/database_var.c
src/lib/eolian/eo_parser.c
src/lib/eolian/eolian_database.c
src/lib/eolian/eolian_database.h
src/scripts/pyolian/eolian.py
src/scripts/pyolian/eolian_lib.py
src/scripts/pyolian/test_eolian.py
src/tests/eolian/eolian_parsing.c