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.
21 lines
496 B
Ziran
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
|
|
}
|