Peter Cooper / Mbed 2 deprecated Dome

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers scripting.h Source File

scripting.h

00001 void clear_var(void);
00002 void set_var(int c, char **a);
00003 void sum_var(int c, char **a);
00004 void point_var(int c, char **a);
00005 void tst_var(int c, char **a);
00006 void clr_var(int c, char **a);
00007 void var_exec_error(int state);
00008 int return_jmp(char *str);
00009 
00010 
00011 #define     VAR_EXEC_ERROR      0x0001      /* Function called out side of an exec call */
00012 #define     VAR_SET_CNT_ERROR   0x0002      /* Set Var call, wrong number of arguments */
00013 #define     VAR_SUM_TYPE_ERROR  0x0004      /* Unknown type in sum call */
00014 #define     VAR_SUM_CNT_ERROR   0x0008      /* SuM var call, wrong number of arguments */
00015 #define     VAR_TST_CNT_ERROR   0x0010      /* Tst var call, wrong number of arguments */
00016 #define     VAR_INDENT_ERROR    0x0020      /* No point to jump back to */
00017 #define     VAR_TST_TYPE_ERROR  0x0040      /* Unknown type in test call */