mirror of
https://github.com/partic2/libffi
synced 2026-11-10 18:17:19 +00:00
add support for go closure support on mips
This commit is contained in:
@@ -231,10 +231,12 @@ typedef enum ffi_abi {
|
||||
|
||||
#if defined(FFI_MIPS_O32)
|
||||
#define FFI_CLOSURES 1
|
||||
#define FFI_GO_CLOSURES 1
|
||||
#define FFI_TRAMPOLINE_SIZE 20
|
||||
#else
|
||||
/* N32/N64. */
|
||||
# define FFI_CLOSURES 1
|
||||
#define FFI_GO_CLOSURES 1
|
||||
#if _MIPS_SIM==_ABI64
|
||||
#define FFI_TRAMPOLINE_SIZE 52
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user