ableos_userland/programs/aidl/assets/why.idl

30 lines
420 B
Plaintext
Raw Normal View History

2023-05-04 08:47:05 -05:00
Use core.Byte;
Use core.Int;
2023-05-04 07:44:49 -05:00
2023-05-04 11:50:17 -05:00
Constant Hi = "WHY???/\n";
Alias Yo = Byte;
2023-05-04 12:31:20 -05:00
2023-05-05 04:15:01 -05:00
Constant Version = Make Version {
2023-05-05 06:21:24 -05:00
major: 1
minor: 0
2023-05-04 12:31:20 -05:00
patch: 0
};
2023-05-05 06:21:24 -05:00
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
}
}