path: root/src/scripts/pyolian
diff options
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-04-18 16:34:49 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-04-18 16:38:14 +0200
commit543902f2ba13b69b052eb21a4a36324d96f5eeba (patch)
tree1e8319b39e6de8fd942ca7ecd2de28fe107067fb /src/scripts/pyolian
parenteolian: doc ref validation cleanup (diff)
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.
Diffstat (limited to 'src/scripts/pyolian')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/pyolian/eolian_lib.py b/src/scripts/pyolian/eolian_lib.py
index 285064265a..3cd7bad285 100644
--- a/src/scripts/pyolian/eolian_lib.py
+++ b/src/scripts/pyolian/eolian_lib.py
@@ -714,7 +714,7 @@ lib.eolian_doc_token_type_get.restype = c_int
lib.eolian_doc_token_text_get.argtypes = (c_void_p,)
lib.eolian_doc_token_text_get.restype = c_void_p # char* TO BE FREED
-# EAPI Eolian_Object_Type eolian_doc_token_ref_resolve(const Eolian_Doc_Token *tok, const Eolian_Unit *unit, const Eolian_Object **data, const Eolian_Object **data2);
+# EAPI Eolian_Object_Type eolian_doc_token_ref_resolve(const Eolian_Doc_Token *tok, const Eolian_State *state, const Eolian_Object **data, const Eolian_Object **data2);
# lib.eolian_doc_token_ref_resolve.argtypes = (c_void_p, c_void_p, ???, ???)
# lib.eolian_doc_token_ref_resolve.restype = c_int