VideoTexture: use PyObjectPlus.h instead of Python.h for compatibility with Python2.3
authorBenoit Bolsee <benoit.bolsee@online.be>
Sun, 2 Nov 2008 18:02:31 +0000 (18:02 +0000)
committerBenoit Bolsee <benoit.bolsee@online.be>
Sun, 2 Nov 2008 18:02:31 +0000 (18:02 +0000)
20 files changed:
source/gameengine/VideoTexture/Exception.cpp
source/gameengine/VideoTexture/FilterBase.cpp
source/gameengine/VideoTexture/FilterBase.h
source/gameengine/VideoTexture/FilterBlueScreen.cpp
source/gameengine/VideoTexture/FilterColor.cpp
source/gameengine/VideoTexture/FilterNormal.cpp
source/gameengine/VideoTexture/FilterSource.cpp
source/gameengine/VideoTexture/FilterSource.h
source/gameengine/VideoTexture/ImageBase.cpp
source/gameengine/VideoTexture/ImageBase.h
source/gameengine/VideoTexture/ImageBuff.cpp
source/gameengine/VideoTexture/ImageMix.cpp
source/gameengine/VideoTexture/ImageRender.cpp
source/gameengine/VideoTexture/ImageViewport.cpp
source/gameengine/VideoTexture/PyTypeList.cpp
source/gameengine/VideoTexture/PyTypeList.h
source/gameengine/VideoTexture/Texture.cpp
source/gameengine/VideoTexture/Texture.h
source/gameengine/VideoTexture/VideoBase.h
source/gameengine/VideoTexture/blendVideoTex.cpp

index c576cebddc8aae6cf4592f257f3aff5b7576510a..3ac8b8e321db78e638bde5b68921dc605ac849d4 100644 (file)
@@ -24,7 +24,7 @@ http://www.gnu.org/copyleft/lesser.txt.
 #include <strstream>
 #include <fstream>
 
-#include <Python.h>
+#include <PyObjectPlus.h>
 
 #include "Exception.h"
 
index 078a096aff7659283faf33eb75d598052a9466e1..b0112cd355b683ea7759d34eb18faa2aa7814e86 100644 (file)
@@ -22,7 +22,7 @@ http://www.gnu.org/copyleft/lesser.txt.
 
 #include "FilterBase.h"
 
-#include <Python.h>
+#include <PyObjectPlus.h>
 #include <structmember.h>
 
 
index 1c9a2b46927e7d6c8a72683128ffe271e42f3eef..c530e385ada621502dd7ddbd101998e17c2e9ab4 100644 (file)
@@ -25,7 +25,7 @@ http://www.gnu.org/copyleft/lesser.txt.
 
 #include "Common.h"
 
-#include <Python.h>
+#include <PyObjectPlus.h>
 
 #include "PyTypeList.h"
 
index d911b1d7743e119c46a76f25c14a182fddd342b7..50c3a87ffc41947298bd1d520f00b87bb1e89f34 100644 (file)
@@ -21,7 +21,7 @@ http://www.gnu.org/copyleft/lesser.txt.
 */
 
 
-#include <Python.h>
+#include <PyObjectPlus.h>
 #include <structmember.h>
 
 #include "FilterBlueScreen.h"
index c45804caf9d9519810c77141e7ab5d9ba1f8b39e..a1ddf581aef162577de7df08a4cb1939b9f2152c 100644 (file)
@@ -21,7 +21,7 @@ http://www.gnu.org/copyleft/lesser.txt.
 */
 
 
-#include <Python.h>
+#include <PyObjectPlus.h>
 #include <structmember.h>
 
 #include "FilterColor.h"
index 5eeb63b7128a8d2f931775c60d89fbd2c74ca2c2..514214bec8b61aa5fac6fc79ef77f3d3abdd4f44 100644 (file)
@@ -21,7 +21,7 @@ http://www.gnu.org/copyleft/lesser.txt.
 */
 
 
-#include <Python.h>
+#include <PyObjectPlus.h>
 #include <structmember.h>
 
 #include "FilterNormal.h"
index 4b96a9792e28cced2b348e7a600ff706a35a9577..8d8749dbc8f3efb4dfe50c20d92e811c38e7c9f6 100644 (file)
@@ -22,7 +22,7 @@ http://www.gnu.org/copyleft/lesser.txt.
 
 // implementation
 
-#include <Python.h>
+#include <PyObjectPlus.h>
 #include <structmember.h>
 
 #include "FilterSource.h"
index 7bed5c77a4da340d15f52beb1943baa87305d1c4..c3d4e0079f9bae6e7a6a8138aac69bab025d6200 100644 (file)
@@ -47,7 +47,6 @@ protected:
        { return 0xFF000000 | src[0] << 16 | src[1] << 8 | src[2]; }
 };
 
-
 /// class for BGR24 conversion
 class FilterBGR24 : public FilterBase
 {
@@ -67,7 +66,6 @@ protected:
        { return 0xFF000000 | src[2] << 16 | src[1] << 8 | src[0]; }
 };
 
