Files
kryon/tests/application_entry_test.zi
T
waozi 9383e95e57 Add the GPU scene renderer, hosted widget aggregates and component packages
Restructure maintained components into per-widget source folders, add the
portable scene GPU renderer with GLSL shaders, hosted widget aggregates,
GTK theming and multi-target clipboard support, rebuild the guide with
theming guidance, and move the toolchain to the Ziran revision without
module root limits so the eighty component roots resolve everywhere.
2026-11-12 00:12:06 -03:00

21 lines
496 B
Ziran

#import "application_entry"
#import "std/byte_text_linux"
#program_export "KryonApplicationMain"
TestApplication :: (argc: s32, argv: **u8) -> s32 {
#if #defined(PLATFORM_WEB) {
if argc != 0 || argv != null {
return 1
}
} else {
if argc != 3 || argv == null {
return 2
}
if TextFromCString(argv[1]) != "first argument" ||
TextFromCString(argv[2]) != "--second" {
return 3
}
}
return 0
}