]> andersk Git - splint.git/blame - src/Headers/macrocache.h
Making fixes for Microsoft Visual C++ compiler.
[splint.git] / src / Headers / macrocache.h
CommitLineData
885824d3 1/*
c0de361f 2** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2003.
885824d3 3** See ../LICENSE for license information.
4**
5*/
6/*
7** macrocache.h
8*/
9
10# ifndef MACROCACHE_H
11# define MACROCACHE_H
12
28bf4b0b 13typedef struct
885824d3 14{
15 fileloc fl;
16 cstring def;
17 bool defined;
18 bool scomment;
19} *mce;
20
21typedef /*@only@*/ mce o_mce;
22
28bf4b0b 23typedef struct
885824d3 24{
25 int nspace;
26 int entries;
27 /*@reldef@*/ /*@only@*/ o_mce *contents;
28} *macrocache;
29
30extern void
31 macrocache_processUndefinedElements (macrocache p_m) ; /* modifies externalState */
32
33extern /*@observer@*/ fileloc
34 macrocache_processFileElements (macrocache p_m, cstring p_base) ;
35
36extern /*@only@*/ /*@unused@*/ cstring macrocache_unparse (macrocache p_m) /*@*/ ;
37extern /*@only@*/ macrocache macrocache_create (void) /*@*/ ;
38
39extern void
40 macrocache_addEntry (macrocache p_s, /*@only@*/ fileloc p_fl, /*@only@*/ cstring p_def);
41
42extern void
43 macrocache_addComment (macrocache p_s, /*@only@*/ fileloc p_fl, /*@only@*/ cstring p_def);
44
45extern void macrocache_free (/*@only@*/ macrocache p_s);
46extern void macrocache_finalize (void) /*@modifies internalState@*/ ;
47
48# else
49# error "Multiple include"
50# endif
This page took 0.113888 seconds and 5 git commands to generate.