eolian: add API to query information about Objects
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Thu, 8 Mar 2018 16:30:30 +0000 (17:30 +0100)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 10 Apr 2018 11:10:50 +0000 (20:10 +0900)
commit79e9ed985ca9a08dea8ceeb57c1ddcad1139e667
treeaf6b566426358e187665858bc7e7863b21ac2787
parent66d251fceafc44f06661c2c82a7d611312b43dd4
eolian: add API to query information about Objects

As nearly every Eolian handle is backed by an Eolian_Object,
this information is now publicly exposed and has an API. This
opens up an array of new possibilities for tooling, as you
can now externally query file names, line numbers etc.,
as well as cast arbitrary handles to Eolian_Object pointers
and back.

This will be expanded later and it will replace the Declaration
system, as it's cleaner, better integrated and more versatile.

@feature
src/lib/eolian/Eolian.h
src/lib/eolian/eo_parser.c
src/lib/eolian/eolian_database.c
src/lib/eolian/eolian_database.h