aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/pyolian
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/pyolian')
-rw-r--r--src/scripts/pyolian/eolian.py2
-rw-r--r--src/scripts/pyolian/eolian_lib.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/scripts/pyolian/eolian.py b/src/scripts/pyolian/eolian.py
index 4ca53e375f..6e338abd0b 100644
--- a/src/scripts/pyolian/eolian.py
+++ b/src/scripts/pyolian/eolian.py
@@ -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
diff --git a/src/scripts/pyolian/eolian_lib.py b/src/scripts/pyolian/eolian_lib.py
index 715e4cf83b..e814cf5e9c 100644
--- a/src/scripts/pyolian/eolian_lib.py
+++ b/src/scripts/pyolian/eolian_lib.py
@@ -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,]