aboutsummaryrefslogtreecommitdiffstats
path: root/lua/inet/init.lua
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <ast@2e8.dk>2019-07-17 22:08:26 +0000
committerAsbjørn Sloth Tønnesen <ast@2e8.dk>2019-07-17 22:08:26 +0000
commit54251356a23468136f6226134b0f8524a6ae3523 (patch)
tree68505000dbc9b7174d9b2a758a0d593b1dcd6391 /lua/inet/init.lua
parentd9391277ce7cf8c47346da0df9a12d7ac36c9d56 (diff)
downloadlua-inet-54251356a23468136f6226134b0f8524a6ae3523.tar.gz
lua-inet-54251356a23468136f6226134b0f8524a6ae3523.tar.xz
lua-inet-54251356a23468136f6226134b0f8524a6ae3523.zip
initial new set support
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
Diffstat (limited to 'lua/inet/init.lua')
-rw-r--r--lua/inet/init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/inet/init.lua b/lua/inet/init.lua
index 55ce0e4..ea35f80 100644
--- a/lua/inet/init.lua
+++ b/lua/inet/init.lua
@@ -1,4 +1,5 @@
local core = require 'inet.core'
+local set = require 'inet.set'
local new_inet = core.new_inet
@@ -13,4 +14,6 @@ M.is4 = core.is_inet4
M.is6 = core.is_inet6
M.is = core.is_inet
+M.set = set.new
+
return setmetatable(M, mt)