]> andersk Git - splint.git/blame - src/Headers/sortList.h
Updated copyrights
[splint.git] / src / Headers / sortList.h
CommitLineData
885824d3 1/*
c0de361f 2** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2003.
885824d3 3** See ../LICENSE for license information.
4**
5*/
6
7# ifndef SORTLIST_H
8# define SORTLIST_H
9
28bf4b0b 10abst_typedef struct
885824d3 11{
12 int nelements;
13 int nspace;
14 int current;
28bf4b0b 15 /*@reldef@*/ /*@relnull@*/ sort *elements;
885824d3 16} *sortList ;
17
18extern /*@only@*/ sortList sortList_new (void);
19extern void sortList_addh (sortList p_s, sort p_el) ;
20
21extern void sortList_reset (sortList p_s) ;
22extern void sortList_advance (sortList p_s) ; /* was "list_pointToNext" */
23
24extern /*@only@*/ cstring sortList_unparse (sortList p_s) ;
25extern void sortList_free (/*@only@*/ sortList p_s) ;
26
27extern sort sortList_current (sortList p_s) ;
28
29/*@constant int sortListBASESIZE;@*/
30# define sortListBASESIZE SMALLBASESIZE
31# else
32# error "Multiple include"
33# endif
34
35
36
37
This page took 0.079664 seconds and 5 git commands to generate.