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>2015-08-03 13:00:16 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-08-03 13:00:16 +0300
commit42d65ef5cc9bd4b9c398957efc95828ec0f63e49 (patch)
tree7eb27e6bba4c996e1ac80a8c5e3054caf849f700 /source/blender/python/generic/py_capi_utils.h
parent0f690e218620ec1f3340ea12b722c3a7a055a76f (diff)
Add bool parser for PyArg_ParseTuple
Use for mathutils.bvhtree
Diffstat (limited to 'source/blender/python/generic/py_capi_utils.h')
-rw-r--r--source/blender/python/generic/py_capi_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/generic/py_capi_utils.h b/source/blender/python/generic/py_capi_utils.h
index 93a3cb5b6d1..0ebc06ce2fa 100644
--- a/source/blender/python/generic/py_capi_utils.h
+++ b/source/blender/python/generic/py_capi_utils.h
@@ -81,4 +81,6 @@ PyObject *PyC_FlagSet_FromBitfield(PyC_FlagSet *items, int flag);
int PyC_RunString_AsNumber(const char *expr, double *value, const char *filename);
+int PyC_ParseBool(PyObject *o, void *p);
+
#endif /* __PY_CAPI_UTILS_H__ */