From 9db3d07b9620b4269ab33f78604a36327e536ce1 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Queru Date: Thu, 12 Nov 2009 18:45:53 -0800 Subject: eclair snapshot --- libs/rs/spec.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 libs/rs/spec.h (limited to 'libs/rs/spec.h') diff --git a/libs/rs/spec.h b/libs/rs/spec.h new file mode 100644 index 000000000000..82650a7ccaf1 --- /dev/null +++ b/libs/rs/spec.h @@ -0,0 +1,43 @@ +#ifndef SPEC_H +#define SPEC_H + +#include +#include + +#if __cplusplus +extern "C" { +#endif + +extern int num_lines; + +typedef struct { + int isConst; + int type; + int bits; + int ptrLevel; + char name[256]; + char typeName[256]; +} VarType; + +extern VarType *currType; + +typedef struct { + char name[256]; + int sync; + int handcodeApi; + int handcodePlay; + int paramCount; + VarType ret; + VarType params[16]; +} ApiEntry; + +extern ApiEntry apis[128]; +extern int apiCount; + +extern int typeNextState; + +#if __cplusplus +} // extern "C" +#endif + +#endif // SPEC_H -- cgit v1.2.3-59-g8ed1b