Panda3D
config_pandatoolbase.cxx
1 // Filename: config_pandatoolbase.cxx
2 // Created by: drose (29Nov04)
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_pandatoolbase.h"
16 
17 NotifyCategoryDef(pandatoolbase, "");
18 
19 ////////////////////////////////////////////////////////////////////
20 // Function: init_libpandatoolbase
21 // Description: Initializes the library. This must be called at
22 // least once before any of the functions or classes in
23 // this library can be used. Normally it will be
24 // called by the static initializers and need not be
25 // called explicitly, but special cases exist.
26 ////////////////////////////////////////////////////////////////////
27 void
28 init_libpandatoolbase() {
29  static bool initialized = false;
30  if (initialized) {
31  return;
32  }
33  initialized = true;
34 }
35