wip: begin dynamic library loading dev
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user