Panda3D
Loading...
Searching...
No Matches
config_skel.cxx
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file config_skel.cxx
10 * @author jyelon
11 * @date 2007-02-09
12 */
13
14#include "config_skel.h"
15#include "basicSkel.h"
16#include "typedSkel.h"
17#include "dconfig.h"
18
19#if !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) && !defined(BUILDING_PANDASKEL)
20 #error Buildsystem error: BUILDING_PANDASKEL not defined
21#endif
22
23Configure(config_skel);
24NotifyCategoryDef(skel, "");
25
26ConfigureFn(config_skel) {
28}
29
30ConfigVariableInt skel_sample_config_variable
31("skel-sample-config-variable", 3);
32
33/**
34 * Initializes the library. This must be called at least once before any of
35 * the functions or classes in this library can be used. Normally it will be
36 * called by the static initializers and need not be called explicitly, but
37 * special cases exist.
38 */
39void
41 static bool initialized = false;
42 if (initialized) {
43 return;
44 }
45 initialized = true;
46
47 TypedSkel::init_type();
48}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a convenience class to specialize ConfigVariable as an integer type.
void init_libskel()
Initializes the library.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.