From 99672f4c2bdd1cddb4d749f8e82640db69f6ed08 Mon Sep 17 00:00:00 2001 From: sanine Date: Sun, 18 Sep 2022 12:22:09 -0500 Subject: add push_aistring --- src/import/import.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/import/import.c') 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); +} -- cgit v1.2.1