mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
IDL: Updated codegen.
This commit is contained in:
@@ -402,6 +402,7 @@ function codegen.nameconversion(all_types, all_funcs)
|
||||
local classtype = { fulltype = classname .. "*" }
|
||||
convert_arg(all_types, classtype, v)
|
||||
v.this = classtype.ctype
|
||||
v.this_type = classtype
|
||||
v.this_conversion = string.format( "%s This = (%s)_this;", classtype.cpptype, classtype.cpptype)
|
||||
v.this_to_c = string.format("(%s)this", classtype.ctype)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user