comline/tests/units/dev.ids

28 lines
410 B
Plaintext
Raw Normal View History

2023-06-15 07:10:20 -05:00
namespace example
const PROTOCOL: u8 = 0
const SECRET: u8 = 1
enum Motion {
1# Wave
2# MoveArm
2023-06-15 07:10:20 -05:00
}
struct Hello {
const SHAKE: u8 = 20
1# name: u8
2023-06-15 07:10:20 -05:00
}
struct Goodbye versioned=false {
wave: bool = false
}
protocol Greet {
function smile
function wave ()
function wave_wait () -> u8
function wave_and_go () -> str : timeout_ms=100
2023-06-15 07:10:20 -05:00
function wave_with (motion: Motion)
}