diff options
author | Asbjørn Sloth Tønnesen <ast@2e8.dk> | 2019-07-18 20:12:47 +0000 |
---|---|---|
committer | Asbjørn Sloth Tønnesen <ast@2e8.dk> | 2019-07-18 20:12:47 +0000 |
commit | 0667077147ea9da13811bf99bd6b960e847af15e (patch) | |
tree | e42b875bff1df883859a9da60104909b9cdd3d55 /lua/inet | |
parent | 0a5fe9e3cd3d560fe81ea332baa95967c565a135 (diff) | |
download | lua-inet-0667077147ea9da13811bf99bd6b960e847af15e.tar.gz lua-inet-0667077147ea9da13811bf99bd6b960e847af15e.tar.xz lua-inet-0667077147ea9da13811bf99bd6b960e847af15e.zip |
add api versioning
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
Diffstat (limited to 'lua/inet')
-rw-r--r-- | lua/inet/init.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/inet/init.lua b/lua/inet/init.lua index 1bb0121..56c0eed 100644 --- a/lua/inet/init.lua +++ b/lua/inet/init.lua @@ -25,4 +25,7 @@ M.is = core.is_inet M.is_set = set.is_set M.set = set.new +-- API version +M.version = 1 + return setmetatable(M, mt) |