ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.h
(Generate patch)

Comparing libev/ev.h (file contents):
Revision 1.74 by root, Wed Nov 28 11:15:55 2007 UTC vs.
Revision 1.75 by root, Wed Nov 28 17:32:24 2007 UTC

64# define EV_EMBED_ENABLE 1 64# define EV_EMBED_ENABLE 1
65#endif 65#endif
66 66
67/*****************************************************************************/ 67/*****************************************************************************/
68 68
69#include <stddef.h> /* for size_t */
70
71#if EV_STAT_ENABLE 69#if EV_STAT_ENABLE
72# include <sys/stat.h> 70# include <sys/stat.h>
73#endif 71#endif
74 72
75/* support multiple event loops? */ 73/* support multiple event loops? */
336 * It is used to allocate and free memory. 334 * It is used to allocate and free memory.
337 * If it returns zero when memory needs to be allocated, the library might abort 335 * If it returns zero when memory needs to be allocated, the library might abort
338 * or take some potentially destructive action. 336 * or take some potentially destructive action.
339 * The default is your system realloc function. 337 * The default is your system realloc function.
340 */ 338 */
341void ev_set_allocator (void *(*cb)(void *ptr, size_t size)); 339void ev_set_allocator (void *(*cb)(void *ptr, long size));
342 340
343/* set the callback function to call on a 341/* set the callback function to call on a
344 * retryable syscall error 342 * retryable syscall error
345 * (such as failed select, poll, epoll_wait) 343 * (such as failed select, poll, epoll_wait)
346 */ 344 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines