summaryrefslogtreecommitdiff
path: root/server/libs/@lua/os.lni
diff options
context:
space:
mode:
Diffstat (limited to 'server/libs/@lua/os.lni')
-rw-r--r--server/libs/@lua/os.lni11
1 files changed, 10 insertions, 1 deletions
diff --git a/server/libs/@lua/os.lni b/server/libs/@lua/os.lni
index 64d5f1c9..8486075f 100644
--- a/server/libs/@lua/os.lni
+++ b/server/libs/@lua/os.lni
@@ -70,7 +70,7 @@ enum = 'signal'
['execute Lua 5.1']
name = 'execute'
-version = 'Lua 5.1'
+version = {'Lua 5.1', 'LuaJIT'}
[[.args]]
name = 'command'
type = 'string'
@@ -90,6 +90,15 @@ name = 'close'
type = 'boolean'
optional = 'self'
+['exit Lua 5.1']
+name = 'exit'
+version = 'Lua 5.1'
+[[.args]]
+name = 'code'
+type = 'integer'
+optional = 'after'
+default = 0
+
[getenv]
[[.args]]
name = 'varname'