summaryrefslogtreecommitdiffstats
path: root/libmpv
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2021-11-27 22:46:54 -0600
committerDudemanguy <random342@airmail.cc>2021-11-27 22:46:54 -0600
commitf08db00d2613dd96900a85f0e2080aee89bafc4c (patch)
tree3d2f8fe40bb972b575d2d53f8a44d2c180c8ce32 /libmpv
parent448fe0226b469df9f8a109a9840afa00bc59b48c (diff)
downloadmpv-f08db00d2613dd96900a85f0e2080aee89bafc4c.tar.bz2
mpv-f08db00d2613dd96900a85f0e2080aee89bafc4c.tar.xz
client API: also export mpv_client_api_version
20c4036daa680ebf9d379c9a7566bcf3ae12d405 switched to using symbol visibility attributes for mpv client api functions (for the meson build at least). Unfortunately mpv_client_api_version was mistakenly missed. We need to export this function as well. Fixes #9531.
Diffstat (limited to 'libmpv')
-rw-r--r--libmpv/client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpv/client.h b/libmpv/client.h
index 79d994c45a..5a3d2d202e 100644
--- a/libmpv/client.h
+++ b/libmpv/client.h
@@ -259,7 +259,7 @@ extern "C" {
/**
* Return the MPV_CLIENT_API_VERSION the mpv source has been compiled with.
*/
-unsigned long mpv_client_api_version(void);
+MPV_EXPORT unsigned long mpv_client_api_version(void);
/**
* Client context used by the client API. Every client has its own private