Initialization of OCC kernel (windows)

This commit is contained in:
Gerhard Kitzler 2012-06-12 10:01:59 +00:00
parent 65a48bcd25
commit 368da4c996

View File

@ -3063,11 +3063,12 @@ void PlayAnimFile(const char* name, int speed, int maxcnt)
#ifdef _MSC_VER #ifdef _MSC_VER
extern "C" int Ng_stl_Init (Tcl_Interp * interp); extern "C" int Ng_stl_Init (Tcl_Interp * interp);
extern "C" int Ng_geom2d_Init (Tcl_Interp * interp); extern "C" int Ng_geom2d_Init (Tcl_Interp * interp);
#ifdef OCCGEOMETRY
extern "C" int Ng_occ_Init (Tcl_Interp * interp);
#endif
#endif #endif
#ifdef OCCGEOMETRY
// extern "C" int Ng_occ_Init (Tcl_Interp * interp);
#endif
// extern "C" int Ng_Geom2d_Init (Tcl_Interp * interp); // extern "C" int Ng_Geom2d_Init (Tcl_Interp * interp);
@ -3087,6 +3088,9 @@ void PlayAnimFile(const char* name, int speed, int maxcnt)
#ifdef _MSC_VER #ifdef _MSC_VER
Ng_stl_Init(interp); Ng_stl_Init(interp);
Ng_geom2d_Init (interp); Ng_geom2d_Init (interp);
#ifdef OCCGEOMETRY
Ng_occ_Init (interp);
#endif
#endif #endif