aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/LuaUtil.cc
AgeCommit message (Collapse)AuthorFilesLines
2011-07-08Lua: 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.
2011-07-08Small optimization of the newindexDeny{Write,Modify} functionsPavel Labath1-3/+20
2011-07-07FbTk::Lua - a class which augments lua::state with additional featuresPavel Labath1-0/+104