On Tue, Sep 18, 2012 at 7:32 PM, Frédéric Bastien <no...@nouiz.org> wrote:

> Hi,
>
> I would like to reuse the code of this function: PyArray_UpdateFlags
>
> I don't find its definition in the numpy source code. In the build
> directory, it get defined in the file
> build/src.linux-x86_64-2.7/numpy/core/include/numpy/__multiarray_api.h
> like this:
>
> #define PyArray_UpdateFlags \
>         (*(void (*)(PyArrayObject *, int)) \
>          PyArray_API[92])
>
> This file is generated by this file
> numpy/core/code_generators/generate_numpy_api.py, that use the
> numpy_api_order.txt file. But I'm not able up to now to find the code
> itself. Do someone know where I can get it?
>
>
gvim numpy/core/src/multiarray/flagsobject.c +63

Chuck
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to