Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-04-07 21:08:24 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-04-07 21:08:24 +0400
commit7c74d1dfa36376ebd5757d990af0ce6813130100 (patch)
tree9d0aed6b433bcb06c6494b575b51f925b3824b16 /source/blender/python/intern
parent04823258056d7092215aaf75fb1b54741b0f4e4e (diff)
py <2.5 dont have lenfunc
Diffstat (limited to 'source/blender/python/intern')
-rw-r--r--source/blender/python/intern/bpy_compat.h1
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