From 231bab5db23e5be996b3ff0733d3ebd8d1cbbc96 Mon Sep 17 00:00:00 2001 From: sanine Date: Sun, 26 Feb 2023 01:07:37 -0600 Subject: bind engine and sound functions --- util/generate-binding.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util/generate-binding.lua') 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 -- cgit v1.2.1