Fixed a few lingering compiler warnings with the bpy_app stuff
authorJoshua Leung <aligorith@gmail.com>
Sun, 31 Jan 2010 23:49:04 +0000 (23:49 +0000)
committerJoshua Leung <aligorith@gmail.com>
Sun, 31 Jan 2010 23:49:04 +0000 (23:49 +0000)
source/blender/python/intern/bpy_app.c
source/blender/python/intern/bpy_interface.c

index ed0b88b59a7970ffacd02a87c6466b46cf7f5c6f..440db76aafe9f944567d8cf6d7f09b0a958458e9 100644 (file)
@@ -124,4 +124,6 @@ PyObject *BPY_app_struct(void)
        /* prevent user from creating new instances */
        BlenderAppType.tp_init = NULL;
        BlenderAppType.tp_new = NULL;
+       
+       return ret;
 }
index 7074f507aca02d04ff43a4989542cb6cd415538c..1c15f311cd69e5818763dfee27d0bf45247d67a1 100644 (file)
@@ -38,6 +38,7 @@
 #include "compile.h"           /* for the PyCodeObject */
 #include "eval.h"              /* for PyEval_EvalCode */
 
+#include "bpy_app.h"
 #include "bpy_rna.h"
 #include "bpy_props.h"
 #include "bpy_operator.h"