Debian Codegraph @

source/unix/odesrc/ousrc/customization.cpp

raw
1 /*************************************************************************
2 * *
3 * ODER's Utilities Library. Copyright (C) 2008 Oleh Derevenko. *
4 * All rights reserved. e-mail: [email protected] (change all "a" to "e") *
5 * *
6 * This library is free software; you can redistribute it and/or *
7 * modify it under the terms of EITHER: *
8 * (1) The GNU Lesser General Public License as published by the Free *
9 * Software Foundation; either version 3 of the License, or (at *
10 * your option) any later version. The text of the GNU Lesser *
11 * General Public License is included with this library in the *
12 * file LICENSE-LESSER.TXT. Since LGPL is the extension of GPL *
13 * the text of GNU General Public License is also provided for *
14 * your information in file LICENSE.TXT. *
15 * (2) The BSD-style license that is included with this library in *
16 * the file LICENSE-BSD.TXT. *
17 * (3) The zlib/libpng license that is included with this library in *
18 * the file LICENSE-ZLIB.TXT *
19 * *
20 * This library is distributed WITHOUT ANY WARRANTY, including implied *
21 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
22 * See the files LICENSE.TXT and LICENSE-LESSER.TXT or LICENSE-BSD.TXT *
23 * or LICENSE-ZLIB.TXT for more details. *
24 * *
25 *************************************************************************/
26
27 #include <ou/customization.h>
28
29
30 BEGIN_NAMESPACE_OU();
31
32
33 #if !defined(__FILE__)
34
35 // Definition of __FILE__ constant for the case if compiler does not support the macro
36 /*extern*/ const char *const __FILE__ = "<filename unavailable>";
37
38
39 #endif // #if !defined(__FILE__)
40
41
42 #if !defined(__LINE__)
43
44 // Definition of __LINE__ constant for the case if compiler does not support the macro
45 extern const unsigned int __LINE__ = 0;
46
47
48 #endif // #if !defined(__LINE__)
49
50
51 //////////////////////////////////////////////////////////////////////////
52
53 /*extern*/ CAssertionFailedProcedure CAssertionCheckCustomization::g_fnAssertFailureHandler = NULL;
54
55
56 //////////////////////////////////////////////////////////////////////////
57
58 /*extern*/ CMemoryAllocationProcedure CMemoryManagerCustomization::g_fnMemoryAllocationProcedure = NULL;
59 /*extern*/ CMemoryReallocationProcedure CMemoryManagerCustomization::g_fnMemoryReallocationProcedure = NULL;
60 /*extern*/ CMemoryDeallocationProcedure CMemoryManagerCustomization::g_fnMemoryDeallocationProcedure = NULL;
61
62
63 END_NAMESPACE_OU();
64