removed nasty debug output
This commit is contained in:
parent
6b38859eab
commit
ad0859a2b7
1 changed files with 5 additions and 5 deletions
|
|
@ -753,14 +753,14 @@ proc writeObj(info: GIObjectInfo) =
|
||||||
output.writeLine("proc toggleNotify*(data: pointer; obj: ptr Object00; isLastRef: gboolean) {.cdecl.} =")
|
output.writeLine("proc toggleNotify*(data: pointer; obj: ptr Object00; isLastRef: gboolean) {.cdecl.} =")
|
||||||
output.writeLine(" if isLastRef.int == 0:")
|
output.writeLine(" if isLastRef.int == 0:")
|
||||||
output.writeLine(" GC_ref(cast[RootRef](data))")
|
output.writeLine(" GC_ref(cast[RootRef](data))")
|
||||||
output.writeLine(" echo \"GC_ref(cast[RootRef](data)\"")
|
###output.writeLine(" echo \"GC_ref(cast[RootRef](data)\"")
|
||||||
output.writeLine(" else:")
|
output.writeLine(" else:")
|
||||||
output.writeLine(" GC_unref(cast[RootRef](data))")
|
output.writeLine(" GC_unref(cast[RootRef](data))")
|
||||||
output.writeLine(" echo \"GC_unref(cast[RootRef](data)\"")
|
###output.writeLine(" echo \"GC_unref(cast[RootRef](data)\"")
|
||||||
output.writeLine(" echo \"toggleNotify\"")
|
###output.writeLine(" echo \"toggleNotify\"")
|
||||||
output.writeLine(" echo obj.ref_count")
|
###output.writeLine(" echo obj.ref_count")
|
||||||
methodBuffer.writeLine("\nproc finalizeGObject*[T](o: T) =")
|
methodBuffer.writeLine("\nproc finalizeGObject*[T](o: T) =")
|
||||||
methodBuffer.writeLine(" echo(\"finalizeGObject\")")
|
###methodBuffer.writeLine(" echo(\"finalizeGObject\")")
|
||||||
methodBuffer.writeLine(" g_object_remove_toggle_ref(o.impl, toggleNotify, addr(o[]))")
|
methodBuffer.writeLine(" g_object_remove_toggle_ref(o.impl, toggleNotify, addr(o[]))")
|
||||||
|
|
||||||
let numsig = info.gObjectInfoGetNSignals
|
let numsig = info.gObjectInfoGetNSignals
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue