diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2020-05-19 21:42:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-19 21:42:53 +0200 |
commit | b35d370d885b07d3f4eca527197f42f532bdcf64 (patch) | |
tree | ac2de2a7fbe3e3646ef4e3063da4675473e233e1 /lib | |
parent | e909486e5cde5a4a77cd6f21b42fc9ab38ec2ae6 (diff) | |
download | Nim-b35d370d885b07d3f4eca527197f42f532bdcf64.tar.gz |
specialize genericReset (#14398)
* progress * make tests green * maybe we also want to reset pointers, dunno * progress * cleanup; fixes #13879 [backport:1.2]
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system/gc_ms.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/gc_ms.nim b/lib/system/gc_ms.nim index 0b9745f1e..6683b9e34 100644 --- a/lib/system/gc_ms.nim +++ b/lib/system/gc_ms.nim @@ -104,7 +104,7 @@ proc extGetCellType(c: pointer): PNimType {.compilerproc.} = # used for code generation concerning debugging result = usrToCell(c).typ -proc unsureAsgnRef(dest: PPointer, src: pointer) {.inline.} = +proc unsureAsgnRef(dest: PPointer, src: pointer) {.inline, compilerproc.} = dest[] = src proc internRefcount(p: pointer): int {.exportc: "getRefcount".} = |