From 4e45265dc6cafe0bf6f36a14a469288183059858 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 30 Nov 2021 09:04:50 +1100 Subject: Cleanup: spelling in comments & strings --- source/blender/python/bmesh/bmesh_py_types.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/python/bmesh/bmesh_py_types.c') diff --git a/source/blender/python/bmesh/bmesh_py_types.c b/source/blender/python/bmesh/bmesh_py_types.c index cbebe4746e9..3dd8e58781e 100644 --- a/source/blender/python/bmesh/bmesh_py_types.c +++ b/source/blender/python/bmesh/bmesh_py_types.c @@ -3349,8 +3349,8 @@ static PyObject *bpy_bmiter_next(BPy_BMIter *self) return (PyObject *)BPy_BMElem_CreatePyObject(self->bm, ele); } -/* Dealloc Functions - * ================= */ +/* Deallocate Functions + * ==================== */ static void bpy_bmesh_dealloc(BPy_BMesh *self) { -- cgit v1.2.3 From 42a6b2fd06e4fefe1bdb283d9e568d7f7dca178e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 2 Dec 2021 17:24:04 +1100 Subject: Cleanup: move public doc-strings into headers for 'python' --- source/blender/python/bmesh/bmesh_py_types.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'source/blender/python/bmesh/bmesh_py_types.c') diff --git a/source/blender/python/bmesh/bmesh_py_types.c b/source/blender/python/bmesh/bmesh_py_types.c index 3dd8e58781e..38ec242fa49 100644 --- a/source/blender/python/bmesh/bmesh_py_types.c +++ b/source/blender/python/bmesh/bmesh_py_types.c @@ -3954,7 +3954,6 @@ PyObject *BPy_BMIter_CreatePyObject(BMesh *bm) return (PyObject *)self; } -/* this is just a helper func */ PyObject *BPy_BMElem_CreatePyObject(BMesh *bm, BMHeader *ele) { switch (ele->htype) { @@ -4036,11 +4035,6 @@ void bpy_bm_generic_invalidate(BPy_BMGeneric *self) self->bm = NULL; } -/* generic python seq as BMVert/Edge/Face array, - * return value must be freed with PyMem_FREE(...); - * - * The 'bm_r' value is assigned when empty, and used when set. - */ void *BPy_BMElem_PySeq_As_Array_FAST(BMesh **r_bm, PyObject *seq_fast, Py_ssize_t min, @@ -4233,11 +4227,6 @@ int BPy_BMElem_CheckHType(PyTypeObject *type, const char htype) ((htype & BM_LOOP) && (type == &BPy_BMLoop_Type))); } -/** - * Use for error strings only, not thread safe, - * - * \return a string like '(BMVert/BMEdge/BMFace/BMLoop)' - */ char *BPy_BMElem_StringFromHType_ex(const char htype, char ret[32]) { /* zero to ensure string is always NULL terminated */ -- cgit v1.2.3