From 695ca9eb05e8713f35f8fc996657959b8b107d95 Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Thu, 11 Nov 2021 21:38:44 -0600 Subject: [PATCH] mark blend proc types gcsafe --- src/pixie/blends.nim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pixie/blends.nim b/src/pixie/blends.nim index fac4e03..94fdaf4 100644 --- a/src/pixie/blends.nim +++ b/src/pixie/blends.nim @@ -34,9 +34,9 @@ type bmSubtractMask ## Inverse mask bmExcludeMask - Blender* = proc(backdrop, source: ColorRGBX): ColorRGBX {.raises: [].} + Blender* = proc(backdrop, source: ColorRGBX): ColorRGBX {.gcsafe, raises: [].} ## Function signature returned by blender. - Masker* = proc(backdrop, source: uint8): uint8 {.raises: [].} + Masker* = proc(backdrop, source: uint8): uint8 {.gcsafe, raises: [].} ## Function signature returned by masker. when defined(release): @@ -507,9 +507,9 @@ when defined(amd64) and not defined(pixieNoSimd): import nimsimd/sse2 type - BlenderSimd* = proc(blackdrop, source: M128i): M128i {.raises: [].} + BlenderSimd* = proc(blackdrop, source: M128i): M128i {.gcsafe, raises: [].} ## Function signature returned by blenderSimd. - MaskerSimd* = proc(blackdrop, source: M128i): M128i {.raises: [].} + MaskerSimd* = proc(blackdrop, source: M128i): M128i {.gcsafe, raises: [].} ## Function signature returned by maskerSimd. proc blendNormalSimd(backdrop, source: M128i): M128i =