X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Flibffi.c;h=776e98c143d0fb309c20aa3b096aa60a6a3d49a6;hp=8d41b7a192fa24287bffa03c522821d87bfea015;hb=81b71a515e2024cee739deb6e207eb3b0e7c5d64;hpb=b1720af16e5d7765e2effcd16e23f351c2f82e54 diff --git a/src/libffi.c b/src/libffi.c index 8d41b7a..776e98c 100644 --- a/src/libffi.c +++ b/src/libffi.c @@ -91,6 +91,8 @@ static inline ffi_type *psi_ffi_token_type(token_t t) { return &ffi_type_float; case PSI_T_DOUBLE: return &ffi_type_double; + case PSI_T_POINTER: + return &ffi_type_pointer; } } static inline ffi_type *psi_ffi_impl_type(token_t impl_type) {