15 lines
224 B
C
15 lines
224 B
C
#ifndef FZL_VM_EXTERN_H
|
|
#define FZL_VM_EXTERN_H
|
|
|
|
#include <ffi.h>
|
|
|
|
// Loaded extern function definition
|
|
typedef struct
|
|
{
|
|
void *func_ptr;
|
|
ffi_cif cif;
|
|
ffi_type **arg_types;
|
|
} fzl_vm_extern_t;
|
|
|
|
#endif // FZL_VM_EXTERN_H
|