roza/lib/mod.h

19 lines
284 B
C
Raw Normal View History

2023-12-09 17:24:41 +00:00
#ifndef RZ_MOD_H
#define RZ_MOD_H
#include "commons.h"
#include "opcodes.h"
#include "value.h"
2023-12-20 19:54:58 +00:00
#include "program.h"
2023-12-09 17:24:41 +00:00
typedef struct {
2023-12-20 19:54:58 +00:00
program_t program;
2023-12-09 17:24:41 +00:00
} mod_t;
void mod_init(mod_t* mod);
void mod_free(mod_t* mod);
size_t mod_str(mod_t* mod, char* buffer, size_t size);
#endif