2 * msvcrtd.dll debugging code
4 * Copyright (C) 2003 Adam Gundy
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.
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.
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
21 #include "wine/debug.h"
23 WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
25 int _crtAssertBusy = -1;
26 int _crtBreakAlloc = -1;
29 /*********************************************************************
30 * _CrtSetDumpClient (MSVCRTD.@)
32 void *_CrtSetDumpClient()
38 /*********************************************************************
39 * _CrtSetReportHook (MSVCRTD.@)
41 void *_CrtSetReportHook()
47 /*********************************************************************
48 * _CrtSetReportMode (MSVCRTD.@)
50 int _CrtSetReportMode()
56 /*********************************************************************
57 * _CrtSetBreakAlloc (MSVCRTD.@)
59 int _CrtSetBreakAlloc(int new)
61 int old = _crtBreakAlloc;
66 /*********************************************************************
67 * _CrtSetDbgFlag (MSVCRTD.@)
69 int _CrtSetDbgFlag(int new)
71 int old = _crtDbgFlag;
77 /*********************************************************************
78 * _CrtDbgReport (MSVCRTD.@)
85 /*********************************************************************
86 * _CrtDumpMemoryLeaks (MSVCRTD.@)
88 int _CrtDumpMemoryLeaks()
93 /*********************************************************************
94 * __p__crtAssertBusy (MSVCRTD.@)
96 int *__p__crtAssertBusy(void)
98 return &_crtAssertBusy;
101 /*********************************************************************
102 * __p__crtBreakAlloc (MSVCRTD.@)
104 int *__p__crtBreakAlloc(void)
106 return &_crtBreakAlloc;
109 /*********************************************************************
110 * __p__crtDbgFlag (MSVCRTD.@)
112 int *__p__crtDbgFlag(void)