summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/luaengine.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
commitddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch)
treea70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/frontend/mame/luaengine.h
parent333bff8de64dfaeb98134000412796b4fdef970b (diff)
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/frontend/mame/luaengine.h')
-rw-r--r--src/frontend/mame/luaengine.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/frontend/mame/luaengine.h b/src/frontend/mame/luaengine.h
index c0f9acd491d..dcfb76cb571 100644
--- a/src/frontend/mame/luaengine.h
+++ b/src/frontend/mame/luaengine.h
@@ -104,10 +104,10 @@ private:
void on_machine_resume();
void on_machine_frame();
- void output_notifier(const char *outname, INT32 value);
- static void s_output_notifier(const char *outname, INT32 value, void *param);
+ void output_notifier(const char *outname, int32_t value);
+ static void s_output_notifier(const char *outname, int32_t value, void *param);
- void emu_after_done(void *_h, INT32 param);
+ void emu_after_done(void *_h, int32_t param);
int emu_after(lua_State *L);
int emu_wait(lua_State *L);
void emu_hook_output(lua_State *L);
@@ -154,8 +154,8 @@ private:
static luabridge::LuaRef l_ioports_port_get_fields(const ioport_port *i);
static luabridge::LuaRef devtree_dfs(device_t *root, luabridge::LuaRef dev_table);
static luabridge::LuaRef l_dev_get_states(const device_t *d);
- static UINT64 l_state_get_value(const device_state_entry *d);
- static void l_state_set_value(device_state_entry *d, UINT64 v);
+ static uint64_t l_state_get_value(const device_state_entry *d);
+ static void l_state_set_value(device_state_entry *d, uint64_t v);
static luabridge::LuaRef l_dev_get_memspaces(const device_t *d);
struct lua_machine {
int l_popmessage(lua_State *L);
@@ -240,7 +240,7 @@ private:
int l_item_write(lua_State *L);
};
- void resume(void *L, INT32 param);
+ void resume(void *L, int32_t param);
void start();
static int luaopen_ioport(lua_State *L);
void close();