diff options
author | Nick Fitzgerald <fitzgen@gmail.com> | 2017-10-12 12:01:21 -0700 |
---|---|---|
committer | Nick Fitzgerald <fitzgen@gmail.com> | 2017-10-12 12:06:02 -0700 |
commit | 624aef86cad30f7dc108e8d0013bc7cb562e3e8a (patch) | |
tree | b3e9565729f5eff4898bb3fcd538de39a1d86552 | |
parent | fc63260b15f5732e172c391eded4ea1f6379ffb3 (diff) |
Do not make `parse_one` public
`parse_one` was never supposed to be public and it uses a bunch of non-public
types as a parameters, so downstream crates wouldn't be able to call it anyways.
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1677,7 +1677,7 @@ fn filter_builtins(ctx: &BindgenContext, cursor: &clang::Cursor) -> bool { } /// Parse one `Item` from the Clang cursor. -pub fn parse_one( +fn parse_one( ctx: &mut BindgenContext, cursor: clang::Cursor, parent: Option<ItemId>, |