summaryrefslogtreecommitdiff
path: root/src/lib/eolian/eolian_database.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eolian/eolian_database.c')
-rw-r--r--src/lib/eolian/eolian_database.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/eolian/eolian_database.c b/src/lib/eolian/eolian_database.c
index 0fb5a134f6..40b0ca156f 100644
--- a/src/lib/eolian/eolian_database.c
+++ b/src/lib/eolian/eolian_database.c
@@ -1303,6 +1303,13 @@ eolian_unit_file_path_get(const Eolian_Unit *unit)
1303 : unit->state->filenames_eot, unit->file); 1303 : unit->state->filenames_eot, unit->file);
1304} 1304}
1305 1305
1306EAPI unsigned short
1307eolian_unit_version_get(const Eolian_Unit *unit)
1308{
1309 if (!unit) return 0;
1310 return unit->version;
1311}
1312
1306EAPI const Eolian_Object * 1313EAPI const Eolian_Object *
1307eolian_unit_object_by_name_get(const Eolian_Unit *unit, const char *name) 1314eolian_unit_object_by_name_get(const Eolian_Unit *unit, const char *name)
1308{ 1315{