9037d137f5
This uncovers a problem in il/il_aux.c: it passes 3 arguments to getlines(), but the function expects 4 arguments. I add FALSE as the 4th argument. TRUE would fill in the list of mesregs. IL uses mesregs during phase 1, but this call to getlines() is in phase 2. TRUE would leak memory unless I added a call to Ldeleteset(mesregs). So I pass FALSE. Functions passed to go() now have a `void *` parameter because no_action() now takes a `void *`.
27 lines
677 B
C
27 lines
677 B
C
/* $Id$ */
|
|
/*
|
|
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
|
*/
|
|
/* O P E R A T I O N S F O R
|
|
* C O M P A C T S E T S
|
|
*/
|
|
|
|
|
|
cset Cempty_set(short);
|
|
bool Cis_elem(Celem_t, cset);
|
|
void Cadd(Celem_t, cset *);
|
|
void Cremove(Celem_t, cset *);
|
|
Cindex Cfirst(cset);
|
|
Cindex Cnext(Cindex, cset);
|
|
Celem_t Celem(Cindex);
|
|
void Cjoin(cset, cset *);
|
|
void Cintersect(cset, cset *);
|
|
void Cdeleteset(cset);
|
|
bool Cis_subset(cset, cset);
|
|
void Cclearset(cset, cset *);
|
|
void Ccopy_set(cset, cset *);
|
|
void Csubtract(cset, cset *);
|
|
bool Cequal(cset, cset);
|
|
short Cnrelems(cset);
|