libftdi1-sys 1.1.3

FFI bindings for libftdi1
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// SPDX-License-Identifier: MIT

use libftdi1_sys::*;

#[test]
fn smoke_test() {
    unsafe {
        let context = ftdi_new();
        assert!(!context.is_null());
        ftdi_free(context);
    }
}