debug.h

Wed, 06 Oct 2004 18:24:41 +0200

author
tuomov
date
Wed, 06 Oct 2004 18:24:41 +0200
changeset 81
ebefcbcb126f
permissions
-rw-r--r--

trunk: changeset 1789
Added some macros.

81
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
1 /*
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
2 * libtu/debug.h
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
3 *
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
4 * Copyright (c) Tuomo Valkonen 2004.
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
5 *
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
6 * You may distribute and modify this library under the terms of either
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
7 * the Clarified Artistic License or the GNU LGPL, version 2.1 or later.
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
8 */
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
9
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
10 #ifndef LIBTU_DEBUG_H
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
11 #define LIBTU_DEBUG_H
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
12
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
13 #ifdef CF_DEBUG
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
14 #define D(X) X
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
15 #else
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
16 #define D(X)
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
17 #endif
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
18
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
19 #endif /* LIBTU_DEBUG_H */

mercurial