|
On 12 March 2010 19:53, Gaspard Bucher <gaspard@teti.ch> wrote:Is the following note in the README still accurate?
> Thanks for the reply. I just adapted Dub to wrap the calls with try/catch
> blocks (which can be specialized for library specific exceptions) and it
> works fine. All calls to lua use pcall so the C++ to Lua interface should be
> safe.
"Since this generator uses C++ code and memory allocation, you MUST
compile Lua as C++ code to avoid memory leaks (error handling should
use exceptions instead of longjmp)."
Alex