From 5206933399775e5ff46baefbbb3a776c2a9bb84c Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Mon, 12 Oct 2026 10:53:22 +0300 Subject: feat: add type-safe native platform headers and portable drag support - Add include/yasl/native/{wayland,cocoa,x11}.h with type-safe handle accessors. - Unify drag-and-drop and window carry support across Wayland, X11, and Cocoa. - Preserve full ABI compatibility for capability flags. - Install native headers conditionally based on enabled backend. - Include missing tablet example and backend test suites. --- tests/meson.build | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'tests/meson.build') diff --git a/tests/meson.build b/tests/meson.build index 177e400..75ff00d 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -45,11 +45,21 @@ if system == 'linux' export_args += ['--allow-export=__start_asan_globals', '--allow-export=__stop_asan_globals'] endif + exported_headers = files( + '../include/yasl/yasl.h', + '../include/yasl/timing.h', + '../include/yasl/loop.h', + '../include/yasl/native.h', + ) + if has_wayland + exported_headers += files('../include/yasl/native/wayland.h') + endif + if has_x11 + exported_headers += files('../include/yasl/native/x11.h') + endif test('public-exports', python, args: [files('helpers/check_exports.py')] + export_args + - [nm, yasl_lib.get_shared_lib(), - files('../include/yasl/yasl.h', '../include/yasl/timing.h', - '../include/yasl/loop.h', '../include/yasl/native.h')], + [nm, yasl_lib.get_shared_lib(), exported_headers], ) endif -- cgit v1.2.3