#include <cgraph/agxbuf.h>
#include <gvc/gvc.h>
#include <stdarg.h>
+#include <stdbool.h>
#include <string.h>
#define YDIR(y) (Y_invert ? (Y_off - (y)) : (y))
/* _write_plain:
*/
-void write_plain(GVJ_t * job, graph_t * g, FILE * f, boolean extend)
-{
+void write_plain(GVJ_t *job, graph_t *g, FILE *f, bool extend) {
int i, j, splinePoints;
char *tport, *hport;
node_t *n;
int (*cb)(void *state, const char *s),
void *state);
- UTILS_API void write_plain(GVJ_t * job, graph_t * g, FILE * f, boolean extend);
+ UTILS_API void write_plain(GVJ_t *job, graph_t *g, FILE *f, bool extend);
UTILS_API double yDir (double y);
UTILS_API char *ps_string(char *s, int);
UTILS_API char *strdup_and_subst_obj(char *str, void *obj);
#include <limits.h>
#include <stdarg.h>
+#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
g->clos->disc.io = &io;
switch (job->render.id) {
case FORMAT_PLAIN:
- write_plain(job, g, (FILE*)job, FALSE);
+ write_plain(job, g, (FILE*)job, false);
break;
case FORMAT_PLAIN_EXT:
- write_plain(job, g, (FILE*)job, TRUE);
+ write_plain(job, g, (FILE*)job, true);
break;
case FORMAT_DOT:
case FORMAT_CANON: