tizen 2.3.1 release
[framework/uifw/embryo.git] / src / bin / embryo_cc_sc.h
index e72e1bc..9eaf6b8 100644 (file)
@@ -40,6 +40,7 @@
 # include <stdint.h>
 #else
 # include <stddef.h>
+# include <Evil.h>
 #endif
 
 #include "embryo_cc_amx.h"
@@ -53,7 +54,7 @@
 
 #define sDIMEN_MAX     2       /* maximum number of array dimensions */
 #define sDEF_LITMAX  500       /* initial size of the literal pool, in "cells" */
-#define sLINEMAX     65535     /* input line length (in characters) */
+#define sLINEMAX (640 * 1024)  /* input line length (in characters) */
 #define sDEF_AMXSTACK 4096     /* default stack size for AMX files */
 #define sSTKMAX       80       /* stack for nested #includes and other uses */
 #define PREPROC_TERM  '\x7f'   /* termination character for preprocessor expressions (the "DEL" code) */
@@ -663,4 +664,10 @@ extern FILE      *outf;    /* file written to */
 
 extern jmp_buf    errbuf;      /* target of longjmp() on a fatal error */
 
+#define sc_isspace(x)  isspace ((int)((unsigned char)x))
+#define sc_isalpha(x)  isalpha ((int)((unsigned char)x))
+#define sc_isdigit(x)  isdigit ((int)((unsigned char)x))
+#define sc_isupper(x)  isupper ((int)((unsigned char)x))
+#define sc_isxdigit(x) isxdigit((int)((unsigned char)x))
+
 #endif