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
27916f4a
Commit
27916f4a
authored
9 years ago
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #438 from jdemeyer/signal_includes
Additions to includes
parents
91cc0e27
ced17f89
Changes
3
Show 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 @
27916f4a
...
@@ -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
)
This diff is collapsed.
Click to expand it.
Cython/Includes/posix/select.pxd
0 → 100644
View file @
27916f4a
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
)
This diff is collapsed.
Click to expand it.
Cython/Includes/posix/signal.pxd
View file @
27916f4a
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
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