From: Paul Eggert Date: Sat, 11 Dec 2004 06:12:41 +0000 (+0000) Subject: (relation_print, relation_digraph): X-Git-Tag: BISON-2_0~51 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/88636fbd496dd13204395b89ac6d50cf907ff349 (relation_print, relation_digraph): 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. --- diff --git a/src/relation.h b/src/relation.h index 84194971..5b8a8b27 100644 --- a/src/relation.h +++ b/src/relation.h @@ -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_ */