mirror of https://github.com/mpv-player/mpv
client API: also export mpv_stream_cb_add_ro
20c4036daa
switched to hiding all symbols
by default and exporting the ones we want with MPV_EXPORT.
However, the mpv_stream_cb_add_ro function was missed and it is part of
the client API. Export it too. Fixes #9971.
This commit is contained in:
parent
919de742a4
commit
199a7ebcd9
|
@ -230,8 +230,8 @@ typedef int (*mpv_stream_cb_open_ro_fn)(void *user_data, char *uri,
|
|||
* callback.
|
||||
* @return error code
|
||||
*/
|
||||
int mpv_stream_cb_add_ro(mpv_handle *ctx, const char *protocol, void *user_data,
|
||||
mpv_stream_cb_open_ro_fn open_fn);
|
||||
MPV_EXPORT int mpv_stream_cb_add_ro(mpv_handle *ctx, const char *protocol, void *user_data,
|
||||
mpv_stream_cb_open_ro_fn open_fn);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue