]> andersk Git - splint.git/blame - src/Headers/mtLoseReference.h
Fixed problem with NULL being changed.
[splint.git] / src / Headers / mtLoseReference.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** mtLoseReference.h
8*/
9
10# ifndef MTLoseReference_H
11# define MTLoseReference_H
12
13struct s_mtLoseReference {
14 fileloc loc;
15 cstring fromname;
16 mtTransferAction action;
17} ;
18
19extern cstring mtLoseReference_unparse (mtLoseReference p_node) /*@*/ ;
20
21extern mtLoseReference
22mtLoseReference_create (/*@only@*/ mttok p_fromname,
23 /*@only@*/ mtTransferAction p_action) /*@*/ ;
24
25extern /*@observer@*/ cstring mtLoseReference_getFrom (mtLoseReference) /*@*/ ;
26# define mtLoseReference_getFrom(p_trans) ((p_trans)->fromname)
27
28extern /*@observer@*/ mtTransferAction mtLoseReference_getAction (mtLoseReference) /*@*/ ;
29# define mtLoseReference_getAction(p_trans) ((p_trans)->action)
30
31extern /*@observer@*/ fileloc mtLoseReference_getLoc (mtLoseReference) /*@*/ ;
32# define mtLoseReference_getLoc(p_trans) ((p_trans)->loc)
33
34extern void mtLoseReference_free (/*@only@*/ mtLoseReference p_transfer) ;
35
36# else
37# error "Multiple include"
38# endif
This page took 0.113831 seconds and 5 git commands to generate.