APPFS
Advanced practical programming for scientists
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
sid.h
Go to the documentation of this file.
1
#ifndef _SID_H_
2
#define _SID_H_
3
4
#ifndef NDEBUG
5
6
#define SID unsigned int sid;
7
#define SID_set(p, id) (p->sid = id)
8
#define SID_del(p) (p->sid = 0xffffffff)
9
#define SID_ok(p, id) (p->sid == id)
10
11
#else
/* NDEBUG */
12
13
#define SID
/* */
14
#define SID_set(p, sid)
/* */
15
#define SID_del(p)
/* */
16
#define SID_ok(p, id) true
17
18
#endif
/* NDEBUG */
19
20
21
#endif
/* _SID_H_ */
Generated on Sun Nov 16 2014 23:14:05 for APPFS by
1.8.6