summaryrefslogtreecommitdiff
path: root/lib/BLua.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/BLua.cc')
-rw-r--r--lib/BLua.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/BLua.cc b/lib/BLua.cc
index 95519a1..cf0caa4 100644
--- a/lib/BLua.cc
+++ b/lib/BLua.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: BLua.cc,v 1.18 2004-05-01 11:48:57 pixel Exp $ */
+/* $Id: BLua.cc,v 1.19 2004-07-22 23:38:32 pixel Exp $ */
#include <lualib.h>
@@ -512,6 +512,10 @@ int Lua::setmetatable(int i) {
return lua_setmetatable(L, i);
}
+int Lua::sethook(lua_Hook func, int mask, int count) {
+ return lua_sethook(L, func, mask, count);
+}
+
void LuaObject::push(Lua * L) throw (GeneralException) {
if (pushed && wantdestruct) {
throw GeneralException("Error: object is owned by the LUA script and can not be pushed.");