[Bf-blender-cvs] [5aa006b] master: Fix incorrect extern

Campbell Barton noreply at git.blender.org
Mon Jan 27 16:02:36 CET 2014


Commit: 5aa006bc1c9b99bcbc1a5190d34a70fcaaa0d2da
Author: Campbell Barton
Date:   Tue Jan 28 01:50:09 2014 +1100
https://developer.blender.org/rB5aa006bc1c9b99bcbc1a5190d34a70fcaaa0d2da

Fix incorrect extern

===================================================================

M	source/blender/python/bmesh/bmesh_py_types_meshdata.c

===================================================================

diff --git a/source/blender/python/bmesh/bmesh_py_types_meshdata.c b/source/blender/python/bmesh/bmesh_py_types_meshdata.c
index b935dbc..e9ee53c 100644
--- a/source/blender/python/bmesh/bmesh_py_types_meshdata.c
+++ b/source/blender/python/bmesh/bmesh_py_types_meshdata.c
@@ -57,7 +57,7 @@ typedef struct BPy_BMTexPoly {
 } BPy_BMTexPoly;
 
 extern PyObject *pyrna_id_CreatePyObject(ID *id);
-extern int       pyrna_id_FromPyObject(PyObject *obj, ID **id);
+extern bool      pyrna_id_FromPyObject(PyObject *obj, ID **id);
 
 PyDoc_STRVAR(bpy_bmtexpoly_image_doc,
 "Image or None.\n\n:type: :class:`bpy.types.Image`"




More information about the Bf-blender-cvs mailing list