From b35d370d885b07d3f4eca527197f42f532bdcf64 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Tue, 19 May 2020 21:42:53 +0200 Subject: specialize genericReset (#14398) * progress * make tests green * maybe we also want to reset pointers, dunno * progress * cleanup; fixes #13879 [backport:1.2] --- lib/system/gc_ms.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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".} = -- cgit 1.4.1-2-gfad0