Logo Search packages:      
Sourcecode: wcd version File versions  Download package

intset.h

#ifndef INTSET_INCLUDED
#define INTSET_INCLUDED
   /*
Copyright (C) 1997-2000 Ondrej Popp
This code is generated with Ondrej Popp's C3PO.

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

*/
   extern intset intsetNew(void);
   extern intset copyIntset(intset src);
   extern int* intsetGetArray(intset i);
   extern c3po_bool intsetHasArray(intset i);
   extern int getSizeOfIntset(intset i);
   extern void setSizeOfIntset(intset i,
                               int size);
   extern c3po_bool isEmptyIntset(intset i);
   extern void addToIntset(int i,
                           intset set);
   extern void putElementAtIntset(int i,
                                  int position,
                                  intset set);
   extern void insertElementAtIntset(int i,
                                     int position,
                                     intset set);
   extern void removeElementAtIntset(int position,
                                     intset set);
   extern int elementAtIntset(int position,
                              intset set);
   extern void extendIntset(intset src,
                            intset dest);
   extern void printIntset(text Offset,
                           intset i,
                           FILE* fp,
                           c3po_bool showEmpty);
   extern void freeIntset(intset i);
#endif

Generated by  Doxygen 1.6.0   Back to index