`port` struct are now C99 `bool`s instead of Graphviz-specific `boolean`s.
- **Breaking**: The `set` and `html` fields of the `textlabel_t` struct are now
C99 `bool`s instead of Graphviz-specific `boolean`s.
+- **Breaking**: The `usershape` field of the `shape_desc` struct is now a C99
+ `bool` instead of a Graphviz-specific `boolean`.
- **Breaking**: Graphviz headers no longer define the constant `MAXSHORT`. A
drop-in replacement is `SHRT_MAX` in the C standard library’s limits.h.
- **Breaking**: Graphviz headers no lnger define `NIL` macros. A drop-in
if (Lib == NULL && !streq(name, "custom")) {
agerr(AGWARN, "using %s for unknown shape %s\n", Shapes[0].name,
p->name);
- p->usershape = FALSE;
+ p->usershape = false;
} else {
- p->usershape = TRUE;
+ p->usershape = true;
}
return p;
}
char *name; /* as read from graph file */
shape_functions *fns;
polygon_t *polygon; /* base polygon info */
- boolean usershape;
+ bool usershape;
} shape_desc;
#include "usershape.h" /* usershapes needed by gvc */