Peter Cooper
/
Dome
Geodesic Light Dome Controller Program
Diff: scripting.h
- Revision:
- 0:a7af7ec8b12f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripting.h Fri Mar 19 11:17:54 2010 +0000 @@ -0,0 +1,17 @@ +void clear_var(void); +void set_var(int c, char **a); +void sum_var(int c, char **a); +void point_var(int c, char **a); +void tst_var(int c, char **a); +void clr_var(int c, char **a); +void var_exec_error(int state); +int return_jmp(char *str); + + +#define VAR_EXEC_ERROR 0x0001 /* Function called out side of an exec call */ +#define VAR_SET_CNT_ERROR 0x0002 /* Set Var call, wrong number of arguments */ +#define VAR_SUM_TYPE_ERROR 0x0004 /* Unknown type in sum call */ +#define VAR_SUM_CNT_ERROR 0x0008 /* SuM var call, wrong number of arguments */ +#define VAR_TST_CNT_ERROR 0x0010 /* Tst var call, wrong number of arguments */ +#define VAR_INDENT_ERROR 0x0020 /* No point to jump back to */ +#define VAR_TST_TYPE_ERROR 0x0040 /* Unknown type in test call */ \ No newline at end of file