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. --- examples/simple_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/simple_window.c') diff --git a/examples/simple_window.c b/examples/simple_window.c index a6819f9..40a7c25 100644 --- a/examples/simple_window.c +++ b/examples/simple_window.c @@ -146,7 +146,7 @@ int main(void) printf(" - Escape: exit\n\n"); while (running) { - yasl_display_dispatch(d); + yasl_display_dispatch(d, -1); struct yasl_input_event ev; while (yasl_surface_input_poll(s, &ev)) { -- cgit v1.2.3