Pavel Labath
02dfacd694
Add support for lua 5.2
...
luamm is now able to be compiled with both lua 5.1 and 5.2 (assuming 5.2 has backward
compatibility features compiled in). It is my intention to always support at least two versions
of lua.
2013-07-13 23:55:28 +02:00
Pavel Labath
214ed0ac87
Add lock/unlock functions to lua::state
2010-10-30 23:54:13 +02:00
Pavel Labath
d9d8506e0b
Add a luaL_gsub wrapper to lua::state
2010-09-13 13:16:16 +02:00
Pavel Labath
c5e45008df
Add a luaL_loadfile wrapper to lua::state
2010-09-12 14:53:06 +02:00
Pavel Labath
3a9823b7f3
Add one more pushstring overload to lua::state
2010-08-21 21:06:34 +02:00
Pavel Labath
5b65fce42d
C++ version of lua::state::pushstring
2010-03-02 20:29:37 +01:00
Pavel Labath
f51927241f
Add lua_isboolean/toboolean wrappers
2010-02-25 21:10:40 +01:00
Pavel Labath
da3ef0d2c0
Use a named enum for lua types
2010-02-25 16:47:00 +01:00
Pavel Labath
9cf26becf2
Change lua::stack_sentry semantics. Using it should be much simpler now
2010-02-25 16:24:50 +01:00
Pavel Labath
a152a32d66
lua_isnil() binding
2010-02-16 16:46:16 +01:00
Pavel Labath
56266e9476
add lua_settop() binding
2010-02-15 13:00:33 +01:00
Pavel Labath
00d8215e00
added state::createuserdata template function
2010-02-12 17:41:24 +01:00
Pavel Labath
0ae2ba5210
Retab luamm in line with setting we use (yeah... i know :/)
2010-02-12 17:11:50 +01:00
Pavel Labath
3e98e18324
add lua_pushnumber wrapper
...
there are still some functions whose C++ wrappers i didn't create. add them if you need them
2010-02-12 17:06:24 +01:00
Pavel Labath
2d4d2ef4c0
std::function can't be used as a __gc function, provide a simple alternative
2010-02-12 15:05:46 +01:00
Pavel Labath
fd671ced8f
Move rawset() to the proper category
2010-02-11 21:08:32 +01:00
Pavel Labath
dfb106ac0e
Fix multiple definition error
2010-02-10 21:17:40 +01:00
Pavel Labath
90b30f14f9
Oops, forgot inclusion guards
2010-02-10 19:47:16 +01:00
Pavel Labath
e4461782ef
C++ binding for lua, with some fancy features
...
such as being able to throw exceptions across c++-lua boundary. For more details, see comments
in the source code.
2010-02-10 17:34:09 +01:00