minor cleanup: make functions static, use NULL for pointer comparisons,

also fixed a possible bug assigning incorrect DPX function types to
imbuf.
This commit is contained in:
2011-05-10 13:11:36 +00:00
parent 6d5f0bfac6
commit eabb444106
18 changed files with 40 additions and 47 deletions

View File

@@ -76,7 +76,7 @@ static void bpy_lib_dealloc(BPy_Library *self)
}
PyTypeObject bpy_lib_Type= {
static PyTypeObject bpy_lib_Type= {
PyVarObject_HEAD_INIT(NULL, 0)
"bpy_lib", /* tp_name */
sizeof(BPy_Library), /* tp_basicsize */