ableos_userland/programs/aidl/assets/why.idl

29 lines
428 B
Plaintext

Use core.Byte;
Use core.Int;
Constant Hi = "WHY???/\n";
Alias Yo = Byte;
Constant Version = Make Version {
major: 1, minor: 0, patch: 0
};
Interface Iface {
Function hello Takes(Int, Boolean,) Returns(Int);
}
Function a_free_function Returns(Boolean);
Structure Hello {
world: Boolean,
prompt: Option<String>,
}
Enumeration Reality {
Dead(Boolean, Boolean),
Alive {
health: Int,
dying: Boolean,
},
}