]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/slab/lib/include/__debug.h
757ea8ccba5d92a62951723d4000eb9ff57673cb
[l4.git] / l4 / pkg / slab / lib / include / __debug.h
1 /*****************************************************************************/
2 /**
3  * \file   slab/lib/include/__debug.h
4  * \brief  Debug config.
5  *
6  * \date   2006-12-18
7  * \author Lars Reuther <reuther@os.inf.tu-dresden.de>
8  * \author Christian Helmuth <ch12@os.inf.tu-dresden.de>
9  */
10 /*****************************************************************************/
11
12 /*
13  * (c) 2006-2009 Technische Universität Dresden
14  * This file is part of TUD:OS and distributed under the terms of the
15  * GNU General Public License 2.
16  * Please see the COPYING-GPL-2 file for details.
17  */
18
19 #ifndef _SLAB___DEBUG_H
20 #define _SLAB___DEBUG_H
21
22 /* 1 enables debug output, 0 disables */
23 #define DEBUG_SLAB_INIT         0
24 #define DEBUG_SLAB_GROW         0
25 #define DEBUG_SLAB_ASSERT       1
26
27 #if !DEBUG_SLAB_ASSERT
28 #undef Assert
29 #define Assert(expr) do { } while (0)
30 #endif
31
32 #endif /* !_L4ENV___DEBUG_H */