summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/luaengine.h
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2016-04-17 17:38:16 -0500
committer cracyc <cracyc@users.noreply.github.com>2016-04-17 17:38:16 -0500
commitb793232c972ac07923f6ed4389d0262ac91e6ed3 (patch)
tree67053e7018a521cd8ffcfd71e50e5bd63e1b8ca9 /src/emu/luaengine.h
parent73bf0b9521fa266fbbcfdf0116eea420753cb80b (diff)
plugins/cheat: clear popmessage (nw)
Diffstat (limited to 'src/emu/luaengine.h')
-rw-r--r--src/emu/luaengine.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/emu/luaengine.h b/src/emu/luaengine.h
index 3b4c85ce939..d8a538c9a42 100644
--- a/src/emu/luaengine.h
+++ b/src/emu/luaengine.h
@@ -63,11 +63,11 @@ public:
void attach_notifiers();
void on_frame_done();
- int compile_with_env(const char *env, const char *script);
- template <typename Tout, typename Tin> Tout run(const char *env, int ref, Tin in);
- template <typename Tout> Tout run(const char *env, int ref);
- template <typename Tin> void run(const char *env, int ref, Tin in);
- void run(const char *env, int ref);
+ int compile_with_env(const char *envname, const char *script, const char *env = nullptr);
+ template <typename Tout, typename Tin> Tout run(const char *envname, int ref, Tin in);
+ template <typename Tout> Tout run(const char *envname, int ref);
+ template <typename Tin> void run(const char *envname, int ref, Tin in);
+ void run(const char *envname, int ref);
private:
struct hook {
lua_State *L;