jackc/vm/vm-translator.h

21 lines
373 B
C
Raw Normal View History

2021-01-04 15:00:48 -05:00
#ifndef VM_TRANSLATOR
#define VM_TRANSLATOR
#include "vm-lines.h"
typedef struct {
char* classname;
int classnamelen;
LINE* start;
LINE* currln;
STRINGLIST* garbage;
int cmpind;
int retind;
} VMTRANSLATOR;
STRINGLIST* translatevm(VMTRANSLATOR* t);
VMTRANSLATOR* mkvmtranslator(char* classname, LINEBLOCK* vmlines);
void freevmtranslator(VMTRANSLATOR* t);
#endif