diff --git a/tests/gen.nim b/tests/gen.nim index cbddc8b..44b49be 100644 --- a/tests/gen.nim +++ b/tests/gen.nim @@ -753,14 +753,14 @@ proc writeObj(info: GIObjectInfo) = output.writeLine("proc toggleNotify*(data: pointer; obj: ptr Object00; isLastRef: gboolean) {.cdecl.} =") output.writeLine(" if isLastRef.int == 0:") 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(" GC_unref(cast[RootRef](data))") - output.writeLine(" echo \"GC_unref(cast[RootRef](data)\"") - output.writeLine(" echo \"toggleNotify\"") - output.writeLine(" echo obj.ref_count") + ###output.writeLine(" echo \"GC_unref(cast[RootRef](data)\"") + ###output.writeLine(" echo \"toggleNotify\"") + ###output.writeLine(" echo obj.ref_count") 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[]))") let numsig = info.gObjectInfoGetNSignals