some cleanup

This commit is contained in:
Peter Li 2026-09-18 18:39:21 -07:00
parent c0d923cbed
commit 858bf52a09
2 changed files with 7 additions and 0 deletions

View File

@ -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.

View File

@ -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 <stddef.h>