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 *`.
22 lines
519 B
C
22 lines
519 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
|
|
* L O N G S E T S
|
|
*/
|
|
|
|
|
|
lset Lempty_set(void);
|
|
bool Lis_elem(Lelem_t, lset);
|
|
void Ladd(Lelem_t, lset *);
|
|
void Lremove(Lelem_t, lset *);
|
|
Lindex Lfirst(lset);
|
|
Lindex Lnext(Lindex, lset);
|
|
Lelem_t Lelem(Lindex);
|
|
void Ljoin(lset, lset *);
|
|
void Ldeleteset(lset);
|
|
bool Lis_subset(lset, lset);
|
|
short Lnrelems(lset);
|