summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-05 02:21:29 +0200
committerwm4 <wm4@nowhere>2014-08-05 02:21:29 +0200
commitbdf607ea5f218b1aa60dff9abc94b68e1a934368 (patch)
tree3e11cc1f51f63d11ab0b3df6adee97edb142fc96 /etc
parent62a79ae5569de6e5b18b3ddb2a856adfdaf5288d (diff)
downloadmpv-bdf607ea5f218b1aa60dff9abc94b68e1a934368.tar.bz2
mpv-bdf607ea5f218b1aa60dff9abc94b68e1a934368.tar.xz
build: list exported symbols explicitly
Instead of using a regex to match names to be exported from the libmpv dynamic shared library, use a libmpv.def file, which lists all exported functions explicitly. This reduces the platform specifics in syms.py. I'm not sure if the separate compile_sym task is still needed (it could probably be collapsed, which would concentrate the platform specifics into one place).
Diffstat (limited to 'etc')
-rw-r--r--etc/libmpv.def34
1 files changed, 34 insertions, 0 deletions
diff --git a/etc/libmpv.def b/etc/libmpv.def
new file mode 100644
index 0000000000..0a97c43cb3
--- /dev/null
+++ b/etc/libmpv.def
@@ -0,0 +1,34 @@
+mpv_client_api_version
+mpv_client_name
+mpv_command
+mpv_command_async
+mpv_command_string
+mpv_create
+mpv_detach_destroy
+mpv_error_string
+mpv_event_name
+mpv_free
+mpv_free_node_contents
+mpv_get_property
+mpv_get_property_async
+mpv_get_property_osd_string
+mpv_get_property_string
+mpv_get_time_us
+mpv_get_wakeup_pipe
+mpv_initialize
+mpv_load_config_file
+mpv_observe_property
+mpv_request_event
+mpv_request_log_messages
+mpv_resume
+mpv_set_option
+mpv_set_option_string
+mpv_set_property
+mpv_set_property_async
+mpv_set_property_string
+mpv_set_wakeup_callback
+mpv_suspend
+mpv_terminate_destroy
+mpv_unobserve_property
+mpv_wait_event
+mpv_wakeup