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.
12 lines
309 B
Ziran
12 lines
309 B
Ziran
#import, file "../src/app/screenshot_arguments.zi";
|
|
|
|
#program_export
|
|
ScreenshotArgumentCount :: (argc: s32, argv: **u8) -> s32 {
|
|
arguments: [128]string
|
|
count := ScreenshotArguments(argc, argv, arguments[:])
|
|
if count != 3 || arguments[2] != "frame.png" {
|
|
return -1
|
|
}
|
|
return count
|
|
}
|