-
 /// class for YV12 conversion
 class FilterYV12 : public FilterBase
 {
index d2e980d979a5d299b650440c10d36ec52c1537e0..dcca20de24aa4dded84a6752e5c6d6de91862c3f 100644 (file)
@@ -25,7 +25,7 @@ http://www.gnu.org/copyleft/lesser.txt.
 #include <vector>
 #include <string.h>
 
-#include <Python.h>
+#include <PyObjectPlus.h>
 #include <structmember.h>
 
 #include "FilterBase.h"
index 2b923a06ee3b8a8c55ed78eddae8330995eb0a99..138580ce701151e20f84c1b31c34eb3dee8e99d7 100644 (file)
@@ -26,7 +26,7 @@ http://www.gnu.org/copyleft/lesser.txt.
 #include "Common.h"
 
 #include <vector>
-#include <Python.h>
+#include <PyObjectPlus.h>
 
 #include "PyTypeList.h"
 
index f09514a36f0c76c81907ca35bb3d9f81d950bff2..a0c6e1f6f744561886cc9c77cf0439bf24fa0d9e 100644 (file)
@@ -22,7 +22,7 @@ http://www.gnu.org/copyleft/lesser.txt.
 
 // implementation
 
-#include <Python.h>
+#include <PyObjectPlus.h>
 #include <structmember.h>
 
 #include "ImageBuff.h"
index 71250005129fbc70127342a6657ae31b9d7f4d02..8532249f7d86e93aed4d5896a40969d8c81841f7 100644 (file)
@@ -22,7 +22,7 @@ http://www.gnu.org/copyleft/lesser.txt.
 
 // implementation
 
-#include <Python.h>
+#include <PyObjectPlus.h>
 #include <structmember.h>
 
 #include "ImageMix.h"
index ce27a24d35a39f0ab86ea2cf599ca53bbd07b98c..fb284261d705da8bdff27d66eb2b134e7a5a7704 100644 (file)
@@ -22,7 +22,7 @@ http://www.gnu.org/copyleft/lesser.txt.
 
 // implementation
 
-#include <Python.h>
+#include <PyObjectPlus.h>
 #include <structmember.h>
 
 #include <KX_BlenderCanvas.h>
index e1d3316a43e8db2627036b2d4c3a6d1be3260d93..e2b4e469e808319526d14b333d8350d8cbdc421e 100644 (file)
@@ -22,7 +22,7 @@ http://www.gnu.org/copyleft/lesser.txt.
 
 // implementation
 
-#include <Python.h>
+#include <PyObjectPlus.h>
 #include <structmember.h>
 
 #include "ImageViewport.h"
index b8c40052e8191f307f27cb996601236806f00335..0451d74c8add9f9835d884fe048c81998408421e 100644 (file)
@@ -26,7 +26,7 @@ http://www.gnu.org/copyleft/lesser.txt.
 #include <memory>
 #include <vector>
 
-#include <Python.h>
+#include <PyObjectPlus.h>
 
 
 /// check, if type is in list
index 736fc9aaefd5c57aecb7c145b091c4c5e10ee972..4daf88bfa19efd2dfda729d655ec5fc74b06dd73 100644 (file)
@@ -28,7 +28,7 @@ http://www.gnu.org/copyleft/lesser.txt.
 #include <memory>
 #include <vector>
 
-#include <Python.h>
+#include <PyObjectPlus.h>
 
 // forward declaration
 class PyTypeListItem;
index ea3f60b2775b7b806ae84b1622bc893c30421ffc..ceda39aeff44917c33f31055aa1f594f5824dc99 100644 (file)
@@ -22,7 +22,7 @@ http://www.gnu.org/copyleft/lesser.txt.
 
 // implementation
 
-#include <Python.h>
+#include <PyObjectPlus.h>
 #include <structmember.h>
 
 #include <KX_GameObject.h>
index f19f8da607dcdc8f0ac4d88955fe7397a810fe3d..569e34da121523b167c2c970cd9db9fc81ae8f99 100644 (file)
@@ -23,7 +23,7 @@ http://www.gnu.org/copyleft/lesser.txt.
 #if !defined TEXTURE_H
 #define TEXTURE_H
 
-#include <Python.h>
+#include <PyObjectPlus.h>
 #include <structmember.h>
 
 #include <DNA_image_types.h>
index 78e8ba65909cffc84ae85ae793368febf249b71d..5bb635e1f19313bd55bd7d541b9be532896c2b5f 100644 (file)
@@ -24,7 +24,7 @@ http://www.gnu.org/copyleft/lesser.txt.
 #define VIDEOBASE_H
 
 
-#include <Python.h>
+#include <PyObjectPlus.h>
 
 #include "ImageBase.h"
 
index 7f55024fe4cf6bc0115f5c7ffa996cf54f1ca605..629b589c0e6b07836afec290908b36da33d22b60 100644 (file)
@@ -20,7 +20,7 @@ http://www.gnu.org/copyleft/lesser.txt.
 -----------------------------------------------------------------------------
 */
 
-#include <Python.h>
+#include <PyObjectPlus.h>
 
 #include <RAS_GLExtensionManager.h>