Panda3D
panda
metalibs
panda
panda.cxx
1
// Filename: panda.cxx
2
// Created by: drose (15May00)
3
//
4
////////////////////////////////////////////////////////////////////
5
6
#include "panda.h"
7
8
#include "config_pnmimagetypes.h"
9
#include "config_device.h"
10
#include "config_display.h"
11
#include "config_pgraph.h"
12
#ifdef DO_PSTATS
13
#include "config_pstats.h"
14
#endif
15
16
// By including checkPandaVersion.h, we guarantee that runtime
17
// attempts to load libpanda.so/.dll will fail if they inadvertently
18
// link with the wrong version of libdtool.so/.dll.
19
20
#include "checkPandaVersion.h"
21
22
////////////////////////////////////////////////////////////////////
23
// Function: init_libpanda
24
// Description: Initializes the library. This must be called at
25
// least once before any of the functions or classes in
26
// this library can be used. Normally it will be
27
// called by the static initializers and need not be
28
// called explicitly, but special cases exist.
29
////////////////////////////////////////////////////////////////////
30
void
31
init_libpanda() {
32
init_libpnmimagetypes();
33
init_libdevice();
34
init_libdisplay();
35
init_libpgraph();
36
#ifdef DO_PSTATS
37
init_libpstatclient();
38
#endif
39
}
Generated on Wed May 17 2017 23:39:40 for Panda3D by
1.8.13