quakeforge/ruamoko/include/script.h

16 lines
604 B
C

#ifndef __ruamoko_script_h
#define __ruamoko_script_h
typedef struct rua_script [] script_t;
@extern script_t Script_New (void);
@extern void Script_Delete (script_t script);
// returns the token string
@extern string Script_Start (script_t script, string file, string data);
@extern integer Script_TokenAvailable (script_t script, integer crossline);
@extern integer Script_GetToken (script_t script, integer crossline);
@extern void Script_UngetToken (script_t script);
@extern string Script_Error (script_t script);
@extern integer Script_NoQuoteLines (script_t script);
#endif//__ruamoko_script_h