digilent_waveforms/
dwf.rs

1#![allow(non_upper_case_globals)]
2#![allow(non_camel_case_types)]
3#![allow(non_snake_case)]
4
5include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
6
7pub fn to_c_bool(v: bool) -> BOOL {
8    if v {
9        true_ as BOOL
10    } else {
11        false_ as BOOL
12    }
13}