default nil for objects only for proxy procs necessary
This commit is contained in:
parent
a060d7b206
commit
d2c4e32985
1 changed files with 1 additions and 1 deletions
|
|
@ -429,7 +429,7 @@ proc genP(info: GICallableInfo; genProxy = false; binfo: GIBaseInfo = nil): (str
|
|||
str.add(" = nil")
|
||||
|
||||
# ------------------
|
||||
if isFunctionInfo(info) and (gFunctionInfoGetFlags(info).int and GIFunctionInfoFlags.WRAPS_VFUNC.ord) == 0:
|
||||
if (genProxy or sym == "pango_extents_to_pixels") and isFunctionInfo(info) and (gFunctionInfoGetFlags(info).int and GIFunctionInfoFlags.WRAPS_VFUNC.ord) == 0:
|
||||
if userAlloc and mayBeNil:
|
||||
#str.add(" | ptr " & str & " = nil")
|
||||
var h = str
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue