diff options
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/core/src/umath/struct_ufunc_test.c.src | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/numpy/core/src/umath/struct_ufunc_test.c.src b/numpy/core/src/umath/struct_ufunc_test.c.src index 5b861a047..774a44487 100644 --- a/numpy/core/src/umath/struct_ufunc_test.c.src +++ b/numpy/core/src/umath/struct_ufunc_test.c.src @@ -4,8 +4,19 @@ #include "numpy/ufuncobject.h" #include "numpy/npy_3kcompat.h" + +/* + * struct_ufunc_test.c + * This is the C code for creating your own + * Numpy ufunc for a structured array dtype. + * + * Details explaining the Python-C API can be found under + * 'Extending and Embedding' and 'Python/C API' at + * docs.python.org . + */ + static PyMethodDef StructUfuncTestMethods[] = { - {0} /* sentinel */ + {NULL, NULL, 0, NULL} }; /* The loop definition must precede the PyMODINIT_FUNC. */ |
