lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Turn it around and manually export the functions you want to export.

Mark

on 6/13/03 1:06 AM, Enrico Colombini at erix@erix.it wrote:

> On Thursday 12 June 2003 22:51, Nick Trout wrote:
>> I disabled the "unsafe" functions by doing something like:
>> openfile = function() print("unsafe") end
> 
> This works fine for statically linked code including the Lua interpreter, but
> could break when used with a resident Lua interpreter, if the latter is
> updated to a new version containing additional functions.
> 
> Enrico
>