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) Lumiera.org
5
2009, Hermann Vosseler <Ichthyostega@web.de>
6
7
This program is free software; you can redistribute it and/or
8
modify it under the terms of the GNU General Public License as
9
published by the Free Software Foundation; either version 2 of
10
the License, or (at your option) any later version.
11
12
This program is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with this program; if not, write to the Free Software
19
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
21
* *****************************************************/
22
23
30
#include <nobug.h>
31
33
#define LUMIERA_NOBUG_INIT_CPP
34
#include "
include/logging.h
"
35
36
37
38
namespace
lumiera
{
39
40
void
41
initialise_NoBug ()
42
{
43
NOBUG_INIT;
44
45
#if NOBUG_MODE_ALPHA
46
static
uint callCount = 0;
47
ASSERT ( 0 == callCount++ );
48
#endif
49
}
50
51
52
}
logging.h
This header is for including and configuring NoBug.
lumiera
Lumiera public interface.
Definition:
advice.cpp:113
lib
nobug-init.cpp
Generated on Sat Apr 20 2024 02:03:40 for Lumiera by
1.8.13