mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
Merge branch 'master' into v2.1
This commit is contained in:
commit
cb0f124f8f
@ -427,7 +427,9 @@ the toolchain used to compile LuaJIT:
|
|||||||
on the C stack. The contents of the C++ exception object
|
on the C stack. The contents of the C++ exception object
|
||||||
pass through unmodified.</li>
|
pass through unmodified.</li>
|
||||||
<li>Lua errors can be caught on the C++ side with <tt>catch(...)</tt>.
|
<li>Lua errors can be caught on the C++ side with <tt>catch(...)</tt>.
|
||||||
The corresponding Lua error message can be retrieved from the Lua stack.</li>
|
The corresponding Lua error message can be retrieved from the Lua stack.<br>
|
||||||
|
For MSVC for Windows 64 bit this requires compilation of your C++ code
|
||||||
|
with <tt>/EHa</tt>.</li>
|
||||||
<li>Throwing Lua errors across C++ frames is safe. C++ destructors
|
<li>Throwing Lua errors across C++ frames is safe. C++ destructors
|
||||||
will be called.</li>
|
will be called.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user