Pyolian: eolian_file_parse -> eolian_state_file_parse

This commit is contained in:
Davide Andreoli 2018-02-27 18:10:29 +01:00
parent 2e43fd3f1c
commit 191ca9096e
2 changed files with 4 additions and 4 deletions

View File

@ -443,7 +443,7 @@ class Eolian(Eolian_Unit):
lib.eolian_state_free(self._obj)
def file_parse(self, filepath):
c_unit = lib.eolian_file_parse(self._obj, _str_to_bytes(filepath))
c_unit = lib.eolian_state_file_parse(self._obj, _str_to_bytes(filepath))
return Eolian_Unit(c_unit) if c_unit else None
@property

View File

@ -47,9 +47,9 @@ lib.eolian_state_new.restype = c_void_p
lib.eolian_state_free.argtypes = [c_void_p,]
lib.eolian_state_free.restype = None
# EAPI const Eolian_Unit *eolian_file_parse(Eolian_State *state, const char *filepath);
lib.eolian_file_parse.argtypes = [c_void_p, c_char_p]
lib.eolian_file_parse.restype = c_void_p
# EAPI const Eolian_Unit *eolian_state_file_parse(Eolian_State *state, const char *filepath);
lib.eolian_state_file_parse.argtypes = [c_void_p, c_char_p]
lib.eolian_state_file_parse.restype = c_void_p
# EAPI Eina_Iterator *eolian_state_eo_file_paths_get(const Eolian_State *state);
lib.eolian_state_eo_file_paths_get.argtypes = [c_void_p,]