File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6666* [X] AssemblyScript ([ example] ( https://github.com/jedisct1/witx-codegen/blob/master/example-output/assemblyscript.ts ) )
6767* [X] Zig ([ example] ( https://github.com/jedisct1/witx-codegen/blob/master/example-output/zig.zig ) )
6868* [X] Rust ([ example] ( https://github.com/jedisct1/witx-codegen/blob/master/example-output/rust.rs ) )
69+ * [X] C++ ([ example] ( https://github.com/jedisct1/witx-codegen/blob/master/example-output/cpp.h ) ) - Experimental
6970* [ ] TinyGo
70- * [ ] C/C++
7171* [ ] Swift
7272* [ ] HTML documentation
7373
Original file line number Diff line number Diff line change @@ -65,7 +65,6 @@ impl<T: Write> Generator<T> for CppGenerator {
6565 }
6666 let constants_for_type: Vec < _ > = module_witx
6767 . constants ( )
68- . into_iter ( )
6968 . filter_map ( |x| {
7069 if x. ty == type_. name {
7170 Some ( ASConstant {
You can’t perform that action at this time.
0 commit comments