wip: working on externs loading
- WIP: add extern objects initializing/freeing functions - Feat: add extern objects loading in VM initializer
This commit is contained in:
@@ -5,12 +5,14 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <vm/fzl_vm_env.h>
|
||||
#include <vm/fzl_vm_extern.h>
|
||||
#include <vm/fzl_vm_reader.h>
|
||||
|
||||
// VM descriptor
|
||||
typedef struct
|
||||
{
|
||||
fzl_vm_reader_t *reader;
|
||||
fzl_vm_extern_t *prep_fns;
|
||||
|
||||
size_t ip;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user