diff options
| author | Jay Bourque <jay.bourque@continuum.io> | 2013-04-05 15:08:46 -0500 |
|---|---|---|
| committer | Jay Bourque <jay.bourque@continuum.io> | 2013-05-14 18:02:21 -0500 |
| commit | 0e4e9300d629c41d2e3a797f381180db11abb141 (patch) | |
| tree | c781df8169e12b4059e1420c4cc32b20c417e3b6 /numpy | |
| parent | 1a75f77863ca3db6dc3cdf1893e13747dd8532fd (diff) | |
| download | numpy-0e4e9300d629c41d2e3a797f381180db11abb141.tar.gz | |
Update c-api documentation
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. */ |
