aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/GuiLua/skang.lua
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-03-28 22:19:04 +1000
committerDavid Walter Seikel2014-03-28 22:19:04 +1000
commitc61df1e41984efa46fe1e6acd88509390472c97f (patch)
tree50dddf7b0a781f07a2bb5881d5209a841c223c4d /ClientHamr/GuiLua/skang.lua
parentTypo-- (diff)
downloadSledjHamr-c61df1e41984efa46fe1e6acd88509390472c97f.zip
SledjHamr-c61df1e41984efa46fe1e6acd88509390472c97f.tar.gz
SledjHamr-c61df1e41984efa46fe1e6acd88509390472c97f.tar.bz2
SledjHamr-c61df1e41984efa46fe1e6acd88509390472c97f.tar.xz
More random notes.
Diffstat (limited to '')
-rw-r--r--ClientHamr/GuiLua/skang.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua
index 6f06131..2b21cb9 100644
--- a/ClientHamr/GuiLua/skang.lua
+++ b/ClientHamr/GuiLua/skang.lua
@@ -157,6 +157,8 @@ end
157 157
158-- Call this now so that from now on, this is like any other module. 158-- Call this now so that from now on, this is like any other module.
159local _M = moduleBegin('skang', 'David Seikel', 'Copyright 2014 David Seikel', '0.1', '2014-03-27 02:57:00') 159local _M = moduleBegin('skang', 'David Seikel', 'Copyright 2014 David Seikel', '0.1', '2014-03-27 02:57:00')
160-- TODO - While it is possible to get LuaJIT version info, need to load the 'jit' module, which wont work so well if we are not in LuaJIT.
161-- local jit = require 'jit'; jit.version; jit.version_num; jit.os; jit.arch
160print('Skang is running under Lua version ' .. _VERSION) 162print('Skang is running under Lua version ' .. _VERSION)
161 163
162 164
@@ -685,3 +687,4 @@ access to the module.
685-- Gotta check out this _ENV thing, 5.2 only. Seems to replace the need for setfenv(). Seems like setfenv should do what we want, and is more backward compatible. 687-- Gotta check out this _ENV thing, 5.2 only. Seems to replace the need for setfenv(). Seems like setfenv should do what we want, and is more backward compatible.
686-- "_ENV is not supported directly in 5.1, so its use can prevent a module from remaining compatible with 5.1. 688-- "_ENV is not supported directly in 5.1, so its use can prevent a module from remaining compatible with 5.1.
687-- Maybe you can simulate _ENV with setfenv and trapping gets/sets to it via __index/__newindex metamethods, or just avoid _ENV." 689-- Maybe you can simulate _ENV with setfenv and trapping gets/sets to it via __index/__newindex metamethods, or just avoid _ENV."
690-- LuaJIT doesn't support _ENV anyway.