]> andersk Git - splint.git/blame - src/Headers/mtAnnotationDecl.h
Created html faq file to replace the faq.txt
[splint.git] / src / Headers / mtAnnotationDecl.h
CommitLineData
28bf4b0b 1/*
c0de361f 2** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2003.
28bf4b0b 3** See ../LICENSE for license information.
4**
5*/
6/*
7** mtAnnotationDecl.h
8*/
9
10# ifndef MTANNOTATIONDECL_H
11# define MTANNOTATIONDECL_H
12
13struct s_mtAnnotationDecl {
14 cstring name;
15 cstring value;
16 mtContextNode context;
17 fileloc loc;
18} ;
19
20extern cstring mtAnnotationDecl_unparse (mtAnnotationDecl p_node) /*@*/ ;
21
22extern mtAnnotationDecl
23mtAnnotationDecl_create (/*@only@*/ mttok p_id, /*@only@*/ mtContextNode p_c, /*@only@*/ mttok p_value) /*@*/ ;
24
25extern /*@observer@*/ cstring mtAnnotationDecl_getName (mtAnnotationDecl p_annot) /*@*/ ;
26# define mtAnnotationDecl_getName(annot) ((annot)->name)
27
28extern /*@observer@*/ cstring mtAnnotationDecl_getValue (mtAnnotationDecl p_annot) /*@*/ ;
29# define mtAnnotationDecl_getValue(annot) ((annot)->value)
30
31extern /*@only@*/ mtContextNode mtAnnotationDecl_stealContext (mtAnnotationDecl p_annot) /*@modifies p_annot@*/ ;
32
33extern /*@observer@*/ mtContextNode mtAnnotationDecl_getContext (mtAnnotationDecl p_annot) /*@*/ ;
34# define mtAnnotationDecl_getContext(annot) ((annot)->context)
35
36extern /*@observer@*/ fileloc mtAnnotationDecl_getLoc (mtAnnotationDecl p_annot) /*@*/ ;
37# define mtAnnotationDecl_getLoc(annot) ((annot)->loc) /*@i25@*/
38
39# else
40# error "Multiple include"
41# endif
This page took 0.071954 seconds and 5 git commands to generate.