Fix unguarded python-specific headers.
This commit is contained in:
parent
6dc274e38d
commit
d8775fa01e
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@
|
|||
* @date 2013-09-12
|
||||
*/
|
||||
|
||||
#ifdef HAVE_PYTHON
|
||||
|
||||
/**
|
||||
* This class defines the extension methods for LMatrix4, which are called
|
||||
* instead of any C++ methods with the same prototype.
|
||||
|
|
@ -26,3 +28,5 @@ public:
|
|||
};
|
||||
|
||||
#include "lmatrix4_ext_src.I"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@
|
|||
* @date 2013-09-13
|
||||
*/
|
||||
|
||||
#ifdef HAVE_PYTHON
|
||||
|
||||
/**
|
||||
* This class defines the extension methods for LPoint2, which are called
|
||||
* instead of any C++ methods with the same prototype.
|
||||
|
|
@ -27,3 +29,5 @@ public:
|
|||
};
|
||||
|
||||
#include "lpoint2_ext_src.I"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@
|
|||
* @date 2013-09-13
|
||||
*/
|
||||
|
||||
#ifdef HAVE_PYTHON
|
||||
|
||||
/**
|
||||
* This class defines the extension methods for LPoint3, which are called
|
||||
* instead of any C++ methods with the same prototype.
|
||||
|
|
@ -27,3 +29,5 @@ public:
|
|||
};
|
||||
|
||||
#include "lpoint3_ext_src.I"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@
|
|||
* @date 2013-09-13
|
||||
*/
|
||||
|
||||
#ifdef HAVE_PYTHON
|
||||
|
||||
/**
|
||||
* This class defines the extension methods for LPoint4, which are called
|
||||
* instead of any C++ methods with the same prototype.
|
||||
|
|
@ -27,3 +29,5 @@ public:
|
|||
};
|
||||
|
||||
#include "lpoint4_ext_src.I"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@
|
|||
* @date 2013-09-13
|
||||
*/
|
||||
|
||||
#ifdef HAVE_PYTHON
|
||||
|
||||
/**
|
||||
* This class defines the extension methods for LVecBase2, which are called
|
||||
* instead of any C++ methods with the same prototype.
|
||||
|
|
@ -39,3 +41,5 @@ public:
|
|||
};
|
||||
|
||||
#include "lvecBase2_ext_src.I"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@
|
|||
* @date 2013-09-13
|
||||
*/
|
||||
|
||||
#ifdef HAVE_PYTHON
|
||||
|
||||
/**
|
||||
* This class defines the extension methods for LVecBase3, which are called
|
||||
* instead of any C++ methods with the same prototype.
|
||||
|
|
@ -39,3 +41,5 @@ public:
|
|||
};
|
||||
|
||||
#include "lvecBase3_ext_src.I"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@
|
|||
* @date 2013-09-13
|
||||
*/
|
||||
|
||||
#ifdef HAVE_PYTHON
|
||||
|
||||
/**
|
||||
* This class defines the extension methods for LVecBase4, which are called
|
||||
* instead of any C++ methods with the same prototype.
|
||||
|
|
@ -39,3 +41,5 @@ public:
|
|||
};
|
||||
|
||||
#include "lvecBase4_ext_src.I"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@
|
|||
* @date 2013-09-13
|
||||
*/
|
||||
|
||||
#ifdef HAVE_PYTHON
|
||||
|
||||
/**
|
||||
* This class defines the extension methods for LVector2, which are called
|
||||
* instead of any C++ methods with the same prototype.
|
||||
|
|
@ -27,3 +29,5 @@ public:
|
|||
};
|
||||
|
||||
#include "lvector2_ext_src.I"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@
|
|||
* @date 2013-09-13
|
||||
*/
|
||||
|
||||
#ifdef HAVE_PYTHON
|
||||
|
||||
/**
|
||||
* This class defines the extension methods for LVector3, which are called
|
||||
* instead of any C++ methods with the same prototype.
|
||||
|
|
@ -27,3 +29,5 @@ public:
|
|||
};
|
||||
|
||||
#include "lvector3_ext_src.I"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@
|
|||
* @date 2013-09-13
|
||||
*/
|
||||
|
||||
#ifdef HAVE_PYTHON
|
||||
|
||||
/**
|
||||
* This class defines the extension methods for LVector4, which are called
|
||||
* instead of any C++ methods with the same prototype.
|
||||
|
|
@ -27,3 +29,5 @@ public:
|
|||
};
|
||||
|
||||
#include "lvector4_ext_src.I"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@
|
|||
|
||||
#include "paramPyObject.h"
|
||||
|
||||
#ifdef HAVE_PYTHON
|
||||
|
||||
TypeHandle ParamPyObject::_type_handle;
|
||||
|
||||
/**
|
||||
|
|
@ -40,3 +42,5 @@ output(std::ostream &out) const {
|
|||
out << "<" << Py_TYPE(_value)->tp_name
|
||||
<< " object at " << (void *)_value << ">";
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue