From 1cc4033df8d7fdd87bc1be14e265ab77f0713e54 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 19 Aug 2017 21:36:50 +1000 Subject: PyAPI: expose matrix parsing function --- source/blender/python/mathutils/mathutils_Matrix.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/blender/python/mathutils/mathutils_Matrix.h') diff --git a/source/blender/python/mathutils/mathutils_Matrix.h b/source/blender/python/mathutils/mathutils_Matrix.h index 542a0e349c7..9c84716d307 100644 --- a/source/blender/python/mathutils/mathutils_Matrix.h +++ b/source/blender/python/mathutils/mathutils_Matrix.h @@ -77,6 +77,11 @@ PyObject *Matrix_CreatePyObject_cb( unsigned char cb_type, unsigned char cb_subtype ) ATTR_WARN_UNUSED_RESULT; +/* PyArg_ParseTuple's "O&" formatting helpers. */ +int Matrix_ParseAny(PyObject *o, void *p); +int Matrix_Parse3x3(PyObject *o, void *p); +int Matrix_Parse4x4(PyObject *o, void *p); + extern unsigned char mathutils_matrix_row_cb_index; /* default */ extern unsigned char mathutils_matrix_col_cb_index; extern unsigned char mathutils_matrix_translation_cb_index; -- cgit v1.2.3