]> granicus.if.org Git - graphviz/commitdiff
Re-do some .h files to limit exposure of internal values, .h files,
authorerg <devnull@localhost>
Thu, 7 Dec 2006 22:49:35 +0000 (22:49 +0000)
committererg <devnull@localhost>
Thu, 7 Dec 2006 22:49:35 +0000 (22:49 +0000)
and dependencies on config.h; return to a simple, concrete boolean type

lib/common/htmltable.c
lib/common/input.c

index bf9ecbdc917c27df80fe2242cb296c896272eb81..eb43317379ce3a1b6788a3036015c3f0eb4a8de3 100644 (file)
@@ -339,7 +339,7 @@ emit_html_img(GVJ_t * job, htmlimg_t * cp, htmlenv_t * env)
     A[3].x = A[0].x;
     A[3].y = A[2].y;
 
-    gvrender_usershape(job, cp->src, A, 4, true);
+    gvrender_usershape(job, cp->src, A, 4, TRUE);
 }
 
 static void
index 9ed8564b832ad847dede7b2a9ba3efe2ccc8ceca..cf66837d172a5a68dd37f5dc0604dfb540e640a6 100644 (file)
@@ -343,13 +343,13 @@ void global_def(char *dcl,
  * converts a graph attribute to a point.
  * Returns true if the attribute ends in '!'.
  */
-static bool getdoubles2pt(graph_t * g, char *name, point * result)
+static boolean getdoubles2pt(graph_t * g, char *name, point * result)
 {
     char *p;
     int i;
     double xf, yf;
     char c = '\0';
-    bool rv = FALSE;
+    boolean rv = FALSE;
 
     if ((p = agget(g, name))) {
        i = sscanf(p, "%lf,%lf%c", &xf, &yf, &c);
@@ -542,7 +542,7 @@ static void setRatio(graph_t * g)
     }
 }
 
-void graph_init(graph_t * g, bool use_rankdir)
+void graph_init(graph_t * g, boolean use_rankdir)
 {
     char *p;
     double xf;