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:
Diffstat (limited to 'source/blender/python/generic/py_capi_utils.c')
-rw-r--r--source/blender/python/generic/py_capi_utils.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/python/generic/py_capi_utils.c b/source/blender/python/generic/py_capi_utils.c
index 24793a08ba9..d944cb435d0 100644
--- a/source/blender/python/generic/py_capi_utils.c
+++ b/source/blender/python/generic/py_capi_utils.c
@@ -282,16 +282,6 @@ int PyC_ParseStringEnum(PyObject *o, void *p)
return 0;
}
-const char *PyC_StringEnum_find_id(struct PyC_StringEnum *e, const int value)
-{
- for (int i = 0; e->items[i].id; i++) {
- if (e->items[i].value == value) {
- return e->items[i].id;
- }
- }
- return NULL;
-}
-
/* silly function, we dont use arg. just check its compatible with __deepcopy__ */
int PyC_CheckArgs_DeepCopy(PyObject *args)
{