diff options
author | wm4 <wm4@nowhere> | 2014-05-13 01:14:07 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-13 02:39:37 +0200 |
commit | 2279f718de746d5fed3b64df74e9c47af98975b5 (patch) | |
tree | 57aa74740fcd067a5e87cb9810b2888b0548aeee /player/client.h | |
parent | 2a2dd8aac2d68db1471bbb4fd852f85f3fcf9c24 (diff) | |
download | mpv-2279f718de746d5fed3b64df74e9c47af98975b5.tar.bz2 mpv-2279f718de746d5fed3b64df74e9c47af98975b5.tar.xz |
player: reorganize how lua scripts are loaded
Make loading of scripts independent of Lua. Move some of the loading
code from lua.c to scripting.c, and make it easier to add new scripting
backends.
Diffstat (limited to 'player/client.h')
-rw-r--r-- | player/client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/player/client.h b/player/client.h index 6e078e9d7b..e9d41d8c09 100644 --- a/player/client.h +++ b/player/client.h @@ -21,5 +21,6 @@ void mp_client_property_change(struct MPContext *mpctx, const char **list); struct mpv_handle *mp_new_client(struct mp_client_api *clients, const char *name); struct mp_log *mp_client_get_log(struct mpv_handle *ctx); +struct MPContext *mp_client_get_core(struct mpv_handle *ctx); #endif |