aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/LuaUtil.cc
AgeCommit message (Collapse)AuthorFilesLines
2012-04-07Lua: Make global variables read-onlyPavel Labath1-17/+14
This prevents the user from inadvertently overwriting e.g. the session table and then wondering why it does not work. I'm still not sure about this approach, as it's not 100% secure (the script can still use raw access to mess with it) and it adds some overhead to any operation referencing a global variable.
2012-04-07Small optimization of the newindexDeny{Write,Modify} functionsPavel Labath1-3/+20
2012-04-07FbTk::Lua - a class which augments lua::state with additional featuresPavel Labath1-0/+104