Skip to content

Commit bb8db7e

Browse files
authored
Document non-generation of size_t definition (#2607)
* Document non-generation of `size_t` definition * Run rustfmt
1 parent 4dd9afa commit bb8db7e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bindgen/options/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1589,6 +1589,9 @@ options! {
15891589
methods: {
15901590
/// Set whether `size_t` should be translated to `usize`.
15911591
///
1592+
/// If `size_t` is translated to `usize`, type definitions for `size_t` will not be
1593+
/// emitted.
1594+
///
15921595
/// `size_t` is translated to `usize` by default.
15931596
pub fn size_t_is_usize(mut self, is: bool) -> Self {
15941597
self.options.size_t_is_usize = is;

0 commit comments

Comments
 (0)