ableos_userland/programs/aidl/assets/core.idl

21 lines
219 B
Plaintext
Raw Normal View History

2023-05-06 10:57:45 -05:00
Alias Byte = u8;
Alias Int = u32;
2023-05-04 02:27:04 -05:00
2023-05-05 06:21:24 -05:00
Enumeration Nothing {}
Enumeration Option<T> {
None,
Some(T)
2023-05-04 02:27:04 -05:00
}
2023-05-06 10:57:45 -05:00
Enumeration Result<T, E> {
Ok(T),
Err(E)
}
2023-05-04 02:27:04 -05:00
Structure Version {
2023-05-05 09:15:38 -05:00
major: Byte,
minor: Byte,
patch: Byte,
2023-05-05 06:21:24 -05:00
}