[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lua-l
Subject:    Re: Setting the lua environment
From:       Martin Slater <mslater () hellinc ! net>
Date:       2005-06-29 9:28:52
Message-ID: 42C269D4.2030603 () hellinc ! net
[Download RAW message or body]


I've solved this by avoiding lua_setfenv entirely and just managing a 
global variable stack c side that resets the correct ones on function 
exit. Much simpler than the alternatives.

cheers

Martin


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.6/33 - Release Date: 28/06/2005


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic