Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions offload/plugins-nextgen/host/dynamic_ffi/ffi.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@ typedef enum ffi_abi {
#else
#error "Unknown ABI"
#endif
} ffi_abi;

typedef struct {
ffi_abi abi;
unsigned nargs;
ffi_type **arg_types;
ffi_type *rtype;
unsigned bytes;
unsigned flags;
long long extra_fields; // Longest extra field defined in the FFI sources
} ffi_cif;

#ifdef __cplusplus
Expand Down