lean2/tests/lua/st2.lua
Leonardo de Moura 0af8f17834 feat(lua): allow Booleans to be copied between Lua states
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-11 20:39:46 -08:00

7 lines
100 B
Lua

-- Create a nested lua_State object
S = State()
S:dostring([[
flag = ...
print(flag)
]], true)