From bdf607ea5f218b1aa60dff9abc94b68e1a934368 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 5 Aug 2014 02:21:29 +0200 Subject: 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). --- etc/libmpv.def | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 etc/libmpv.def (limited to 'etc') 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 -- cgit v1.2.3