add /*notnull*/ comments in header, use NotNull for parameters
This commit is contained in:
parent
bb90af3a57
commit
40fed5ba04
13 changed files with 299 additions and 385 deletions
4
build.rs
4
build.rs
|
|
@ -10,7 +10,9 @@ fn main() {
|
|||
let crate_dir = env::var("CARGO_MANIFEST_DIR").unwrap();
|
||||
println!("cargo::rerun-if-changed={crate_dir}");
|
||||
|
||||
let config = cbindgen::Config::from_file(crate_dir.clone() + "/cbindgen.toml").unwrap();
|
||||
let config =
|
||||
cbindgen::Config::from_file(crate_dir.clone() + "/cbindgen.toml")
|
||||
.unwrap();
|
||||
|
||||
let output_dir = env::var("OUT_DIR").unwrap();
|
||||
let header_file = output_dir.clone() + "/servicepoint.h";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue