callable and func_ptr typedef fixes
[m6w6/ext-psi] / src / libffi.c
index 301995e5903d9bc377c3d2630f1be48fed9e0513..be9edfd26ec1cb4a5df3a7210fc3a5b94f482907 100644 (file)
@@ -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;
        }
 }