mirror of
https://github.com/status-im/nimPNG.git
synced 2025-02-16 22:46:35 +00:00
writeChunk -> gcsafe
This commit is contained in:
parent
3ff7bdd381
commit
a8202352a8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user