refactor a couple things
This commit is contained in:
@@ -1,16 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "../instruction.h"
|
||||
|
||||
typedef struct {
|
||||
Instruction* at;
|
||||
size_t len;
|
||||
size_t capacity;
|
||||
} Program;
|
||||
|
||||
Program newProgram(void);
|
||||
void addInstructionToProgram(Program* program, Instruction inst);
|
||||
void freeProgram(Program* program);
|
||||
#include "program.h"
|
||||
|
||||
Program createProgramFromText(const char* input);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user