Merge pull request #10 from jyapayne/patch-1
Update libffi to work with latest version
This commit is contained in:
commit
bb2bdaf1a2
1 changed files with 2 additions and 2 deletions
|
|
@ -80,7 +80,7 @@ type
|
||||||
size*: int
|
size*: int
|
||||||
alignment*: uint16
|
alignment*: uint16
|
||||||
typ*: uint16
|
typ*: uint16
|
||||||
elements*: ptr ptr Type
|
elements*: ptr UncheckedArray[ptr Type]
|
||||||
{.deprecated: [TType: Type].}
|
{.deprecated: [TType: Type].}
|
||||||
|
|
||||||
var
|
var
|
||||||
|
|
@ -96,7 +96,7 @@ var
|
||||||
type_float* {.importc: "ffi_type_float", mylib.}: Type
|
type_float* {.importc: "ffi_type_float", mylib.}: Type
|
||||||
type_double* {.importc: "ffi_type_double", mylib.}: Type
|
type_double* {.importc: "ffi_type_double", mylib.}: Type
|
||||||
type_pointer* {.importc: "ffi_type_pointer", mylib.}: Type
|
type_pointer* {.importc: "ffi_type_pointer", mylib.}: Type
|
||||||
type_longdouble* {.importc: "ffi_type_longdouble", mylib.}: Type
|
type_longdouble* {.importc: "ffi_type_double", mylib.}: Type
|
||||||
|
|
||||||
type
|
type
|
||||||
Status* {.size: sizeof(cint).} = enum
|
Status* {.size: sizeof(cint).} = enum
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue