diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-17 22:30:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-17 22:30:31 +0400 |
commit | 16b82845eee4198b2d56aa5a5c373008f5070f7f (patch) | |
tree | 36ca4f5c95b92ecc1e568459c783debf2151c6a5 /source/gameengine/VideoTexture/blendVideoTex.cpp | |
parent | e2b2d083e0cd2c738962e2a4535acdfb17f37416 (diff) |
code cleanup: add 'const' to headers to quiet msvc warnings, also remove (char *) casts that aren't needed now we're on Python3.3
Diffstat (limited to 'source/gameengine/VideoTexture/blendVideoTex.cpp')
-rw-r--r-- | source/gameengine/VideoTexture/blendVideoTex.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/gameengine/VideoTexture/blendVideoTex.cpp b/source/gameengine/VideoTexture/blendVideoTex.cpp index 72415026bb9..e23bd1a3231 100644 --- a/source/gameengine/VideoTexture/blendVideoTex.cpp +++ b/source/gameengine/VideoTexture/blendVideoTex.cpp @@ -214,12 +214,12 @@ PyObject *initVideoTexture(void) pyFilterTypes.reg(m); Py_INCREF(&TextureType); - PyModule_AddObject(m, (char*)"Texture", (PyObject *)&TextureType); - PyModule_AddIntConstant(m, (char*)"SOURCE_ERROR", SourceError); - PyModule_AddIntConstant(m, (char*)"SOURCE_EMPTY", SourceEmpty); - PyModule_AddIntConstant(m, (char*)"SOURCE_READY", SourceReady); - PyModule_AddIntConstant(m, (char*)"SOURCE_PLAYING", SourcePlaying); - PyModule_AddIntConstant(m, (char*)"SOURCE_STOPPED", SourceStopped); + PyModule_AddObject(m, "Texture", (PyObject *)&TextureType); + PyModule_AddIntConstant(m, "SOURCE_ERROR", SourceError); + PyModule_AddIntConstant(m, "SOURCE_EMPTY", SourceEmpty); + PyModule_AddIntConstant(m, "SOURCE_READY", SourceReady); + PyModule_AddIntConstant(m, "SOURCE_PLAYING", SourcePlaying); + PyModule_AddIntConstant(m, "SOURCE_STOPPED", SourceStopped); // init last error description Exception::m_lastError = ""; |