mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 13:04:23 -04:00
Finish implementing new convention that whenever an optional function is declared, a corresponding macro is defined.
svn:r1361
This commit is contained in:
parent
a386fde321
commit
d3bef1a1e3
@ -591,6 +591,7 @@ int event_priority_set(struct event *, int);
|
|||||||
void event_set_mem_functions(void *(*malloc_fn)(size_t sz),
|
void event_set_mem_functions(void *(*malloc_fn)(size_t sz),
|
||||||
void *(*realloc_fn)(void *ptr, size_t sz),
|
void *(*realloc_fn)(void *ptr, size_t sz),
|
||||||
void (*free_fn)(void *ptr));
|
void (*free_fn)(void *ptr));
|
||||||
|
#define EVENT_SET_MEM_FUNCTIONS_IMPLEMENTED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void event_base_dump_events(struct event_base *, FILE *);
|
void event_base_dump_events(struct event_base *, FILE *);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user