diff options
author | Pixel <pixel@nobis-crew.org> | 2009-11-10 10:01:30 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-11-10 10:01:30 -0800 |
commit | f85b3a5e5af39cb39287ecb63ecbd09d6f714b6d (patch) | |
tree | fd53e4f88dfa771c30b36d7c13a6fc17e3af6f1b /lib/BLua.cc | |
parent | 75409abcbdeb9de115b14725263b427bbedf0cc4 (diff) | |
parent | 0a8b9c1a3d054fa95ca76131b7422ee9f25bd4f9 (diff) |
Merge branch 'master' of ssh+git://pixel@git.grumpycoder.net/pub/repo.git/Baltisot
Diffstat (limited to 'lib/BLua.cc')
-rw-r--r-- | lib/BLua.cc | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/lib/BLua.cc b/lib/BLua.cc index 05c60b7..c1c7f44 100644 --- a/lib/BLua.cc +++ b/lib/BLua.cc @@ -36,28 +36,6 @@ void LuaPrinter::puts(const char * msg) { LuaPrinter default_lua_printer; -extern "C" { - void do_lua_lock(lua_State * __L) { - Lua * L; - try { - L = Lua::find(__L); - } catch (GeneralException e) { - return; - } - L->lock(); - } - - void do_lua_unlock(lua_State * __L) { - Lua * L; - try { - L = Lua::find(__L); - } catch (GeneralException e) { - return; - } - L->unlock(); - } -} - class LuaStatics : public Base { public: static const char * getF(lua_State *, void *, size_t *); @@ -1298,12 +1276,6 @@ void Lua::do_break() { // lua_break(L); } -void Lua::lock() { -} - -void Lua::unlock() { -} - void Lua::openlib(const String & libname, const luaL_reg *l, int nup) { luaL_openlib(L, libname.to_charp(), l, nup); } |