2 ** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2001.
3 ** See ../LICENSE for license information.
6 # ifndef IMPORTNODELIST_H
7 # define IMPORTNODELIST_H
9 typedef /*@only@*/ importNode o_importNode;
15 /*@reldef@*/ /*@relnull@*/ o_importNode *elements;
18 /*@iter importNodeList_elements (sef importNodeList x, yield exposed importNode el); @*/
19 # define importNodeList_elements(x, m_el) \
20 { int m_ind; importNode *m_elements = &((x)->elements[0]); \
21 for (m_ind = 0 ; m_ind < (x)->nelements; m_ind++) \
22 { importNode m_el = *(m_elements++);
24 # define end_importNodeList_elements }}
26 extern /*@only@*/ importNodeList importNodeList_new (void);
28 importNodeList_add (/*@returned@*/ importNodeList p_s, /*@only@*/ importNode p_el) ;
30 extern /*@only@*/ cstring importNodeList_unparse (importNodeList p_s) ;
31 extern void importNodeList_free (/*@only@*/ importNodeList p_s) ;
33 /*@constant int importNodeListBASESIZE;@*/
34 # define importNodeListBASESIZE SMALLBASESIZE
37 # error "Multiple include"