Skip to content

Commit

Permalink
Use 'size_t_is_usize' option when generating bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
mthh committed Mar 27, 2023
1 parent b0dc5ae commit 18f62e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog
All notable changes to this project will be documented in this file.

## [0.6.0] - 2023-03-27
### Changed
- Generate bindings with `size_t_is_usize` option.

## [0.5.0] - 2023-03-27
### Changed
- Update `bindgen` version to `0.64`.
Expand Down
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ fn main() {
.allowlist_type("w_sfcgal_.*$")
.allowlist_var("w_sfcgal_.*$")
.allowlist_function("w_sfcgal_.*$")
.size_t_is_usize(true)
.generate()
.expect("Unable to generate bindings");

Expand Down

0 comments on commit 18f62e5

Please sign in to comment.