Revision: 19583
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=19583
Author:   campbellbarton
Date:     2009-04-07 19:08:24 +0200 (Tue, 07 Apr 2009)

Log Message:
-----------
py <2.5 dont have lenfunc

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/python/intern/bpy_compat.h

Modified: branches/blender2.5/blender/source/blender/python/intern/bpy_compat.h
===================================================================
--- branches/blender2.5/blender/source/blender/python/intern/bpy_compat.h       
2009-04-07 16:00:32 UTC (rev 19582)
+++ branches/blender2.5/blender/source/blender/python/intern/bpy_compat.h       
2009-04-07 17:08:24 UTC (rev 19583)
@@ -75,6 +75,7 @@
 /* older then python 2.5 - define these */
 #if (PY_VERSION_HEX < 0x02050000)
 #define Py_ssize_t ssize_t
+typedef Py_ssize_t (*lenfunc)(PyObject *);
 #ifndef Py_RETURN_NONE
 #define Py_RETURN_NONE return Py_BuildValue("O", Py_None)
 #endif


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to