Lumiera  0.pre.03
»edit your freedom«
nobug-init.cpp
Go to the documentation of this file.
1 /*
2  NoBugInit - NoBug static initialisation and definition of logging vars
3 
4  Copyright (C)
5  2009, Hermann Vosseler <Ichthyostega@web.de>
6 
7   **Lumiera** is free software; you can redistribute it and/or modify it
8   under the terms of the GNU General Public License as published by the
9   Free Software Foundation; either version 2 of the License, or (at your
10   option) any later version. See the file COPYING for further details.
11 
12 * *****************************************************************/
13 
14 
21 #include <nobug.h>
22 
24 #define LUMIERA_NOBUG_INIT_CPP
25 #include "include/logging.h"
26 
27 
28 
29 namespace lumiera {
30 
31  void
32  initialise_NoBug ()
33  {
34  NOBUG_INIT;
35 
36 #if NOBUG_MODE_ALPHA
37  static uint callCount = 0;
38  ASSERT ( 0 == callCount++ );
39 #endif
40  }
41 
42 
43 }
This header is for including and configuring NoBug.
Lumiera public interface.
Definition: advice.cpp:104