Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
8512993a
Commit
8512993a
authored
Mar 29, 2012
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
partially re-enabled the numpy import function hack - only import_umath() is problematic
parent
d093dcc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
tests/run/numpy_common.pxi
tests/run/numpy_common.pxi
+9
-9
No files found.
tests/run/numpy_common.pxi
View file @
8512993a
#
(disabled)
hack to avoid C compiler warnings about unused functions in the NumPy header files
# hack to avoid C compiler warnings about unused functions in the NumPy header files
##
cdef extern from *:
##
bint FALSE "0"
##
void import_array()
#
# void import_umath1(void* ret
)
##
##
if FALSE:
##
import_array()
#
# import_umath1(NULL
)
cdef
extern
from
*
:
bint
FALSE
"0"
void
import_array
()
#
void import_umath(
)
if
FALSE
:
import_array
()
#
import_umath(
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment