[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LUA_DEBUG & lua_open()/close() order
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 23 Jul 2001 13:33:23 -0300
> Does building the Lua libraries with LUA_DEBUG defined, set the
> requirement that Lua states be closed opposite the order in which
> they where opened?
Partially: The first state you open must be the last to be closed (so it can
check that all memory was freed). Besides that, you can open/close states
in any order.
-- Roberto