IDL: Updated codegen.

This commit is contained in:
Бранимир Караџић
2019-07-06 21:35:46 -07:00
parent ceba5d8b24
commit cc24c4e998
2 changed files with 6 additions and 23 deletions

View File

@@ -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