Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: third_party/cython/src/Cython/Includes/libc/signal.pxd

Issue 385073004: Adding cython v0.20.2 in third-party. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reference cython dev list thread. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/cython/src/Cython/Includes/libc/signal.pxd
diff --git a/third_party/cython/src/Cython/Includes/libc/signal.pxd b/third_party/cython/src/Cython/Includes/libc/signal.pxd
new file mode 100644
index 0000000000000000000000000000000000000000..08d2ebfad0bd651e8ef8ef819f6c5f0b83544c52
--- /dev/null
+++ b/third_party/cython/src/Cython/Includes/libc/signal.pxd
@@ -0,0 +1,68 @@
+# 7.14 Signal handling <signal.h>
+
+ctypedef void (*sighandler_t)(int SIGNUM) nogil
+
+cdef extern from "signal.h" nogil:
+
+ ctypedef int sig_atomic_t
+
+ enum: SIGABRT
+ enum: SIGFPE
+ enum: SIGILL
+ enum: SIGINT
+ enum: SIGSEGV
+ enum: SIGTERM
+
+ sighandler_t SIG_DFL
+ sighandler_t SIG_IGN
+ sighandler_t SIG_ERR
+
+ sighandler_t signal (int signum, sighandler_t action)
+ int raise_"raise" (int signum)
+
+
+cdef extern from "signal.h" nogil:
+
+ # Program Error
+ enum: SIGFPE
+ enum: SIGILL
+ enum: SIGSEGV
+ enum: SIGBUS
+ enum: SIGABRT
+ enum: SIGIOT
+ enum: SIGTRAP
+ enum: SIGEMT
+ enum: SIGSYS
+ # Termination
+ enum: SIGTERM
+ enum: SIGINT
+ enum: SIGQUIT
+ enum: SIGKILL
+ enum: SIGHUP
+ # Alarm
+ enum: SIGALRM
+ enum: SIGVTALRM
+ enum: SIGPROF
+ # Asynchronous I/O
+ enum: SIGIO
+ enum: SIGURG
+ enum: SIGPOLL
+ # Job Control
+ enum: SIGCHLD
+ enum: SIGCLD
+ enum: SIGCONT
+ enum: SIGSTOP
+ enum: SIGTSTP
+ enum: SIGTTIN
+ enum: SIGTTOU
+ # Operation Error
+ enum: SIGPIPE
+ enum: SIGLOST
+ enum: SIGXCPU
+ enum: SIGXFSZ
+ # Miscellaneous
+ enum: SIGUSR1
+ enum: SIGUSR2
+ enum: SIGWINCH
+ enum: SIGINFO
+
« no previous file with comments | « third_party/cython/src/Cython/Includes/libc/setjmp.pxd ('k') | third_party/cython/src/Cython/Includes/libc/stddef.pxd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698