Build with Lua 5.2 without LUA_COMPAT_MODULE flag.
LUASOCKET_USE_GLOBAL flag enable create global variables when load socket/mime modules.
This commit is contained in:
parent
bd51d8c1a5
commit
920bc97629
14 changed files with 179 additions and 115 deletions
|
@ -1,3 +1,3 @@
|
|||
require"socket"
|
||||
require"mime"
|
||||
local socket = require"socket"
|
||||
local mime = require"mime"
|
||||
print("Hello from " .. socket._VERSION .. " and " .. mime._VERSION .. "!")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue