summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorJay Bourque <jay.bourque@continuum.io>2013-05-14 19:38:50 -0500
committerJay Bourque <jay.bourque@continuum.io>2013-05-14 19:38:50 -0500
commitd85f7aa465cf854e2be83f67f39f058660348487 (patch)
treedd230fa18ae10c58f75725e95eb5920a3d0d0c37 /doc/source
parent1987caeb28c8a1eb0ba422117d47f54c4c11c550 (diff)
downloadnumpy-d85f7aa465cf854e2be83f67f39f058660348487.tar.gz
Another name change to RegisterLoopForDescr
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/reference/c-api.ufunc.rst2
-rw-r--r--doc/source/user/c-info.ufunc-tutorial.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/reference/c-api.ufunc.rst b/doc/source/reference/c-api.ufunc.rst
index a01f32355..d4de28188 100644
--- a/doc/source/reference/c-api.ufunc.rst
+++ b/doc/source/reference/c-api.ufunc.rst
@@ -140,7 +140,7 @@ Functions
in as *arg_types* which must be a pointer to memory at least as
large as ufunc->nargs.
-.. cfunction:: int PyUFunc_RegisterLoopByDescr(PyUFuncObject* ufunc,
+.. cfunction:: int PyUFunc_RegisterLoopForDescr(PyUFuncObject* ufunc,
PyArray_Descr* userdtype, PyUFuncGenericFunction function,
PyArray_Descr** arg_dtypes, void* data)
diff --git a/doc/source/user/c-info.ufunc-tutorial.rst b/doc/source/user/c-info.ufunc-tutorial.rst
index 31ba7984a..d3b1deb26 100644
--- a/doc/source/user/c-info.ufunc-tutorial.rst
+++ b/doc/source/user/c-info.ufunc-tutorial.rst
@@ -895,7 +895,7 @@ For the example we show a trivial ufunc for adding two arrays with dtype
'u8,u8,u8'. The process is a bit different from the other examples since
a call to PyUFunc_FromFuncAndData doesn't fully register ufuncs for
custom dtypes and structured array dtypes. We need to also call
-PyUFunc_RegisterLoopByDescr to finish setting up the ufunc.
+PyUFunc_RegisterLoopForDescr to finish setting up the ufunc.
We only give the C code as the setup.py file is exactly the same as
the setup.py file in `Example Numpy ufunc for one dtype`_, except that
@@ -1033,7 +1033,7 @@ The C file is given below.
dtypes[2] = dtype;
/* Register ufunc for structured dtype */
- PyUFunc_RegisterLoopByDescr(add_triplet,
+ PyUFunc_RegisterLoopForDescr(add_triplet,
dtype,
&add_uint64_triplet,
dtypes,