spec.h revision 84614dd02411e1cf9a4c37aa421898c471cfad20
1#ifndef SPEC_H 2#define SPEC_H 3 4#if __cplusplus 5extern "C" { 6#endif 7 8extern int num_lines; 9 10typedef struct { 11 int isConst; 12 int type; 13 int bits; 14 int ptrLevel; 15 char name[256]; 16 char typeName[256]; 17} VarType; 18 19extern VarType *currType; 20 21typedef struct { 22 char name[256]; 23 int sync; 24 int paramCount; 25 VarType ret; 26 VarType params[16]; 27} ApiEntry; 28 29extern ApiEntry apis[128]; 30extern int apiCount; 31 32extern int typeNextState; 33 34#if __cplusplus 35} // extern "C" 36#endif 37 38#endif // SPEC_H 39