|
On 22/09/2012 19.42, Jeremy Carter wrote:
When running some Lua script through the C API, and the script assigns a custom _ENV (a sandbox whitelist) and then assigns some variables, how can I access those variables later from the C API?
If I understood correctly what you're doing, you should find any 'global' created by your sandboxed function inside your sandbox_env table.
-- Enrico