Skip to content

Fix PyArray_BYTES return type. #121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 27, 2011
Merged

Conversation

mdboom
Copy link
Contributor

@mdboom mdboom commented Jul 27, 2011

In the old API, PyArray_DATA and PyArray_BYTES differ in that DATA returns a (void *) and BYTES returns a (char *).

matplotlib builds were failing because PyArray_BYTES was returning a (void *).

…turns a (void *) and BYTES returns a (char *).

matplotlib builds were failing because PyArray_BYTES was returning a (void *).
mwiebe added a commit that referenced this pull request Jul 27, 2011
@mwiebe mwiebe merged commit d5b29c4 into numpy:master Jul 27, 2011
luyahan pushed a commit to plctlab/numpy that referenced this pull request Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants