[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: LuaJIT, x86, C++ without exceptions, and errors
- From: Christian Tellefsen <christian.tellefsen@...>
- Date: Tue, 15 Feb 2011 12:33:09 +0100
I'm working on an application that is written in C++, with exceptions
disabled, and compiled on Windows x86. LuaJIT is linked statically with
I see that it says in the LuaJIT docs that "Lua errors cannot be caught
on the C++ side". Does this mean that there is no way to detect an error
in a Lua script, report it, and then continue execution afterwards, when
using LuaJIT on this platform?
Also, I get a crash when doing this a second time:
lua_State * L = lua_open();
Is this an incorrect way of creating 2 completely separate Lua states
when using LuaJIT 2.0.0 beta 6? As far as I can tell, it works fine on
vanilla Lua 5.1.4.