From 0a8b9c1a3d054fa95ca76131b7422ee9f25bd4f9 Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 9 Nov 2009 21:30:24 -0800 Subject: Removing the Lua lock system, and switching to a true Lua C++ inclusion philosophie. --- include/BLua.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'include') diff --git a/include/BLua.h b/include/BLua.h index 2afcdef..49573e3 100644 --- a/include/BLua.h +++ b/include/BLua.h @@ -25,15 +25,10 @@ struct lua_State; extern "C" { - void do_lua_lock(lua_State *); - void do_lua_unlock(lua_State *); -} - -#define lua_lock(L) do_lua_lock(L) -#define lua_unlock(L) do_lua_unlock(L) - #include #include +} + #include #include #include @@ -147,9 +142,6 @@ class Lua : public Base { void do_break(); - virtual void lock(); - virtual void unlock(); - bool is_protected(); void openlib(const String & libname, const struct luaL_reg *l, int nup); -- cgit v1.2.3