Add bool parser for PyArg_ParseTuple

Use for mathutils.bvhtree
This commit is contained in:
2015-08-03 20:00:16 +10:00
parent 0f690e2186
commit 42d65ef5cc
3 changed files with 34 additions and 8 deletions

View File

@@ -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__ */