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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
ced17f89
Commit
ced17f89
authored
Sep 04, 2015
by
Jeroen Demeyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Additions to includes
parent
1ea0816e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
3 deletions
+27
-3
Cython/Includes/libc/setjmp.pxd
Cython/Includes/libc/setjmp.pxd
+5
-0
Cython/Includes/posix/select.pxd
Cython/Includes/posix/select.pxd
+19
-0
Cython/Includes/posix/signal.pxd
Cython/Includes/posix/signal.pxd
+3
-3
No files found.
Cython/Includes/libc/setjmp.pxd
View file @
ced17f89
...
@@ -3,3 +3,8 @@ cdef extern from "setjmp.h" nogil:
...
@@ -3,3 +3,8 @@ cdef extern from "setjmp.h" nogil:
pass
pass
int
setjmp
(
jmp_buf
state
)
int
setjmp
(
jmp_buf
state
)
void
longjmp
(
jmp_buf
state
,
int
value
)
void
longjmp
(
jmp_buf
state
,
int
value
)
ctypedef
struct
sigjmp_buf
:
pass
int
sigsetjmp
(
sigjmp_buf
state
,
int
savesigs
)
void
siglongjmp
(
sigjmp_buf
state
,
int
value
)
Cython/Includes/posix/select.pxd
0 → 100644
View file @
ced17f89
from
.types
cimport
sigset_t
from
.time
cimport
timeval
,
timespec
cdef
extern
from
"sys/select.h"
nogil
:
ctypedef
struct
fd_set
:
pass
int
FD_SETSIZE
void
FD_SET
(
int
,
fd_set
*
)
void
FD_CLR
(
int
,
fd_set
*
)
bint
FD_ISSET
(
int
,
fd_set
*
)
void
FD_ZERO
(
fd_set
*
)
int
select
(
int
nfds
,
fd_set
*
readfds
,
fd_set
*
writefds
,
fd_set
*
exceptfds
,
const
timeval
*
timeout
)
int
pselect
(
int
nfds
,
fd_set
*
readfds
,
fd_set
*
writefds
,
fd_set
*
exceptfds
,
const
timespec
*
timeout
,
const
sigset_t
*
sigmask
)
Cython/Includes/posix/signal.pxd
View file @
ced17f89
...
@@ -12,7 +12,7 @@ cdef extern from "signal.h" nogil:
...
@@ -12,7 +12,7 @@ cdef extern from "signal.h" nogil:
int
sigev_notify
int
sigev_notify
int
sigev_signo
int
sigev_signo
sigval
sigev_value
sigval
sigev_value
void
*
sigev_notify_function
(
sigval
)
void
sigev_notify_function
(
sigval
)
ctypedef
struct
siginfo_t
:
ctypedef
struct
siginfo_t
:
int
si_signo
int
si_signo
...
@@ -26,10 +26,10 @@ cdef extern from "signal.h" nogil:
...
@@ -26,10 +26,10 @@ cdef extern from "signal.h" nogil:
sigval
si_value
sigval
si_value
cdef
struct
sigaction_t
"sigaction"
:
cdef
struct
sigaction_t
"sigaction"
:
void
*
sa_handler
(
int
)
void
sa_handler
(
int
)
void
sa_sigaction
(
int
,
siginfo_t
*
,
void
*
)
sigset_t
sa_mask
sigset_t
sa_mask
int
sa_flags
int
sa_flags
void
sa_sigaction
(
int
,
siginfo_t
*
,
void
*
)
enum
:
SA_NOCLDSTOP
enum
:
SA_NOCLDSTOP
enum
:
SIG_BLOCK
enum
:
SIG_BLOCK
...
...
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