]> git.saurik.com Git - bison.git/commitdiff
(relation_print, relation_digraph):
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 11 Dec 2004 06:12:41 +0000 (06:12 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 11 Dec 2004 06:12:41 +0000 (06:12 +0000)
Relation sizes are of type relation_node, not size_t (this is
merely a doc fix, since the two types are equivalent).
(relation_transpose): Relation sizes are of type relation_node,
not int.

src/relation.h

index 84194971399b8c6477ea2f6330d95d4ed33e1382..5b8a8b2782d2153a7ef57674fda34ac5015ae658 100644 (file)
@@ -35,16 +35,16 @@ typedef relation_nodes *relation;
 
 
 /* Report a relation R that has SIZE vertices.  */
-void relation_print (relation r, size_t size, FILE *out);
+void relation_print (relation r, relation_node size, FILE *out);
 
 /* Compute the transitive closure of the FUNCTION on the relation R
    with SIZE vertices.
 
    If R (NODE-1, NODE-2) then on exit FUNCTION[NODE - 1] was extended
    (unioned) with FUNCTION[NODE - 2].  */
-void relation_digraph (relation r, size_t size, bitsetv *function);
+void relation_digraph (relation r, relation_node size, bitsetv *function);
 
 /* Destructively transpose *R_ARG, of size N.  */
-void relation_transpose (relation *R_arg, int n);
+void relation_transpose (relation *R_arg, relation_node n);
 
 #endif /* ! RELATION_H_ */