New interface to function 'luaL_openselectedlibs'

Instead of preloading all non-loaded libraries, there is another
mask to select which libraries to preload.
This commit is contained in:
Roberto Ierusalimschy committed 2024-02-15 11:17:39 -03:00
1 parent c8121ce34b
commit 165389b27b
8 files changed
+80 -56

No files matched your search

+1 -1
View File
@@ -358,7 +358,7 @@ item = function (s)
local t, p = string.match(s, "^([^\n|]+)|()")
if t then
s = string.sub(s, p)
s = Tag.b(t..": ") .. s
s = Tag.b(t) ..": " .. s
end
return Tag.li(fixpara(s))
end,