use PyDoc_STRVAR macro, so its possible to build without docstrings.

This commit is contained in:
2011-05-24 16:05:51 +00:00
parent 357ce16958
commit 15289c6048
15 changed files with 362 additions and 335 deletions

View File

@@ -38,9 +38,9 @@
#include "BLI_math.h"
#include "BLI_utildefines.h"
static char M_Mathutils_doc[] =
PyDoc_STRVAR(M_Mathutils_doc,
"This module provides access to matrices, eulers, quaternions and vectors."
;
);
static int mathutils_array_parse_fast(float *array, int array_min, int array_max, PyObject *value, const char *error_prefix)
{
PyObject *value_fast= NULL;