On Sun, Oct 18, 2009 at 01:31:21AM +0200, Aleksandar Lazic <[email protected]>
wrote:
> 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);
That's not the corretc function - talloc expects a context pointer, which
libev knows nothing about.
> I need to call talloc_free but I can't find a function like
The allocator works (as the documentation points out) like realloc, ad in
factm the talloc_realloc function is what you need (with an appropriate
wrapper).
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / [email protected]
-=====/_/_//_/\_,_/ /_/\_\
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev