From 3b8af02be94a510e385f44d58c35c86bb89424a6 Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Mon, 12 Oct 2026 08:41:51 +0300 Subject: refactor: simplify public API and isolate native extensions Separate loop/timer and native interoperability APIs from the portable surface header. Unify dispatch, geometry queries, and timer callbacks; keep framebuffer bookkeeping and frame clocks private, and hide implementation symbols. Update backends, documentation, examples, and API/integration coverage. Verify exports, strict C/C++ installed consumers, and normal plus ASan/UBSan suites. --- meson.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index e599acf..2bcad87 100644 --- a/meson.build +++ b/meson.build @@ -70,12 +70,15 @@ yasl_lib = both_libraries( sources, include_directories: inc, dependencies: deps, + gnu_symbol_visibility: 'hidden', install: true, ) install_headers( 'include/yasl/yasl.h', 'include/yasl/timing.h', + 'include/yasl/loop.h', + 'include/yasl/native.h', subdir: 'yasl', ) @@ -85,7 +88,7 @@ pkg.generate( name: 'yasl', description: 'Yet Another Surface Library - minimal, modern desktop window surface abstraction', version: meson.project_version(), - subdirs: 'yasl', + subdirs: '.', ) yasl_dep = declare_dependency( -- cgit v1.2.3