From 9a9f58d747338e302a6c1247e9fd9383ef3d1ec7 Mon Sep 17 00:00:00 2001 From: Ilari Liusvaara Date: Thu, 30 Jan 2014 00:44:42 +0200 Subject: [PATCH] lua_func_callback isn't used anymore, remove it --- include/lua/internal.hpp | 1 - src/lua/lua.cpp | 2 -- 2 files changed, 3 deletions(-) diff --git a/include/lua/internal.hpp b/include/lua/internal.hpp index 43e1e68b..e9fac3a6 100644 --- a/include/lua/internal.hpp +++ b/include/lua/internal.hpp @@ -14,7 +14,6 @@ extern lua::state lsnes_lua_state; extern lua::function_group lua_func_bit; extern lua::function_group lua_func_misc; -extern lua::function_group lua_func_callback; extern lua::function_group lua_func_load; extern lua::function_group lua_func_zip; diff --git a/src/lua/lua.cpp b/src/lua/lua.cpp index 8ec493ad..ee608e5d 100644 --- a/src/lua/lua.cpp +++ b/src/lua/lua.cpp @@ -28,7 +28,6 @@ void* synchronous_paint_ctx; lua::state lsnes_lua_state; lua::function_group lua_func_bit; lua::function_group lua_func_misc; -lua::function_group lua_func_callback; lua::function_group lua_func_load; lua::function_group lua_func_zip; @@ -457,7 +456,6 @@ void init_lua() throw() lsnes_lua_state.reset(); lsnes_lua_state.add_function_group(lua_func_bit); lsnes_lua_state.add_function_group(lua_func_load); - lsnes_lua_state.add_function_group(lua_func_callback); lsnes_lua_state.add_function_group(lua_func_misc); lsnes_lua_state.add_function_group(lua_func_zip); lsnes_lua_state.add_class_group(lua_class_callback); -- 2.11.4.GIT