Open mratsim opened 6 years ago
type int128*{.importc: "__int128", size: 16.} = object
Error: power of two expected
The error seems to come from: https://github.com/nim-lang/Nim/blob/33b69f0ed0272a4792322d9a0fbaffd5bef2f6e9/compiler/pragmas.nim#L746
.size was only designed for enums, we need to see if it works for other imported types.
.size
Error: power of two expected
The error seems to come from: https://github.com/nim-lang/Nim/blob/33b69f0ed0272a4792322d9a0fbaffd5bef2f6e9/compiler/pragmas.nim#L746