mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-07 21:58:35 +02:00
neutrino: add luajit
Luajit is a dynamic scripting language completely compatible to lua 5.1. the whole VM has been rewritten from the ground up and is relentlessly optimized for performance. It combines a high-speed interpreter, written in assembler, with a state-of-the-art JIT compiler. A substantial reduction of the overhead associated with dynamic languages allows it to break into the performance range traditionally reserved for offline, static language compilers. https://luajit.org/luajit.html https://github.com/LuaJIT/LuaJIT/tree/master There was additional code needed to enable neutrino to compile against lua 5.1. This was mostly taken from the luaposix compat-headers. There are still some minor issue that will be easy to fix but it's up and running so damn fast! Signed-off-by: Markus Volk <f_l_k@t-online.de>
This commit is contained in:
@@ -20,6 +20,10 @@
|
||||
#ifndef _LUAVIDEO_H
|
||||
#define _LUAVIDEO_H
|
||||
|
||||
#if LUA_COMPAT_5_2
|
||||
void lua_rawsetp (lua_State *L, int i, const void *p);
|
||||
#endif
|
||||
|
||||
class CLuaVideo
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user