fix type declaration for nim devel
This commit is contained in:
parent
aa99cb0d75
commit
867677b239
|
@ -0,0 +1 @@
|
||||||
|
switch("warning", "BareExcept:off")
|
|
@ -11,10 +11,10 @@ when defined(windows):
|
||||||
const TTMATH_HEADER = ttmathPath & DirSep & "headers" & DirSep & "ttmath.h"
|
const TTMATH_HEADER = ttmathPath & DirSep & "headers" & DirSep & "ttmath.h"
|
||||||
|
|
||||||
type
|
type
|
||||||
UInt* {.importcpp: "ttmath::UInt<'0 / 8 / sizeof(ttmath::uint)>", header: TTMATH_HEADER.} [NumBits: static[int]] = object
|
UInt*[NumBits: static[int]] {.importcpp: "ttmath::UInt<'0 / 8 / sizeof(ttmath::uint)>", header: TTMATH_HEADER.} = object
|
||||||
table*: array[NumBits div 8 div sizeof(uint), uint] # TODO: This should likely be private, but it's used in nimbus...
|
table*: array[NumBits div 8 div sizeof(uint), uint] # TODO: This should likely be private, but it's used in nimbus...
|
||||||
|
|
||||||
Int* {.importcpp: "ttmath::Int<'0 / 8 / sizeof(ttmath::uint)>", header: TTMATH_HEADER.} [NumBits: static[int]] = object
|
Int*[NumBits: static[int]] {.importcpp: "ttmath::Int<'0 / 8 / sizeof(ttmath::uint)>", header: TTMATH_HEADER.} = object
|
||||||
|
|
||||||
Int256* = Int[256]
|
Int256* = Int[256]
|
||||||
Int512* = Int[512]
|
Int512* = Int[512]
|
||||||
|
|
Loading…
Reference in New Issue