symbol to be set to ensure correct linking.
- **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
+ replacement is `NULL` in the C standard library’s stddef.h.
- **Breaking**: Graphviz headers no longer define the `NOT` macro. A drop-in
replacement is the C/C++ operator `!`.
- **Breaking**: Graphviz headers no longer (re-)define the C constants `INT_MIN`
#include <cdt.h>
/* short-hand notations */
-#define NIL(t) ((t)0)
#define uint unsigned int
#define left hl._left
#define hash hl._hash
#ifndef TRUE
#define TRUE (!FALSE)
#endif
-#ifndef NIL
-#define NIL(type) ((type)0)
-#endif
-#define NILgraph NIL(Agraph_t*)
-#define NILnode NIL(Agnode_t*)
-#define NILedge NIL(Agedge_t*)
-#define NILsym NIL(Agsym_t*)
typedef uint64_t IDTYPE;
#define NOTUSED(var) (void) var
#endif
-#ifndef NIL
-#define NIL(type) ((type)0)
-#endif
-
#ifdef __cplusplus
}
#endif
#define NOTUSED(var) (void) var
#endif
-#ifndef NIL
-#define NIL(type) ((type)0)
-#endif
-
#define isPinned(n) (ND_pinned(n) == P_PIN)
#define hasPos(n) (ND_pinned(n) > 0)
#define isFixed(n) (ND_pinned(n) > P_SET)
typedef COORD **array2;
#define EQ(p,q) ((p.x == q.x) && (p.y == q.y))
-#define NIL(p) ((p)0)
struct vconfig_s {
int Npoly;
#define SF_LOCAL 00100000u /* sentinel for a local call */
/* short-hands */
-#define NIL(t) ((t)0)
#ifndef uchar
#define uchar unsigned char
#endif
#define MAXINTS 10000 /* modify this line to reflect the max no. of
intersections you want reported -- 50000 seems to break the program */
-#define NIL 0
-
#define SLOPE(p,q) ( ( ( p.y ) - ( q.y ) ) / ( ( p.x ) - ( q.x ) ) )
#define MAX(a,b) ( ( a ) > ( b ) ? ( a ) : ( b ) )