summaryrefslogtreecommitdiffstats
path: root/player/client.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-03-09 06:00:51 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-03-15 00:00:04 -0700
commita7f3cf473707b19bff9ea80b227490c8b305b601 (patch)
treeb094e1b8237d9ee09770e76809895b5d0e2eceaa /player/client.h
parent410a1b49edfbbf7d528fd7dd06b73d06e2f9fce4 (diff)
downloadmpv-a7f3cf473707b19bff9ea80b227490c8b305b601.tar.bz2
mpv-a7f3cf473707b19bff9ea80b227490c8b305b601.tar.xz
client API: add mpv_create_weak_client()
Diffstat (limited to 'player/client.h')
-rw-r--r--player/client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/client.h b/player/client.h
index deec3c793b..9ecbe2ed35 100644
--- a/player/client.h
+++ b/player/client.h
@@ -32,6 +32,7 @@ bool mp_client_event_is_registered(struct MPContext *mpctx, int event);
void mp_client_property_change(struct MPContext *mpctx, const char *name);
struct mpv_handle *mp_new_client(struct mp_client_api *clients, const char *name);
+void mp_client_set_weak(struct mpv_handle *ctx);
struct mp_log *mp_client_get_log(struct mpv_handle *ctx);
struct mpv_global *mp_client_get_global(struct mpv_handle *ctx);
struct MPContext *mp_client_get_core(struct mpv_handle *ctx);