summaryrefslogtreecommitdiff
path: root/numpy/doc/basics.py
diff options
context:
space:
mode:
authorLuis Pedro Coelho <luis@luispedro.org>2012-12-03 11:06:02 +0000
committerLuis Pedro Coelho <luis@luispedro.org>2012-12-03 11:06:02 +0000
commit7855b2605d96a5b9efe1ae48cb8d7554caaba1de (patch)
tree1cb3ff809de75d5cea9e35031286263c95daed05 /numpy/doc/basics.py
parenta289be867f810e076eec4558610032bf4bc5a174 (diff)
downloadnumpy-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