From 2a2c2e97a9be9fc4db30842ad61e46a1fd7cd125 Mon Sep 17 00:00:00 2001 From: Nicolas Noble Date: Mon, 11 Aug 2014 11:53:25 -0700 Subject: Bugs fixing in Lua - we really can't afford to have destructors throwing exceptions, and also making sure we're using the proper types for Handles. --- tests/test-Lua.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/test-Lua.cc b/tests/test-Lua.cc index bffbfaa..48a87fc 100644 --- a/tests/test-Lua.cc +++ b/tests/test-Lua.cc @@ -18,6 +18,7 @@ class ObjectTest { int someMethod2(int p) { Printer::log(M_DEBUG, "ObjectTest::someMethod2() called on %p.", this); callCount++; return p * 2; } static void someFunction() { Printer::log(M_DEBUG, "ObjectTest::someFunction() called."); callCount++; } static void someStatic() { Printer::log(M_DEBUG, "ObjectTest::someStatic() called."); callCount++; } + void cleanup() { } }; enum ObjectTest_methods_t { -- cgit v1.2.3