#19 allow replacing event framework memory allocation functions
Closed: Fixed None Opened 8 years ago by rmeggins.

copied from https://fedorahosted.org/389/ticket/48102

For example, libevent has
{{{
void event_set_mem_functions(
void (malloc_fn)(size_t sz),
void (realloc_fn)(void ptr, size_t sz),
void (
free_fn)(void *ptr));
}}}

tevent is unique - it is built on top of talloc, a memory allocation library with some interesting features such as constructor/destructor-like functions. So we can't change tevent.

commit 847d3bc
Author: Mark Reynolds ​mreynolds@redhat.com
Date: Fri Mar 6 11:34:38 2015 -0500


Login to comment on this ticket.

Metadata