Skip to content

Commit

Permalink
Merge pull request #127 from georust/bindgen_size_t
Browse files Browse the repository at this point in the history
add .size_t_is_usize(true) to bindgen in gdal-sys
  • Loading branch information
jdroenner authored Dec 19, 2020
2 parents 1ee19ed + 7154b5d commit 84ffb77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gdal-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use std::path::{Path, PathBuf};
#[cfg(feature = "bindgen")]
pub fn write_bindings(include_paths: Vec<String>, out_path: &Path) {
let mut builder = bindgen::Builder::default()
.size_t_is_usize(true)
.header("wrapper.h")
.constified_enum_module(".*")
.ctypes_prefix("libc")
Expand Down

0 comments on commit 84ffb77

Please sign in to comment.