Panda3D
 All Classes Functions Variables Enumerations
config_prc.cxx
1 // Filename: config_prc.cxx
2 // Created by: drose (20Oct04)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #include "config_prc.h"
16 #include "configVariableBool.h"
17 #include "configVariableEnum.h"
18 #include "pandaFileStreamBuf.h"
19 
20 NotifyCategoryDef(prc, "");
21 
22 ALIGN_16BYTE ConfigVariableBool assert_abort
23 ("assert-abort", false,
24  PRC_DESC("Set this true to trigger a core dump and/or stack trace when the first assertion fails"));
This is a convenience class to specialize ConfigVariable as a boolean type.