diff options
author | Luis Pedro Coelho <luis@luispedro.org> | 2012-12-03 11:06:02 +0000 |
---|---|---|
committer | Luis Pedro Coelho <luis@luispedro.org> | 2012-12-03 11:06:02 +0000 |
commit | 7855b2605d96a5b9efe1ae48cb8d7554caaba1de (patch) | |
tree | 1cb3ff809de75d5cea9e35031286263c95daed05 /numpy/doc/basics.py | |
parent | a289be867f810e076eec4558610032bf4bc5a174 (diff) | |
download | numpy-7855b2605d96a5b9efe1ae48cb8d7554caaba1de.tar.gz |
API Make PyArray_DATA return void*
PyArray_DATA is documented as returning void*. Changing it to return
char* breaks code such as (in C++)::
float* my_floats = static_cast<float*>(PyArray_DATA(my_array));
PyArray_BYTES returns char*, but is otherwise the same function.
Diffstat (limited to 'numpy/doc/basics.py')
0 files changed, 0 insertions, 0 deletions