]>
Commit | Line | Data |
---|---|---|
885824d3 | 1 | # ifndef FORWARDTYPES_H |
2 | # define FORWARDTYPES_H | |
3 | ||
4 | # ifndef NOLCL | |
5 | # include "lclForwardTypes.h" | |
6 | # endif | |
7 | ||
8 | abst_typedef /*@dependent@*/ /*@null@*/ struct _sRef *sRef; | |
9 | abst_typedef /*@null@*/ struct _uentry *uentry; | |
10 | immut_typedef int typeIdSet; | |
11 | typedef /*@only@*/ uentry o_uentry; | |
12 | abst_typedef /*@null@*/ struct _idDecl *idDecl; | |
13 | abst_typedef /*@null@*/ struct _usymtab *usymtab; | |
14 | abst_typedef /*@null@*/ struct _exprNode *exprNode; | |
4cccc6ad | 15 | |
16 | ||
885824d3 | 17 | abst_typedef /*@null@*/ struct _guardSet *guardSet; |
18 | abst_typedef /*@null@*/ struct _sRefSet *sRefSet; | |
19 | abst_typedef /*@null@*/ struct _aliasTable *aliasTable; | |
20 | abst_typedef /*@null@*/ struct __fileloc *fileloc; | |
21 | ||
a0a162cd | 22 | abst_typedef /*@null@*/ struct _environmentTable *environmentTable; |
23 | ||
4cccc6ad | 24 | abst_typedef /*@null@*/ struct _constraint *constraint; |
25 | ||
a0a162cd | 26 | |
885824d3 | 27 | /*@-cppnames@*/ |
28 | typedef int bool; | |
29 | /*@=cppnames@*/ | |
30 | ||
31 | abst_typedef /*@null@*/ char *cstring; | |
32 | typedef /*@only@*/ cstring o_cstring; | |
33 | ||
34 | immut_typedef int ctype; | |
35 | ||
36 | /* sRef -> bool */ | |
37 | typedef bool (*sRefTest) (sRef); | |
38 | ||
39 | /* sRef, fileloc -> void, modifies sRef */ | |
40 | typedef void (*sRefMod) (sRef, fileloc); | |
41 | ||
42 | /* sRef -> void */ | |
43 | typedef void (*sRefShower) (sRef); | |
44 | ||
45 | # else | |
46 | # error "Multiple include" | |
47 | # endif | |
48 | ||
49 | ||
50 | ||
51 |