2004-11-11 04:06:00 +00:00
|
|
|
#ifndef __ruamoko_script_h
|
|
|
|
#define __ruamoko_script_h
|
|
|
|
|
2011-02-07 13:16:16 +00:00
|
|
|
typedef struct rua_script *script_t;
|
2004-11-11 04:06:00 +00:00
|
|
|
|
|
|
|
@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);
|
2011-03-25 07:46:32 +00:00
|
|
|
@extern int Script_TokenAvailable (script_t script, int crossline);
|
|
|
|
@extern int Script_GetToken (script_t script, int crossline);
|
2004-11-11 04:06:00 +00:00
|
|
|
@extern void Script_UngetToken (script_t script);
|
|
|
|
@extern string Script_Error (script_t script);
|
2011-03-25 07:46:32 +00:00
|
|
|
@extern int Script_NoQuoteLines (script_t script);
|
2004-11-11 04:06:00 +00:00
|
|
|
|
|
|
|
#endif//__ruamoko_script_h
|