X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Flibffi.c;h=be9edfd26ec1cb4a5df3a7210fc3a5b94f482907;hp=301995e5903d9bc377c3d2630f1be48fed9e0513;hb=b6a04e85779e14399f03e91939b8cb47eb330ef7;hpb=f4874db385a345217df8d1d31f55ab2f2b36dac3 diff --git a/src/libffi.c b/src/libffi.c index 301995e..be9edfd 100644 --- a/src/libffi.c +++ b/src/libffi.c @@ -101,6 +101,7 @@ static inline ffi_type *psi_ffi_token_type(token_t t) { return &ffi_type_longdouble; #endif case PSI_T_POINTER: + case PSI_T_FUNCTION: return &ffi_type_pointer; } }