Robin Gareus
f2ca0c144b
Add custom API to prevent Lua Objects from being garbage collected. This is intended to for Ardour LuaBridge bindings (~1MB Objects: tables, functions and userdata). The bindings are persistent and the gc can skip them in mark & sweep phases. This is a significant performance improvement for garbage collection. Note. The next version of Lua (5.4) will come with a generational-gc rather than an incremental, so extending the API at this point in time is acceptable. |
||
---|---|---|
.. | ||
lapi.c | ||
lapi.h | ||
lauxlib.c | ||
lauxlib.h | ||
lbaselib.c | ||
lbitlib.c | ||
lcode.c | ||
lcode.h | ||
lcorolib.c | ||
lctype.c | ||
lctype.h | ||
ldblib.c | ||
ldebug.c | ||
ldebug.h | ||
ldo.c | ||
ldo.h | ||
ldump.c | ||
lfunc.c | ||
lfunc.h | ||
lgc.c | ||
lgc.h | ||
linit.c | ||
liolib.c | ||
llex.c | ||
llex.h | ||
llimits.h | ||
lmathlib.c | ||
lmem.c | ||
lmem.h | ||
loadlib.c | ||
lobject.c | ||
lobject.h | ||
lopcodes.c | ||
lopcodes.h | ||
loslib.c | ||
lparser.c | ||
lparser.h | ||
lprefix.h | ||
lstate.c | ||
lstate.h | ||
lstring.c | ||
lstring.h | ||
lstrlib.c | ||
ltable.c | ||
ltable.h | ||
ltablib.c | ||
ltm.c | ||
ltm.h | ||
lua.c | ||
lua.h | ||
lua.hpp | ||
luac.c | ||
luaconf.h | ||
lualib.h | ||
lundump.c | ||
lundump.h | ||
lutf8lib.c | ||
lvm.c | ||
lvm.h | ||
lzio.c | ||
lzio.h | ||
README |
This is Lua 5.3.4, released on 12 Jan 2017.
The Lua source is imported in the repository in order to ensure that it
is compiled with the same C++ compiler as Ardour (setjmp/longjmp, exceptions)
and available on all platforms that Ardour is.
This directory contains files from src/ directory from lua-5.3.3.
The original source can be downloaded from https://www.lua.org/ftp/lua-5.3.3.tar.gz
Copyright © 1994–2016 Lua.org, PUC-Rio.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.