From 540d04c75450c750cbb57f3155b0ed760867b646 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Wed, 8 Jan 2025 21:17:31 +0800 Subject: [PATCH] adds `nodecl` to imported types (#166) --- stint/private/datatypes.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stint/private/datatypes.nim b/stint/private/datatypes.nim index d8d3f6c..8fd5e98 100644 --- a/stint/private/datatypes.nim +++ b/stint/private/datatypes.nim @@ -52,7 +52,7 @@ const X86* = defined(amd64) or defined(i386) when sizeof(int) == 8 and GCC_Compatible: type - uint128*{.importc: "unsigned __int128".} = object + uint128* {.importc: "unsigned __int128", nodecl.} = object hi, lo: uint64 # Accessors