-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RF: refactor import_array as documented
Instead of calling `import_array()` in every C function, use the method of sharing the numpy API pointer table documented here: http://docs.scipy.org/doc/numpy/reference/c-api.array.html#importing-the-api Also, deal with different return types from `import_array()` in Python 3 and Python 2 - see http://mail.scipy.org/pipermail/numpy-discussion/2010-December/054345.html
- Loading branch information
1 parent
ded2e3d
commit 0471c74
Showing
16 changed files
with
7,001 additions
and
5,626 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.