diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-16 08:58:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-16 08:58:18 +0400 |
commit | 2fb82920059257fd7ac8e33bfe53de13e7ed53bd (patch) | |
tree | cb8de3a839cb9878d0869d4e436a235346109c16 /source/gameengine/VideoTexture/PyTypeList.cpp | |
parent | c2a1dcf6218cbd56126a5deb1aeaf212d67e54cb (diff) |
style cleanup
Diffstat (limited to 'source/gameengine/VideoTexture/PyTypeList.cpp')
-rw-r--r-- | source/gameengine/VideoTexture/PyTypeList.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/gameengine/VideoTexture/PyTypeList.cpp b/source/gameengine/VideoTexture/PyTypeList.cpp index ed53e8bd1f1..9fe98544961 100644 --- a/source/gameengine/VideoTexture/PyTypeList.cpp +++ b/source/gameengine/VideoTexture/PyTypeList.cpp @@ -41,7 +41,7 @@ PyTypeList::~PyTypeList() } /// check, if type is in list -bool PyTypeList::in (PyTypeObject * type) +bool PyTypeList::in (PyTypeObject *type) { // if list exists if (m_list.get() != NULL) @@ -54,7 +54,7 @@ bool PyTypeList::in (PyTypeObject * type) } /// add type to list -void PyTypeList::add (PyTypeObject * type, const char * name) +void PyTypeList::add (PyTypeObject *type, const char * name) { // if list doesn't exist, create it if (m_list.get() == NULL) @@ -78,7 +78,7 @@ bool PyTypeList::ready (void) } /// register types to module -void PyTypeList::reg (PyObject * module) +void PyTypeList::reg(PyObject *module) { // if list exists if (m_list.get() != NULL) @@ -88,6 +88,6 @@ void PyTypeList::reg (PyObject * module) // increase ref count Py_INCREF((*it)->getType()); // add type to module - PyModule_AddObject(module, (char*)(*it)->getName(), (PyObject*)(*it)->getType()); + PyModule_AddObject(module, (char*)(*it)->getName(), (PyObject *)(*it)->getType()); } } |