@@ -11,6 +11,8 @@
* @date 2013-09-12
*/
+#ifdef HAVE_PYTHON
+
/**
* This class defines the extension methods for LMatrix3, which are called
* instead of any C++ methods with the same prototype.
@@ -26,3 +28,5 @@ public:
};
#include "lmatrix3_ext_src.I"
+#endif
* This class defines the extension methods for LMatrix4, which are called
#include "lmatrix4_ext_src.I"
* @date 2013-09-13
* This class defines the extension methods for LPoint2, which are called
@@ -27,3 +29,5 @@ public:
#include "lpoint2_ext_src.I"
* This class defines the extension methods for LPoint3, which are called
#include "lpoint3_ext_src.I"
* This class defines the extension methods for LPoint4, which are called
#include "lpoint4_ext_src.I"
* This class defines the extension methods for LVecBase2, which are called
@@ -39,3 +41,5 @@ public:
#include "lvecBase2_ext_src.I"
* This class defines the extension methods for LVecBase3, which are called
#include "lvecBase3_ext_src.I"
* This class defines the extension methods for LVecBase4, which are called
#include "lvecBase4_ext_src.I"
* This class defines the extension methods for LVector2, which are called
#include "lvector2_ext_src.I"
* This class defines the extension methods for LVector3, which are called
#include "lvector3_ext_src.I"
* This class defines the extension methods for LVector4, which are called
#include "lvector4_ext_src.I"
@@ -13,6 +13,8 @@
#include "paramPyObject.h"
TypeHandle ParamPyObject::_type_handle;
@@ -40,3 +42,5 @@ output(std::ostream &out) const {
out << "<" << Py_TYPE(_value)->tp_name
<< " object at " << (void *)_value << ">";
}