Remove gcsafe annotations

This commit is contained in:
Emery Hemingway 2024-03-12 12:25:31 +00:00
parent 2825bceecf
commit 375cc992fd
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Package
version = "20240208"
version = "20240312"
author = "Emery Hemingway"
description = "data model and serialization format"
license = "Unlicense"

View File

@ -551,7 +551,7 @@ proc fromAtom*[T](v: var T; a: ATom): bool =
elif T is distinct:
result = fromAtom(v.distinctBase, a)
proc fromPreserves*[T](v: var T; pr: Value): bool {.gcsafe.} =
proc fromPreserves*[T](v: var T; pr: Value): bool =
## Inplace version of `preservesTo`. Returns ``true`` on
## a complete match, otherwise returns ``false``.
## Can be customized with `fromPreservesHook(x: T; var pr: Value): bool`.
@ -878,7 +878,7 @@ proc apply*(result: var Value; op: proc(_: var Value) {.gcsafe.}) {.gcsafe.} =
recurse(e.val)
cannonicalize(result)
proc mapEmbeds*(pr: sink Value; op: proc (x: Value): Value {.gcsafe.}): Value {.gcsafe.} =
proc mapEmbeds*(pr: sink Value; op: proc (x: Value): Value): Value =
## Process all embeds in a `Value`.
case pr.kind
of pkBoolean, pkFloat, pkRegister, pkBigInt,