15 #include "config_interrogatedb.h"
16 #include "interrogate_request.h"
17 #include "configVariableBool.h"
18 #include "configVariableSearchPath.h"
21 #if defined(WIN32_VC) && defined(_DEBUG)
23 #define USE_WIN32_DBGHEAP
27 Configure(config_interrogatedb);
28 NotifyCategoryDef(interrogatedb,
"");
30 ConfigureFn(config_interrogatedb) {
33 #ifdef USE_WIN32_DBGHEAP
37 int dbg_flags = _CrtSetDbgFlag( _CRTDBG_REPORT_FLAG );
39 if (use_win32_dbgheap.get_string_value() ==
"full") {
42 dbg_flags |= (_CRTDBG_ALLOC_MEM_DF | _CRTDBG_CHECK_ALWAYS_DF |
43 _CRTDBG_CHECK_CRT_DF);
48 if (!use_win32_dbgheap) {
56 if (win32_report_leaks) {
60 dbg_flags |= _CRTDBG_LEAK_CHECK_DF;
63 _CrtSetDbgFlag(dbg_flags);
68 (
"interrogatedb-path",
"The search path for interrogate's *.in files.");
This is similar to a ConfigVariableList, but it returns its list as a DSearchPath, as a list of directories.
This is a convenience class to specialize ConfigVariable as a boolean type.