mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-07-12 22:03:31 +02:00
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:
@ -1,3 +1,3 @@
|
||||
require"socket"
|
||||
require"mime"
|
||||
local socket = require"socket"
|
||||
local mime = require"mime"
|
||||
print("Hello from " .. socket._VERSION .. " and " .. mime._VERSION .. "!")
|
||||
|
Reference in New Issue
Block a user