From a8202352a89d650bdabb87e4f81ffc4b87cadeb0 Mon Sep 17 00:00:00 2001 From: Yuriy Glukhov Date: Thu, 13 Jul 2017 00:48:10 +0300 Subject: [PATCH] writeChunk -> gcsafe --- nimPNG.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimPNG.nim b/nimPNG.nim index 2cdc442..996c858 100644 --- a/nimPNG.nim +++ b/nimPNG.nim @@ -2001,7 +2001,7 @@ proc writeInt32BE(s: Stream, value: int) = bigEndian32(addr(tmp), addr(val)) s.write(tmp) -method writeChunk(chunk: PNGChunk, png: PNG): bool {.base.} = true +method writeChunk(chunk: PNGChunk, png: PNG): bool {.base, gcsafe.} = true method writeChunk(chunk: PNGHeader, png: PNG): bool = #estimate 13 bytes