diff options
author | Axel Huebl <axel.huebl@plasma.ninja> | 2022-03-25 23:58:02 -0700 |
---|---|---|
committer | Axel Huebl <axel.huebl@plasma.ninja> | 2022-03-26 00:05:58 -0700 |
commit | 45b049dced8d846647546759598c9665a1398a92 (patch) | |
tree | 8bb36a9feefe7c822bf394a1276b50e4129ad963 /numpy/array_api/_constants.py | |
parent | 72b1203d4b4979e52a14e7bc3cd42704f69ead12 (diff) | |
download | numpy-45b049dced8d846647546759598c9665a1398a92.tar.gz |
DOC: Improve Array Interface `data`
The previous guidance on the integer type of `data` was a bit
misleading in practice and has now been improved.
In practice, Unix is fine with `int` (32bit) and `long` (64bit),
but Windows requires `long long` to hold a pointer.
https://en.cppreference.com/w/cpp/language/types
In order not to complicate the guidance, recommend the `intptr_t`
type explicitly.
Diffstat (limited to 'numpy/array_api/_constants.py')
0 files changed, 0 insertions, 0 deletions