Merge pull request #10 from jyapayne/patch-1

Update libffi to work with latest version
This commit is contained in:
Andreas Rumpf 2022-08-23 08:06:32 +02:00 • committed by GitHub
commit bb2bdaf1a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,7 +80,7 @@ type
size*: int
alignment*: uint16
typ*: uint16
elements*: ptr ptr Type
elements*: ptr UncheckedArray[ptr Type]
{.deprecated: [TType: Type].}
var
@ -96,7 +96,7 @@ var
type_float* {.importc: "ffi_type_float", mylib.}: Type
type_double* {.importc: "ffi_type_double", 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
Status* {.size: sizeof(cint).} = enum