diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-05-22 19:11:48 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-05-22 19:11:48 +0000 |
commit | 0b22ca192991aa5fa95e958cd6b010d89915bdb3 (patch) | |
tree | 8f08bed1251acdbe64826c97a39dc307350431fc /iocp-internal.h | |
parent | 7289d7f80071cffe1b0e4886c9efc6d688f6d3b1 (diff) | |
download | libevent-0b22ca192991aa5fa95e958cd6b010d89915bdb3.tar.gz |
Use ev_ssize_t in place of ssize_t *everywhere*.
svn:r1309
Diffstat (limited to 'iocp-internal.h')
-rw-r--r-- | iocp-internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iocp-internal.h b/iocp-internal.h index ac76e848..f03409f1 100644 --- a/iocp-internal.h +++ b/iocp-internal.h @@ -34,7 +34,7 @@ extern "C" { struct event_overlapped; struct event_iocp_port; struct evbuffer; -typedef void (*iocp_callback)(struct event_overlapped *, uintptr_t, ssize_t); +typedef void (*iocp_callback)(struct event_overlapped *, uintptr_t, ev_ssize_t); /* This whole file is actually win32 only. We wrap the structures in a win32 * ifdef so that we can test-compile code that uses these interfaces on @@ -122,7 +122,7 @@ int evbuffer_launch_read(struct evbuffer *, size_t n); @param n The number of bytes to try to read. @return 0 on success, -1 on error. */ -int evbuffer_launch_write(struct evbuffer *, ssize_t n); +int evbuffer_launch_write(struct evbuffer *, ev_ssize_t n); /** Create an IOCP, and launch its worker threads. Internal use only. |