Don't try calling lsl when file is missing.
[splint-patched.git] / src / Headers / initDeclNodeList.h
blob4a6c85c25cbb2374c2a5f3967aa2c55fee45a03b
1 /*
2 ** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2003.
3 ** See ../LICENSE for license information.
4 **
5 */
7 # ifndef INITDECLNODELIST_H
8 # define INITDECLNODELIST_H
10 typedef /*@only@*/ initDeclNode o_initDeclNode;
12 abst_typedef struct
14 int nelements;
15 int nspace;
16 /*@reldef@*/ /*@relnull@*/ o_initDeclNode *elements;
17 } *initDeclNodeList ;
19 /*@iter initDeclNodeList_elements (sef initDeclNodeList x, yield exposed initDeclNode el); @*/
20 # define initDeclNodeList_elements(x, m_el) \
21 { int m_ind; initDeclNode *m_elements = &((x)->elements[0]); \
22 for (m_ind = 0 ; m_ind < (x)->nelements; m_ind++) \
23 { initDeclNode m_el = *(m_elements++);
25 # define end_initDeclNodeList_elements }}
27 extern /*@only@*/ initDeclNodeList initDeclNodeList_new(void);
28 extern initDeclNodeList
29 initDeclNodeList_add (/*@returned@*/ initDeclNodeList p_s,
30 /*@only@*/ initDeclNode p_el) ;
32 extern void initDeclNodeList_free (/*@only@*/ initDeclNodeList p_s) ;
34 # else
35 # error "Multiple include"
36 # endif