mirror of
https://github.com/partic2/libffi
synced 2026-11-11 02:27:19 +00:00
Add iOS support
This commit is contained in:
@@ -270,7 +270,12 @@ size_t ffi_java_raw_size (ffi_cif *cif);
|
||||
__declspec(align(8))
|
||||
#endif
|
||||
typedef struct {
|
||||
#if @FFI_EXEC_TRAMPOLINE_TABLE@
|
||||
void *trampoline_table;
|
||||
void *trampoline_table_entry;
|
||||
#else
|
||||
char tramp[FFI_TRAMPOLINE_SIZE];
|
||||
#endif
|
||||
ffi_cif *cif;
|
||||
void (*fun)(ffi_cif*,void*,void**,void*);
|
||||
void *user_data;
|
||||
@@ -297,7 +302,12 @@ ffi_prep_closure_loc (ffi_closure*,
|
||||
void*codeloc);
|
||||
|
||||
typedef struct {
|
||||
#if FFI_EXEC_TRAMPOLINE_TABLE
|
||||
void *trampoline_table;
|
||||
void *trampoline_table_entry;
|
||||
#else
|
||||
char tramp[FFI_TRAMPOLINE_SIZE];
|
||||
#endif
|
||||
|
||||
ffi_cif *cif;
|
||||
|
||||
@@ -318,7 +328,12 @@ typedef struct {
|
||||
} ffi_raw_closure;
|
||||
|
||||
typedef struct {
|
||||
#if FFI_EXEC_TRAMPOLINE_TABLE
|
||||
void *trampoline_table;
|
||||
void *trampoline_table_entry;
|
||||
#else
|
||||
char tramp[FFI_TRAMPOLINE_SIZE];
|
||||
#endif
|
||||
|
||||
ffi_cif *cif;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user