Files
kryon/tests/android_surface_layout.zi
T
waozi b66773e917 Keep raylib's window record intact when Android builds prune fields
The Android surface overlays raylib's native CORE.Window record. Pruning
unused fields for a single entry point could shrink it and misplace the
size fields. A size assertion keeps its padding, and the test compiles a
pruned entry against raylib's real layout.
2026-09-29 21:00:26 -03:00

9 lines
291 B
Ziran

#import, file "../src/backend/android_surface.zi";
// Entry pruning must retain the native CORE.Window prefix even though this
// application only accesses its size and framebuffer fields.
main :: () -> s32 {
width: s32; height: s32
return SyncAndroidSurfaceSize(*width, *height)
}