Assorted spelling fixes.
[wine] / dlls / msvcrtd / debug.c
1 /*
2  * msvcrtd.dll debugging code
3  *
4  * Copyright (C) 2003 Adam Gundy
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  */
20
21 #include "wine/debug.h"
22
23 WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
24
25 int _crtAssertBusy = -1;
26 int _crtBreakAlloc = -1;
27 int _crtDbgFlag = 0;
28
29 /*********************************************************************
30  *              _CrtSetDumpClient (MSVCRTD.@)
31  */
32 void *_CrtSetDumpClient()
33 {
34     return NULL;
35 }
36
37
38 /*********************************************************************
39  *              _CrtSetReportHook (MSVCRTD.@)
40  */
41 void *_CrtSetReportHook()
42 {
43     return NULL;
44 }
45
46
47 /*********************************************************************
48  *              _CrtSetReportMode (MSVCRTD.@)
49  */
50 int _CrtSetReportMode()
51 {
52     return 0;
53 }
54
55
56 /*********************************************************************
57  *              _CrtSetBreakAlloc (MSVCRTD.@)
58  */
59 int _CrtSetBreakAlloc(int new)
60 {
61     int old = _crtBreakAlloc;
62     _crtBreakAlloc = new;
63     return old;
64 }
65
66 /*********************************************************************
67  *              _CrtSetDbgFlag (MSVCRTD.@)
68  */
69 int _CrtSetDbgFlag(int new)
70 {
71     int old = _crtDbgFlag;
72     _crtDbgFlag = new;
73     return old;
74 }
75
76
77 /*********************************************************************
78  *              _CrtDbgReport (MSVCRTD.@)
79  */
80 int _CrtDbgReport()
81 {
82     return 0;
83 }
84
85 /*********************************************************************
86  *              _CrtDumpMemoryLeaks (MSVCRTD.@)
87  */
88 int _CrtDumpMemoryLeaks()
89 {
90     return 0;
91 }
92
93 /*********************************************************************
94  *              __p__crtAssertBusy (MSVCRTD.@)
95  */
96 int *__p__crtAssertBusy(void)
97 {
98     return &_crtAssertBusy;
99 }
100
101 /*********************************************************************
102  *              __p__crtBreakAlloc (MSVCRTD.@)
103  */
104 int *__p__crtBreakAlloc(void)
105 {
106     return &_crtBreakAlloc;
107 }
108
109 /*********************************************************************
110  *              __p__crtDbgFlag (MSVCRTD.@)
111  */
112 int *__p__crtDbgFlag(void)
113 {
114     return &_crtDbgFlag;
115 }