diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/generate-binding.lua | 3 |
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 |