mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
14 lines
277 B
C
14 lines
277 B
C
#pragma once
|
|
|
|
#include "toy_common.h"
|
|
#include "toy_ast.h"
|
|
|
|
typedef struct Toy_Bytecode {
|
|
unsigned char* ptr;
|
|
unsigned int capacity;
|
|
unsigned int count;
|
|
} Toy_Bytecode;
|
|
|
|
TOY_API Toy_Bytecode Toy_compileBytecode(Toy_Ast* ast);
|
|
TOY_API void Toy_freeBytecode(Toy_Bytecode bc);
|