]> andersk Git - splint.git/blame - src/Headers/varDeclarationNodeList.h
Updated copyrights
[splint.git] / src / Headers / varDeclarationNodeList.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# ifndef VARDECLARATIONNODELIST_H
7# define VARDECLARATIONNODELIST_H
8
9typedef /*@only@*/ varDeclarationNode o_varDeclarationNode;
10
28bf4b0b 11abst_typedef struct
885824d3 12{
13 int nelements;
14 int nspace;
15 /*@reldef@*/ /*@relnull@*/ o_varDeclarationNode *elements;
16} *varDeclarationNodeList ;
17
18/*@iter varDeclarationNodeList_elements (sef varDeclarationNodeList x, yield exposed varDeclarationNode el); @*/
19# define varDeclarationNodeList_elements(x, m_el) \
20 { int m_ind; varDeclarationNode *m_elements = &((x)->elements[0]); \
21 for (m_ind = 0 ; m_ind < (x)->nelements; m_ind++) \
22 { varDeclarationNode m_el = *(m_elements++);
23
24# define end_varDeclarationNodeList_elements }}
25
26extern /*@only@*/ varDeclarationNodeList varDeclarationNodeList_new (void) /*@*/ ;
27extern void
28 varDeclarationNodeList_addh (varDeclarationNodeList p_s,
29 /*@keep@*/ varDeclarationNode p_el)
30 /*@modifies p_s@*/ ;
31
32extern /*@only@*/ cstring varDeclarationNodeList_unparse (varDeclarationNodeList p_s) /*@*/ ;
33extern void varDeclarationNodeList_free (/*@only@*/ varDeclarationNodeList p_s) ;
34
35/*@constant int varDeclarationNodeListBASESIZE;@*/
36# define varDeclarationNodeListBASESIZE SMALLBASESIZE
37
38# else
39# error "Multiple include"
40# endif
41
42
43
44
This page took 0.464323 seconds and 5 git commands to generate.