[Numpy-discussion] Where is the code for PyArray_UpdateFlags?

Frédéric Bastien nouiz@nouiz....
Tue Sep 18 21:01:41 CDT 2012


Hi

I had done a checkout of a old version of numpy where this file didn't
existed. It is there in the trunk.

thanks

Fred

On Tue, Sep 18, 2012 at 9:43 PM, Charles R Harris
<charlesr.harris@gmail.com> wrote:
>
>
> On Tue, Sep 18, 2012 at 7:32 PM, Frédéric Bastien <nouiz@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
>


More information about the NumPy-Discussion mailing list