diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2022-12-07 15:12:52 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2022-12-07 15:12:52 -0300 |
commit | d738c8d18bcc5651109b3a46103d6aa983772e68 (patch) | |
tree | e66f2f38d7cc1600da3ea19b134c7c21636a3870 /testes/coroutine.lua | |
parent | 0270c204c235a495ce4702ac3891eb30752d0c8d (diff) | |
download | lua-d738c8d18bcc5651109b3a46103d6aa983772e68.tar.gz lua-d738c8d18bcc5651109b3a46103d6aa983772e68.tar.bz2 lua-d738c8d18bcc5651109b3a46103d6aa983772e68.zip |
New function 'luaL_openselectedlibs'
Makes it easier to start Lua with only some standard libraries.
Diffstat (limited to 'testes/coroutine.lua')
-rw-r--r-- | testes/coroutine.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/coroutine.lua b/testes/coroutine.lua index 15fccc30..f05672a5 100644 --- a/testes/coroutine.lua +++ b/testes/coroutine.lua | |||
@@ -694,7 +694,7 @@ else | |||
694 | 694 | ||
695 | T.testC(state, "settop 0") | 695 | T.testC(state, "settop 0") |
696 | 696 | ||
697 | T.loadlib(state) | 697 | T.loadlib(state, 1 | 2) -- load _G and 'package' |
698 | 698 | ||
699 | assert(T.doremote(state, [[ | 699 | assert(T.doremote(state, [[ |
700 | coroutine = require'coroutine'; | 700 | coroutine = require'coroutine'; |