diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-09-06 16:31:13 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-09-06 16:31:13 -0700 |
commit | 3d57e14df7ba5f14a634295caf3b2e60da50bfe2 (patch) | |
tree | 4903bcb79a49ad714a1a9129765b9545405c9978 /python/gevent/libev/callbacks.h | |
parent | ac32b24b2a011292b704a3f27e8fd08a7ae9424b (diff) | |
download | yt-local-3d57e14df7ba5f14a634295caf3b2e60da50bfe2.tar.lz yt-local-3d57e14df7ba5f14a634295caf3b2e60da50bfe2.tar.xz yt-local-3d57e14df7ba5f14a634295caf3b2e60da50bfe2.zip |
Remove windows python distribution from repo and add requirements.txt
Diffstat (limited to 'python/gevent/libev/callbacks.h')
-rw-r--r-- | python/gevent/libev/callbacks.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/python/gevent/libev/callbacks.h b/python/gevent/libev/callbacks.h deleted file mode 100644 index ed87224..0000000 --- a/python/gevent/libev/callbacks.h +++ /dev/null @@ -1,38 +0,0 @@ -struct ev_loop; -struct PyGeventLoopObject; -struct PyGeventCallbackObject; - -#define DEFINE_CALLBACK(WATCHER_LC, WATCHER_TYPE) \ - void gevent_callback_##WATCHER_LC(struct ev_loop *, void *, int); - - -#define DEFINE_CALLBACKS0 \ - DEFINE_CALLBACK(io, IO); \ - DEFINE_CALLBACK(timer, Timer); \ - DEFINE_CALLBACK(signal, Signal); \ - DEFINE_CALLBACK(idle, Idle); \ - DEFINE_CALLBACK(prepare, Prepare); \ - DEFINE_CALLBACK(check, Check); \ - DEFINE_CALLBACK(fork, Fork); \ - DEFINE_CALLBACK(async, Async); \ - DEFINE_CALLBACK(stat, Stat); \ - DEFINE_CALLBACK(child, Child); - - -#define DEFINE_CALLBACKS DEFINE_CALLBACKS0 - - -DEFINE_CALLBACKS - - -void gevent_run_callbacks(struct ev_loop *, void *, int); - - - -void gevent_call(struct PyGeventLoopObject* loop, struct PyGeventCallbackObject* cb); - -static void gevent_noop(struct ev_loop *_loop, void *watcher, int revents) { -} - -/* Only used on Win32 */ -void gevent_periodic_signal_check(struct ev_loop *, void *, int); |