Peter Cooper
/
diags
test code for our MBED board
scripting.h
- Committer:
- lolpcc
- Date:
- 2011-05-04
- Revision:
- 1:6877bb99aa17
File content as of revision 1:6877bb99aa17:
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 */