aboutsummaryrefslogtreecommitdiff
path: root/testes/coroutine.lua
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-02-15 11:17:39 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-02-15 11:17:39 -0300
commit165389b27bc54e7c5214276db177e3ef75226f18 (patch)
treef6ce6e7bff04ff6cbe735ee68d64290cc04c04bf /testes/coroutine.lua
parentc8121ce34b39c6fd31899f4da91e26063c8af54f (diff)
downloadlua-165389b27bc54e7c5214276db177e3ef75226f18.tar.gz
lua-165389b27bc54e7c5214276db177e3ef75226f18.tar.bz2
lua-165389b27bc54e7c5214276db177e3ef75226f18.zip
New interface to function 'luaL_openselectedlibs'
Instead of preloading all non-loaded libraries, there is another mask to select which libraries to preload.
Diffstat (limited to 'testes/coroutine.lua')
-rw-r--r--testes/coroutine.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/coroutine.lua b/testes/coroutine.lua
index 664ef5fa..c1252ab8 100644
--- a/testes/coroutine.lua
+++ b/testes/coroutine.lua
@@ -705,7 +705,7 @@ else
705 705
706 T.testC(state, "settop 0") 706 T.testC(state, "settop 0")
707 707
708 T.loadlib(state, 1 | 2) -- load _G and 'package' 708 T.loadlib(state, 1 | 2, 4) -- load _G and 'package', preload 'coroutine'
709 709
710 assert(T.doremote(state, [[ 710 assert(T.doremote(state, [[
711 coroutine = require'coroutine'; 711 coroutine = require'coroutine';