Lumiera
0.pre.03
»edit your freedom«
dummy-functions.hpp
Go to the documentation of this file.
1
/*
2
DUMMY-FUNCTIONS - mock functions for checking functor utils
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
19
#ifndef LIB_META_DUMMY_FUNCTIONS_H
20
#define LIB_META_DUMMY_FUNCTIONS_H
21
22
23
24
25
namespace
lib
{
26
namespace
meta {
27
namespace
test
{
28
29
30
namespace
{
// test helpers
31
32
int
_sum_
=0;
33
34
void
35
testFunc (
int
i,
char
c)
36
{
37
_sum_ += i + c;
38
}
39
40
int
41
returnIt ()
42
{
43
return
_sum_
;
44
}
45
}
46
47
48
49
}}}
// namespace lib::meta::test
50
#endif
test
Definition:
run.hpp:40
lib
Implementation namespace for support and library code.
Definition:
common-services.cpp:54
lib::meta::test::anonymous_namespace{dummy-functions.hpp}::_sum_
int _sum_
used to verify the effect of testFunc
Definition:
dummy-functions.hpp:32
library
meta
dummy-functions.hpp
Generated on Fri Dec 13 2024 05:05:33 for Lumiera by
1.8.13