summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-02-26 01:07:37 -0600
committersanine <sanine.not@pm.me>2023-02-26 01:07:37 -0600
commit231bab5db23e5be996b3ff0733d3ebd8d1cbbc96 (patch)
treefc19b5e17ca8f90887ff147cacfea00740da5646 /util
parent4f0e0988eb457654f70cc2e96faca22db56234f3 (diff)
bind engine and sound functions
Diffstat (limited to 'util')
-rw-r--r--util/generate-binding.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/generate-binding.lua b/util/generate-binding.lua
index 7fa6dbe..86a1b62 100644
--- a/util/generate-binding.lua
+++ b/util/generate-binding.lua
@@ -74,6 +74,9 @@ function GetLuaType(ctype)
elseif string.match(ctype, "char$") then return "integer"
elseif string.match(ctype, "int$") then return "integer"
elseif string.match(ctype, "long$") then return "integer"
+ elseif string.match(ctype, "ma_result$") then return "integer"
+ elseif string.match(ctype, "int32$") then return "integer"
+ elseif string.match(ctype, "int64$") then return "integer"
-- void
elseif string.match(ctype, "void$") then return "void"
-- unknown