Files
breeze/tests/music_library_host_stubs.zi
waozi b5356aaac7 Port Inbe screens, storage, and platform hosts to Ziran
Replace the remaining .kry and C application sources with Ziran modules,
move vendored dependencies to their current pointers, and add Ziran tests for
the ported hosts and policies.
2026-09-27 15:40:52 -03:00

15 lines
347 B
Ziran

#import "byte_text_linux"
#import "c_string"
c :: #system_library "c";
TestGetEnvironment :: (name: *u8) -> *u8 #foreign c "getenv";
#program_export "data_data_root"
TestDataRoot :: () -> string {
name: [14]u8
if !CopyCString("APP_DATA_ROOT", name[:]) {
return ""
}
return TextFromCString(TestGetEnvironment(*name[0]))
}