#include <ctype.h>
#include "render.h"
+#include "logic.h"
#include "htmltable.h"
static char *usageFmt =
#include <stdbool.h>
#endif
+#ifndef NOT
#define NOT(v) (!(v))
+#endif
+#if 0
/* HAVE_BOOL only tested the CC compiler, we know C++ must define bool */
#if ! defined HAVE_BOOL && ! defined __cplusplus
typedef unsigned char bool;
#define false 0
#define true NOT(false)
#endif
+#endif
#ifndef FALSE
#define FALSE false
#define NIL(type) ((type)0)
#endif
+ extern unsigned char mapbool(char *);
#ifdef __cplusplus
}
#endif
**********************************************************/
#include "render.h"
+#include "logic.h"
#include "htmltable.h"
#include <limits.h>
#include "htmltable.h"
#include "entities.h"
#include "ps.h"
+#include "logic.h"
#ifndef WIN32
#include <unistd.h>
return val[i];
}
-boolean mapbool(char *p)
+unsigned char mapbool(char *p)
{
if (p == NULL)
return FALSE;
extern void cat_libfile(FILE *of, char **arglib, char **stdlib);
extern void cat_preamble(GVJ_t *job, char **arglib);
- extern boolean mapbool(char *);
extern int maptoken(char *, char **, int *);
extern int test_toggle(void);
#include <zlib.h>
#endif
-#include "logic.h"
#include "const.h"
#include "gvplugin_device.h"
#include "gvcjob.h"
#include "gvcint.h"
#include "gvcproc.h"
+#include "logic.h"
static const int PAGE_ALIGN = 4095; /* align to a 4K boundary (less one), typical for Linux, Mac OS X and Windows memory allocation */