## libuv is still fast moving target ## This file was last updated against a development HEAD revision of https://github.com/joyent/libuv/ ## Use the following link to see changes (in uv.h) since then and don't forget to update the information here. ## https://github.com/joyent/libuv/compare/9f6024a6fa9d254527b4b59af724257df870288b...master when defined(Windows): import winlean else: import posix type TPort* = distinct int16 ## port type cssize = int coff = int csize = int AllocProc* = proc (handle: PHandle, suggested_size: csize): TBuf {.cdecl.} ReadProc* = proc (stream: PStream, nread: cssize, buf: TBuf) {.cdecl.} ReadProc2* = proc (stream: PPipe, nread: cssize, buf: TBuf, pending: THandleType) {.cdecl.} WriteProc* = proc (req: PWrite, status: cint) {.cdecl.} ConnectProc* = proc (req: PConnect, status: cint) {.cdecl.} ShutdownProc* = proc (req: PShutdown, status: cint) {.cdecl.} ConnectionProc* = proc (server: PStream, status: cint) {.cdecl.} CloseProc* = proc (handle: PHandle) {.cdecl.} TimerProc* = proc (handle: PTimer, status: cint) {.cdecl.} AsyncProc* = proc (handle: PAsync, status: cint) {.cdecl.} PrepareProc* = proc (handle: PPrepare, status: cint) {.cdecl.} CheckProc* = proc (handle: PCheck, status: cint) {.cdecl.} IdleProc* = proc (handle: PIdle, status: cint) {.cdecl.} PSockAddr* = ptr TSockAddr GetAddrInfoProc* = proc (handle: PGetAddrInfo, status: cint, res: ptr TAddrInfo) ExitProc* = proc (a2: PProcess, exit_status: cint, term_signal: cint) FsProc* = proc (req: pFS) WorkProc* = proc (req: PWork) AfterWorkProc* = proc (req: PWork) FsEventProc* = proc (handle: PFsEvent, filename: cstring, events: cint, status: cint) TErrorCode* {.size: sizeof(cint).} = enum UNKNOWN = - 1, OK = 0, EOF, EACCESS, EAGAIN, EADDRINUSE, EADDRNOTAVAIL, EAFNOSUPPORT, EALREADY, EBADF, EBUSY, ECONNABORTED, ECONNREFUSED, ECONNRESET, EDESTADDRREQ, EFAULT, EHOSTUNREACH, EINTR, EINVAL, EISCONN, EMFILE, EMSGSIZE, ENETDOWN, ENETUNREACH, ENFILE, ENOBUFS, ENOMEM, ENONET, ENOPROTOOPT, ENOTCONN, ENOTSOCK, ENOTSUP, ENOENT, EPIPE, EPROTO, EPROTONOSUPPORT, EPROTOTYPE, ETIMEDOUT, ECHARSET, EAIFAMNOSUPPORT, EAINONAME, EAISERVICE, EAISOCKTYPE, ESHUTDOWN, EEXIST THandleType* {.size: sizeof(cint).} = enum UNKNOWN_HANDLE = 0, TCP, UDP, NAMED_PIPE, TTY, FILE, TIMER, PREPARE, CHECK, IDLE, ASYNC, ARES_TASK, ARES_EVENT, PROCESS, FS_EVENT TReqType* {.size: sizeof(cint).} = enum rUNKNOWN_REQ = 0, rCONNECT, rACCEPT, rREAD, rWRITE, rSHUTDOWN, rWAKEUP, rUDP_SEND, rFS, rWORK, rGETADDRINFO, rREQ_TYPE_PRIVATE TErr* {.pure, final, importc: "uv_err_t", header: "uv.h".} = object code* {.importc: "code".}: TErrorCode sys_errno* {.importc: "sys_errno_".}: cint TFsEventType* = enum evRENAME = 1, evCHANGE = 2 TFsEvent* {.pure, final, importc: "uv_fs_event_t", header: "uv.h".} = object loop* {.importc: "loop".}: PLoop typ* {.importc: "type".}: THandleType close_cb* {.importc: "close_cb".}: CloseProc data* {.importc: "data".}: pointer filename {.importc: "filename".}: cstring PFsEvent* = ptr TFsEvent TFsEvents* {.pure, final, importc: "uv_fs_event_t", header: "uv.h".} = object loop* {.importc: "loop".}: PLoop typ* {.importc: "type".}: THandleType close_cb* {.importc: "close_cb".}: CloseProc data* {.importc: "data".}: pointer filename* {.importc: "filename".}: cstring TBuf* {.pure, final, importc: "uv_buf_t", header: "uv.h"} = object base* {.importc: "base".}: cstring len* {.importc: "len".}: csize TAnyHandle* {.pure, final, importc: "uv_any_handle", header: "uv.h".} = object tcp* {.importc: "tcp".}: TTcp pipe* {.importc: "pipe".}: TPipe prepare* {.importc: "prepare".}: TPrepare check* {.importc: "check".}: TCheck idle* {.importc: "idle".}: TIdle async* {.importc: "async".}: TAsync timer* {.importc: "timer".}: TTimer getaddrinfo* {.importc: "getaddrinfo".}: TGetaddrinfo fs_event* {.importc: "fs_event".}: TFsEvents TAnyReq* {.pure, final, importc: "uv_any_req", header: "uv.h".} = object req* {.importc: "req".}: TReq write* {.importc: "write".}: TWrite connect* {.importc: "connect".}: TConnect shutdown* {.importc: "shutdown".}: TShutdown fs_req* {.importc: "fs_req".}: Tfs work_req* {.importc: "work_req".}: TWork ## better import this uint64 = int64 TCounters* {.pure, final, importc: "uv_counters_t", header: "uv.h".} = object eio_init* {.importc: "eio_init".}: uint64 req_init* {.importc: "req_init".}: uint64 handle_init* {.importc: "handle_init".}: uint64 stream_init* {.importc: "stream_init".}: uint64 tcp_init* {.importc: "tcp_init".}: uint64 udp_init* {.importc: "udp_init".}: uint64 pipe_init* {.importc: "pipe_init".}: uint64 tty_init* {.importc: "tty_init".}: uint64 prepare_init* {.importc: "prepare_init".}: uint64 check_init* {.importc: "check_init".}: uint64 idle_init* {.importc: "idle_init".}: uint64 async_init* {.importc: "async_init".}: uint64 timer_init* {.importc: "timer_init".}: uint64 process_init* {.importc: "process_init".}: uint64 fs_event_init* {.importc: "fs_event_init".}: uint64 TLoop* {.pure, final, importc: "uv_loop_t", header: "uv.h".} = object # ares_handles_* {.importc: "uv_ares_handles_".}: pointer # XXX: This seems to be a private field? eio_want_poll_notifier* {.importc: "uv_eio_want_poll_notifier".}: TAsync eio_done_poll_notifier* {.importc: "uv_eio_done_poll_notifier".}: TAsync eio_poller* {.importc: "uv_eio_poller".}: TIdle counters* {.importc: "counters".}: TCounters last_err* {.importc: "last_err".}: TErr data* {.importc: "data".}: pointer PLoop* = ptr TLoop TShutdown* {.pure, final, importc: "uv_shutdown_t", header: "uv.h".} = object typ* {.importc: "type".}: TReqType data*
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module ranger.gui.mouse_event</title>
</head><body bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.gui.html"><font color="#ffffff">gui</font></a>.mouse_event</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/ranger/ranger/gui/mouse_event.py">/home/hut/ranger/ranger/gui/mouse_event.py</a></font></td></tr></table>
<p><tt># Copyright (C) 2009, 2010 Roman Zimbelmann <romanz@lavabit.com><br>
#<br>
# This program is free software: you can redistribute it and/or modify<br>
# it under the terms of the GNU General Public License as published by<br>
# the Free Software Foundation, either version 3 of the License, or<br>
# (at your option) any later version.<br>
#<br>
# This program is distributed in the hope that it will be useful,<br>
# but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
# GNU General Public License for more details.<br>
#<br>
# You should have received a copy of the GNU General Public License<br>
# along with this program. If not, see <<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="curses.html">curses</a><br>
</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width