aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Luamm.hh
AgeCommit message (Collapse)AuthorFilesLines
2011-11-01Add lua::quote function, for safe (and pretty) quoting of stringsPavel Labath1-0/+4
2011-11-01Add checkstring() to lua::statePavel Labath1-0/+2
2011-11-01Add checkudata and checkargno functions to lua::statePavel Labath1-0/+12
These can be used by functions to check the saneness of arguments. They throw an exception on error. In the future, I might add more informative error messages.
2011-11-01luamm: add lua_isuserdata C++ bindingPavel Labath1-0/+1
2011-11-01A lightweight version of lua::state::pushclosure which handles the simple casesPavel Labath1-1/+2
2011-11-01Luamm: add lua_istable C++ wrapperPavel Labath1-0/+1
2011-11-01Add a version of lua::state::loadstring which accepts std::stringPavel Labath1-0/+1
2011-11-01Lua exceptions can now outlive thier lua contextPavel Labath1-1/+13
2011-11-01Luamm: add lua_createtable bindingPavel Labath1-0/+1
2011-11-01luamm: add a version of loadstring which also takes the string length as a ↵Pavel Labath1-1/+3
parameter
2011-11-01Add lua_rawgeti wrapper to luammPavel Labath1-0/+1
2011-11-01Remove the possibility to transport exceptions through lua codePavel Labath1-1/+1
It's impossible to do this without C++0x features (we need std::exception_ptr).
2011-11-01c++ lua binding: get rid of variadic templatesPavel Labath1-5/+44
See how variadic templates are good. They enabled me to write those four functions as one.
2011-11-01c++ lua binding: get rid of shared_ptrPavel Labath1-54/+55
It was pretty underused anyway. I was just lazy to write a proper destructor.
2011-11-01c++ lua binding: get rid of deleted functions and rvalue referencesPavel Labath1-44/+14
2011-11-01c++ lua binding: replace std::function with FbTk::SlotPavel Labath1-17/+32
std::function is superior, but not supported on old compilers
2011-11-01C++ binding for luaPavel Labath1-0/+341
copied from conky (http://conky.sf.net) and relicensed. Since I am the person who wrote it in the first place there should not be a problem with licence conversion.