From ad0859a2b706baac9ed1446a5780009faec102fc Mon Sep 17 00:00:00 2001 From: Stefan Salewski Date: Sun, 16 Jul 2017 15:57:24 +0200 Subject: [PATCH] removed nasty debug output --- tests/gen.nim | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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