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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user