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
7bc65bef
Commit
7bc65bef
authored
Aug 16, 2016
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a couple more system header includes.
parent
f0ccd685
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Cython/Utility/MemoryView.pyx
Cython/Utility/MemoryView.pyx
+4
-4
No files found.
Cython/Utility/MemoryView.pyx
View file @
7bc65bef
...
@@ -19,7 +19,7 @@ cdef extern from "pythread.h":
...
@@ -19,7 +19,7 @@ cdef extern from "pythread.h":
int
PyThread_acquire_lock
(
PyThread_type_lock
,
int
mode
)
nogil
int
PyThread_acquire_lock
(
PyThread_type_lock
,
int
mode
)
nogil
void
PyThread_release_lock
(
PyThread_type_lock
)
nogil
void
PyThread_release_lock
(
PyThread_type_lock
)
nogil
cdef
extern
from
"
string.h
"
:
cdef
extern
from
"
<string.h>
"
:
void
*
memset
(
void
*
b
,
int
c
,
size_t
len
)
void
*
memset
(
void
*
b
,
int
c
,
size_t
len
)
cdef
extern
from
*
:
cdef
extern
from
*
:
...
@@ -87,7 +87,7 @@ cdef extern from *:
...
@@ -87,7 +87,7 @@ cdef extern from *:
int
ndim
,
size_t
itemsize
)
nogil
int
ndim
,
size_t
itemsize
)
nogil
cdef
extern
from
"
stdlib.h
"
:
cdef
extern
from
"
<stdlib.h>
"
:
void
*
malloc
(
size_t
)
nogil
void
*
malloc
(
size_t
)
nogil
void
free
(
void
*
)
nogil
void
free
(
void
*
)
nogil
void
*
memcpy
(
void
*
dest
,
void
*
src
,
size_t
n
)
nogil
void
*
memcpy
(
void
*
dest
,
void
*
src
,
size_t
n
)
nogil
...
@@ -773,11 +773,11 @@ cdef memoryview memview_slice(memoryview memview, object indices):
...
@@ -773,11 +773,11 @@ cdef memoryview memview_slice(memoryview memview, object indices):
### Slicing in a single dimension of a memoryviewslice
### Slicing in a single dimension of a memoryviewslice
#
#
cdef
extern
from
"
stdlib.h
"
:
cdef
extern
from
"
<stdlib.h>
"
:
void
abort
()
nogil
void
abort
()
nogil
void
printf
(
char
*
s
,
...)
nogil
void
printf
(
char
*
s
,
...)
nogil
cdef
extern
from
"
stdio.h
"
:
cdef
extern
from
"
<stdio.h>
"
:
ctypedef
struct
FILE
ctypedef
struct
FILE
FILE
*
stderr
FILE
*
stderr
int
fputs
(
char
*
s
,
FILE
*
stream
)
int
fputs
(
char
*
s
,
FILE
*
stream
)
...
...
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