summaryrefslogtreecommitdiff
path: root/src/import/import.c
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-09-18 12:22:09 -0500
committersanine <sanine.not@pm.me>2022-09-18 12:22:09 -0500
commit99672f4c2bdd1cddb4d749f8e82640db69f6ed08 (patch)
treeb31d1ab956228a456c750df8b71591126642e3fd /src/import/import.c
parentd444d1c98fdefea6cf0aff50eb9b58d4dbcea6ed (diff)
add push_aistring
Diffstat (limited to 'src/import/import.c')
-rw-r--r--src/import/import.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/import/import.c b/src/import/import.c
index cc22616..cbd8d45 100644
--- a/src/import/import.c
+++ b/src/import/import.c
@@ -12,3 +12,9 @@ void push_vector(lua_State *L, struct aiVector3D vec)
hs_str_num("z", vec.z),
);
}
+
+
+void push_aistring(lua_State *L, struct aiString str)
+{
+ lua_pushstring(L, str.data);
+}