From 858bf52a09d8a2a51b9e9821ad7ffca9fa3ee4cd Mon Sep 17 00:00:00 2001 From: Peter Li Date: Fri, 18 Sep 2026 18:39:21 -0700 Subject: [PATCH] some cleanup --- README.md | 4 ++++ src/native.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 153b5b8..9431432 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,10 @@ It provides windows, input and IME, clipboard, file dialogs, drag and drop, menu async file operations, file watching, and OpenGL context creation. The macOS backend uses AppKit, OpenGL, and FSEvents through a private Objective-C bridge. +Internal naming: `z_` means **Zig bridge**, identifying private bridge functions, +types, and helpers connecting the Zig runtime with native platform code. Public +C API symbols use `uhdk_`. + macOS builds require Xcode Command Line Tools. The Windows Win32/WGL backend cross-compiles for `x86_64-windows-gnu`; runtime verification on Windows is pending. It requires Windows 10 version 1703 or later and an OpenGL 3.3-capable driver. diff --git a/src/native.h b/src/native.h index 4be8f03..c0927bf 100644 --- a/src/native.h +++ b/src/native.h @@ -1,5 +1,8 @@ #ifndef UHDK_PRIVATE_NATIVE_H #define UHDK_PRIVATE_NATIVE_H +/* z_ = Zig bridge. This prefix identifies private bridge functions, types, + * and helpers connecting the Zig runtime with native platform code. + * Public C API symbols use uhdk_ instead. */ #define UHDK_ENABLE_NATIVE #include "uhdk.h" #include