The Lua runtime library is built in two variants: ANSI C and C++. The C++ provides all Lua API function with C++ linkage and uses C++ exceptions instead of setjmp/longjmp for protected execution of Lua chunks. The ported version of Lua is 5.1.5.