Is there some reason why ev_set_allocator is defined as: EV_API_DECL void ev_set_allocator (void *(*cb)(void *ptr, long size) EV_NOEXCEPT) EV_NOEXCEPT;
And not as: EV_API_DECL void ev_set_allocator (void *(*cb)(void *ptr, size_t size) EV_NOEXCEPT) EV_NOEXCEPT; Because this produces warnings when trying to use `realloc` style functions, defined as: void * realloc(void *ptr, size_t size); where size_t is unsigned. Kind regards, Samuel
_______________________________________________ libev mailing list [email protected] http://lists.schmorp.de/mailman/listinfo/libev
