2 ** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2003.
3 ** See ../LICENSE for license information.
6 # ifndef VARDECLARATIONNODELIST_H
7 # define VARDECLARATIONNODELIST_H
9 typedef /*@only@*/ varDeclarationNode o_varDeclarationNode
;
15 /*@reldef@*/ /*@relnull@*/ o_varDeclarationNode
*elements
;
16 } *varDeclarationNodeList
;
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++);
24 # define end_varDeclarationNodeList_elements }}
26 extern /*@only@*/ varDeclarationNodeList
varDeclarationNodeList_new (void) /*@*/ ;
28 varDeclarationNodeList_addh (varDeclarationNodeList p_s
,
29 /*@keep@*/ varDeclarationNode p_el
)
32 extern void varDeclarationNodeList_free (/*@only@*/ varDeclarationNodeList p_s
) ;
35 # error "Multiple include"