diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-04-07 21:08:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-04-07 21:08:24 +0400 |
commit | 7c74d1dfa36376ebd5757d990af0ce6813130100 (patch) | |
tree | 9d0aed6b433bcb06c6494b575b51f925b3824b16 /source | |
parent | 04823258056d7092215aaf75fb1b54741b0f4e4e (diff) |
py <2.5 dont have lenfunc
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/intern/bpy_compat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_compat.h b/source/blender/python/intern/bpy_compat.h index 4f64c916ca2..ad6b7a5e85c 100644 --- a/source/blender/python/intern/bpy_compat.h +++ b/source/blender/python/intern/bpy_compat.h @@ -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 |