mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-08-29 06:28:22 +00:00
Co-authored-by: Gustavo Maciel <gus@tavomaciel>
This commit is contained in:
@@ -75,6 +75,8 @@ local function convert_type_0(arg)
|
||||
return arg.ctype:gsub("float", "f32")
|
||||
elseif arg.ctype == "const char*" then
|
||||
return "[*c]const u8"
|
||||
elseif arg.ctype == "const uint8_t*" then
|
||||
return "[*c]const u8"
|
||||
elseif hasPrefix(arg.ctype, "char") then
|
||||
return arg.ctype:gsub("char", "u8")
|
||||
elseif hasSuffix(arg.fulltype, "Handle") then
|
||||
|
||||
Reference in New Issue
Block a user