]>
jfr.im git - irc/evilnet/x3.git/blob - rx/rxcset.c
1 /* Copyright (C) 1995, 1996 Tom Lord
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU Library General Public License as published by
5 * the Free Software Foundation; either version 2, or (at your option)
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Library General Public License for more details.
13 * You should have received a copy of the GNU Library General Public License
14 * along with this software; see the file COPYING. If not, write to
15 * the Free Software Foundation, 59 Temple Place - Suite 330,
16 * Boston, MA 02111-1307, USA.
21 * Tom Lord (lord@cygnus.com, lord@gnu.ai.mit.edu)
28 /* Utilities for manipulating bitset represntations of characters sets. */
40 b
= (rx_Bitset
) malloc (rx_sizeof_bitset (size
));
42 rx_bitset_null (size
, b
);
49 rx_copy_cset (int size
, rx_Bitset a
)
52 rx_copy_cset (size
, a
)
61 rx_bitset_union (size
, cs
, a
);
69 rx_free_cset (rx_Bitset c
)