eolian: make doc ref resolution global
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Wed, 18 Apr 2018 14:34:49 +0000 (16:34 +0200)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 29 May 2018 04:06:52 +0000 (13:06 +0900)
commit56ce2f9b0cbc74382c103e0a965acf4e3323ce28
treed3c3bc13dc0a5aaeeac12442b1975ed1fe7e6264
parent7481c952f6ee966eb1a2f27d13b64397bd4850f8
eolian: make doc ref resolution global

Doc refs no longer introduce new dependencies into files. Instead,
they're parsed globally, and any doc ref lookup is also made
globally. This allows unit based dependencies to correspond more
to what files actually really need at compile time/runtime, with
docs being irrelevant to that; it also simplifies the API.

The doc resolution API now takes Eolian_State instead of
Eolian_Unit, too.
16 files changed:
src/bin/eolian/docs.c
src/bin/eolian/docs.h
src/bin/eolian/headers.c
src/bin/eolian/headers.h
src/bin/eolian/main.c
src/bin/eolian/types.c
src/bin/eolian/types.h
src/bindings/luajit/eolian.lua
src/lib/efl/interfaces/efl_pack_table.eo
src/lib/eolian/Eolian.h
src/lib/eolian/database_validate.c
src/lib/eolian/eolian_database.c
src/lib/eolian/eolian_database.h
src/scripts/elua/apps/docgen/doctree.lua
src/scripts/pyolian/eolian_lib.py
src/tests/eolian/eolian_parsing.c