Dear Marc,
I have read in
http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#GLOBAL_FUNCTIONS
about ev_set_allocator
.
.
ev_set_allocator (void *(*cb)(void *ptr, long size)) [NOT REENTRANT]
It is used to allocate and free memory
###
I have try to use http://talloc.samba.org/ like
ev_set_allocator(talloc_size)
Sig: void *talloc_size(const void *context, size_t size);
I need to call talloc_free but I can't find a function like
ev_set_deallocator(talloc_free)
Sig: int talloc_free(void *ptr);
http://samba.org/ftp/unpacked/talloc/talloc_guide.txt
Mybe I have overseen or missunderstand something.
Thanks for help.
BR
Aleks
_______________________________________________
libev mailing list
libev@lists.schmorp.de
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev