[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua_setallocf question
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 29 Sep 2008 10:57:34 -0300
> I'm just starting with Lua embedding, but what use does lua_setallocf
> have? It seems extremely dangerous in general due to the potential
> allocator mismatch issue.
Besides Alex's suggestions, another use is to insert probes around
the original allocator. But certainly it is an "extremely dangerous"
function.
-- Roberto