diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-29 02:55:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-29 03:49:34 +0300 |
commit | 376e4c945ee862bb7cd7d22d677a5e59b8eeeb36 (patch) | |
tree | 7cc70f314b4ac2d9ad4327f2aac0ceb1f0adf18d /source/blender/python/bmesh/bmesh_py_types.h | |
parent | d226a4ba6df516147ee7a6f7fc40c9afad92fa49 (diff) |
Fix leak in BPy_BMElem_PySeq_As_Array
Also add BPy_BMElem_PySeq_As_Array_FAST
Diffstat (limited to 'source/blender/python/bmesh/bmesh_py_types.h')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types.h b/source/blender/python/bmesh/bmesh_py_types.h index 630afcb32c0..e6f0976965c 100644 --- a/source/blender/python/bmesh/bmesh_py_types.h +++ b/source/blender/python/bmesh/bmesh_py_types.h @@ -158,6 +158,11 @@ PyObject *BPy_BMIter_CreatePyObject(BMesh *bm); PyObject *BPy_BMElem_CreatePyObject(BMesh *bm, BMHeader *ele); /* just checks type and creates v/e/f/l */ +void *BPy_BMElem_PySeq_As_Array_FAST( + BMesh **r_bm, PyObject *seq_fast, Py_ssize_t min, Py_ssize_t max, Py_ssize_t *r_size, + const char htype, + const bool do_unique_check, const bool do_bm_check, + const char *error_prefix); void *BPy_BMElem_PySeq_As_Array( BMesh **r_bm, PyObject *seq, Py_ssize_t min, Py_ssize_t max, Py_ssize_t *r_size, const char htype, |