summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/luaengine.h
diff options
context:
space:
mode:
author Jeffrey Clark <dude@zaplabs.com>2016-02-15 23:51:18 -0600
committer Jeffrey Clark <dude@zaplabs.com>2016-02-16 15:28:46 -0600
commitbacced3c81c010fb096f1df5cace1452a8132585 (patch)
tree5024ecc0d31986712db1a3c26be51c9927bb72d5 /src/emu/luaengine.h
parent11f82be5400b274bc624b520f045dbc573182fe8 (diff)
lua api: cleanup options handling and fix cheat state return value (nw)
Diffstat (limited to 'src/emu/luaengine.h')
-rw-r--r--src/emu/luaengine.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/emu/luaengine.h b/src/emu/luaengine.h
index 94b90981819..fca3a564618 100644
--- a/src/emu/luaengine.h
+++ b/src/emu/luaengine.h
@@ -120,7 +120,6 @@ private:
static int register_function(lua_State *L, const char *id);
// "emu.machine" namespace
- static luabridge::LuaRef l_machine_get_options(const running_machine *r);
static luabridge::LuaRef l_machine_get_devices(const running_machine *r);
static luabridge::LuaRef l_ioport_get_ports(const ioport_manager *i);
static luabridge::LuaRef l_render_get_targets(const render_manager *r);
@@ -156,7 +155,7 @@ private:
int l_get_state(lua_State *L);
};
- static luabridge::LuaRef l_ui_get_options(const ui_manager *ui);
+ template<typename T> static luabridge::LuaRef l_options_get_entries(const T *o);
struct lua_options_entry {
int l_entry_value(lua_State *L);
};