]> andersk Git - splint.git/blame - src/Headers/idDecl.h
Removed the unused data type environmentTable.
[splint.git] / src / Headers / idDecl.h
CommitLineData
885824d3 1/*
2** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2000.
3** See ../LICENSE for license information.
4**
5*/
6/*
7** idDecl.h
8*/
9
10# ifndef idDecl_H
11# define idDecl_H
12
13struct _idDecl
14{
15 cstring id;
16 qtype typ;
17} ;
18
19/*@constant null idDecl idDecl_undefined; @*/
20# define idDecl_undefined ((idDecl) NULL)
21
22extern /*@falsenull@*/ bool idDecl_isDefined (idDecl p_t) /*@*/ ;
23# define idDecl_isDefined(t) ((t) != idDecl_undefined)
24
25extern void idDecl_free (/*@only@*/ idDecl p_t);
26extern /*@only@*/ idDecl
27 idDecl_create (/*@only@*/ cstring p_s, /*@only@*/ qtype p_t);
28extern /*@only@*/ cstring idDecl_unparse (idDecl p_d);
29extern /*@exposed@*/ qtype idDecl_getTyp (idDecl p_d);
30extern void idDecl_setTyp (idDecl p_d, /*@only@*/ qtype p_c);
31extern idDecl idDecl_expectFunction (/*@returned@*/ idDecl p_d);
32extern idDecl idDecl_replaceCtype (/*@returned@*/ idDecl p_d, ctype p_c);
33extern idDecl idDecl_fixBase (/*@returned@*/ idDecl p_t, qtype p_b);
34extern idDecl idDecl_fixParamBase (/*@returned@*/ idDecl p_t, qtype p_b);
35extern ctype idDecl_getCtype (idDecl p_d) /*@*/ ;
36extern /*@exposed@*/ qualList idDecl_getQuals (idDecl p_d) /*@*/ ;
37
38extern /*@dependent@*/ /*@observer@*/ cstring idDecl_getName (idDecl p_t) /*@*/ ;
39extern /*@observer@*/ cstring idDecl_observeId (idDecl p_d) /*@*/ ;
40extern void idDecl_addQual (idDecl p_d, qual p_q);
41
42# define idDecl_getName(t) idDecl_observeId(t)
43
44# else
45# error "Multiple include"
46# endif
47
48
This page took 0.143499 seconds and 5 git commands to generate.