summaryrefslogtreecommitdiffstats
path: root/player/mp_lua.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-17 00:53:22 +0100
committerwm4 <wm4@nowhere>2013-12-17 00:53:22 +0100
commite44911142914783c9ec717f329bd9b6a8bb9b70e (patch)
tree92bb653f7d56553ffd3bb6e5a22ffc0db91142e8 /player/mp_lua.h
parent7dc7b900c622235d595337c988a0c75280084b7c (diff)
downloadmpv-e44911142914783c9ec717f329bd9b6a8bb9b70e.tar.bz2
mpv-e44911142914783c9ec717f329bd9b6a8bb9b70e.tar.xz
Move mpvcore/player/ to player/
Diffstat (limited to 'player/mp_lua.h')
-rw-r--r--player/mp_lua.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/player/mp_lua.h b/player/mp_lua.h
new file mode 100644
index 0000000000..050548e2d2
--- /dev/null
+++ b/player/mp_lua.h
@@ -0,0 +1,14 @@
+#ifndef MP_LUA_H
+#define MP_LUA_H
+
+#include <stdbool.h>
+
+struct MPContext;
+
+void mp_lua_init(struct MPContext *mpctx);
+void mp_lua_uninit(struct MPContext *mpctx);
+void mp_lua_event(struct MPContext *mpctx, const char *name, const char *arg);
+void mp_lua_script_dispatch(struct MPContext *mpctx, char *script_name,
+ int id, char *event);
+
+#endif