Panda3D
pandaegg.cxx
1 // Filename: pandaegg.cxx
2 // Created by: drose (16May00)
3 //
4 ////////////////////////////////////////////////////////////////////
5 
6 #include "pandaegg.h"
7 
8 #include "config_egg.h"
9 #include "config_egg2pg.h"
10 
11 // By including checkPandaVersion.h, we guarantee that runtime
12 // attempts to load libpandaegg.so/.dll will fail if they
13 // inadvertently link with the wrong version of libdtool.so/.dll.
14 
15 #include "checkPandaVersion.h"
16 
17 ////////////////////////////////////////////////////////////////////
18 // Function: init_libpandaegg
19 // Description: Initializes the library. This must be called at
20 // least once before any of the functions or classes in
21 // this library can be used. Normally it will be
22 // called by the static initializers and need not be
23 // called explicitly, but special cases exist.
24 ////////////////////////////////////////////////////////////////////
25 void
26 init_libpandaegg() {
27  init_libegg();
28  init_libegg2pg();
29 }