1
0
Fork 0
undar-lang-register/src/vm.h

14 lines
281 B
C

#ifndef ZRL_VM_H
#define ZRL_VM_H
#include "opcodes.h"
VM* init_vm();
bool step_vm(VM *vm);
uint32_t str_alloc(VM *vm, const char *str, uint32_t length);
uint32_t real_alloc(VM *vm, float v);
uint32_t nat_alloc(VM *vm, uint32_t v);
uint32_t int_alloc(VM *vm, int32_t v);
#endif