Debian Codegraph @

crates/wit-component/tests/interfaces/floats.wit

raw
1 package foo:floats;
2
3 interface floats {
4 f32-param: func(x: f32);
5 f64-param: func(x: f64);
6 f32-result: func() -> f32;
7 f64-result: func() -> f64;
8 }
9
10 world floats-world {
11 import floats;
12 }