aboutsummaryrefslogtreecommitdiff
path: root/advtrains_luaautomation
diff options
context:
space:
mode:
authorY. Wang <yw05@forksworld.de>2022-09-04 17:31:09 +0200
committerY. Wang <yw05@forksworld.de>2022-09-04 17:50:09 +0200
commit49beb106f00d35296c54a6f15cc663526651d376 (patch)
tree21e551a285a4f44960f50082d7ceedab667252d0 /advtrains_luaautomation
parent9a9023bdf8c846661596ba16b125a5ab1102a25a (diff)
downloadadvtrains-49beb106f00d35296c54a6f15cc663526651d376.tar.gz
advtrains-49beb106f00d35296c54a6f15cc663526651d376.tar.bz2
advtrains-49beb106f00d35296c54a6f15cc663526651d376.zip
Use ldoc instead of manpages
Diffstat (limited to 'advtrains_luaautomation')
-rwxr-xr-xadvtrains_luaautomation/environment.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/advtrains_luaautomation/environment.lua b/advtrains_luaautomation/environment.lua
index 6b1a283..476faaf 100755
--- a/advtrains_luaautomation/environment.lua
+++ b/advtrains_luaautomation/environment.lua
@@ -1,5 +1,6 @@
-------------
--- lua sandboxed environment
+-- LuaATC sandboxed environment
+-- @module atlatc
-- function to cross out functions and userdata.
-- modified from dump()
@@ -354,7 +355,7 @@ end
-- env.subscribers table may be directly altered by callers.
---- class interface
+-- class interface
function atlatc.env_new(name)
local newenv={