00001
00002
00003 #ifndef __IMAGER_MACRO2_H__
00004 #define __IMAGER_MACRO2_H__
00005
00006
00007
00008
00009 #include "macro.h"
00010
00011
00012
00013 void mac_endmacro (unsigned char* s, int* i);
00014 variable_type mac_callproc (unsigned char* s, int* i);
00015 variable_type mac_forloop (unsigned char* master, int* idx);
00016 variable_type mac_foreach (unsigned char* master, int* idx);
00017 variable_type mac_while (unsigned char* master, int* idx);
00018 variable_type mac_repeat (unsigned char* master, int* idx);
00019 variable_type mac_if (unsigned char* master, int* idx);
00020
00021
00022
00023
00024 variable_type mac_add (variable_type x, variable_type y);
00025 variable_type mac_subtract (variable_type x, variable_type y);
00026 variable_type mac_mult (variable_type x, variable_type y);
00027 variable_type mac_div (variable_type x, variable_type y);
00028 variable_type mac_and (variable_type x, variable_type y);
00029 variable_type mac_or (variable_type x, variable_type y);
00030 variable_type mac_xor (variable_type x, variable_type y);
00031 variable_type mac_equals (variable_type x, variable_type y);
00032 variable_type mac_notequals (variable_type x, variable_type y);
00033 variable_type mac_gt (variable_type x, variable_type y);
00034 variable_type mac_le (variable_type x, variable_type y);
00035 variable_type mac_lt (variable_type x, variable_type y);
00036 variable_type mac_ge (variable_type x, variable_type y);
00037
00038 #endif
00039