Go to the documentation of this file.
60 #define MaxTextExtent 4096
63 #define MagickBooleanType int
65 #define AcquireMagickMemory(s) malloc(s)
66 #define RelinquishMagickMemory(p) (free(p),NULL)
67 #define ResizeMagickMemory(p,s) realloc(p,s)
68 #define ResetMagickMemory(p,b,s) memset(p,b,s)
69 #define StringToLong(s) strtol(s,(char **) NULL,10)
70 #define LocaleCompare(p,q) strcasecmp(p,q)
71 #define LocaleNCompare(p,q,l) strncasecmp(p,q,l)
72 #define WandSignature 0xabacadabUL
76 #define SCRIPT_TOKEN_TESTING 1
82 int main(
int argc,
char *argv[])
89 printf(
"Script Open Failure : %s\n", strerror(errno));
103 printf(
"l=%d, c=%d, stat=%d, len=%d, token=\"%s\"\n",
108 switch( token_info->
status ) {
112 printf(
"EOF Found\n");
122 printf(
"Bad Quotes l=%d, c=%d token=\"%s\"\n",
126 printf(
"Out of Memory l=%d, c=%d\n",
130 printf(
"Binary Char at l=%d, c=%d\n",