mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 08:12:17 +00:00
a84258d769
All these files access mp_core.h and MPContext, and form the actual player application. They should be all in one place, and separate from the other sources that are mere utility helpers. Preparation for splitting mplayer.c into multiple smaller parts.
15 lines
373 B
C
15 lines
373 B
C
#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
|