See README. Most of this is in accordance with the bindgen introduction. The c_headers function was taken from Zach Mitchell's work on bindings. Co-authored-by: Zach Mitchell <zmitchell@fastmail.com> (cherry picked from commit 83d8ae6b26d341bbd452a77d7361f58c06a2d322)
5 lines
145 B
Rust
5 lines
145 B
Rust
#![allow(non_upper_case_globals)]
|
|
#![allow(non_camel_case_types)]
|
|
#![allow(non_snake_case)]
|
|
|
|
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|