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>2014-01-06 09:46:00 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-06 09:46:00 +0400
commit90efa345c2b512c7dbc615b6210127070ff8b03f (patch)
tree7a3e0dbc1d1ee3534c9d5b6d5a05ad1858a60728 /source/blender/python/generic/py_capi_utils.h
parent7b8e07b7d011fe7245499a267ac967d5787a59e9 (diff)
Python API: utility function for filling a tuple with a single value.
Diffstat (limited to 'source/blender/python/generic/py_capi_utils.h')
-rw-r--r--source/blender/python/generic/py_capi_utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/generic/py_capi_utils.h b/source/blender/python/generic/py_capi_utils.h
index c6792ddfc79..27dd1bba6d6 100644
--- a/source/blender/python/generic/py_capi_utils.h
+++ b/source/blender/python/generic/py_capi_utils.h
@@ -41,6 +41,7 @@ int PyC_AsArray(void *array, PyObject *value, const Py_ssize_t length,
const PyTypeObject *type, const bool is_double, const char *error_prefix);
PyObject * PyC_FromArray(const void *array, int length, const PyTypeObject *type,
const bool is_double, const char *error_prefix);
+void PyC_Tuple_Fill(PyObject *tuple, PyObject *value);
/* follow http://www.python.org/dev/peps/pep-0383/ */
PyObject * PyC_UnicodeFromByte(const char *str);