-
Notifications
You must be signed in to change notification settings - Fork 747
Bindings for types mentioned in whitelisted function's signature are not generated #291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Input: struct dl_phdr_info {
int x;
};
int dl_iterate_phdr(struct dl_phdr_info *); Output: /* automatically generated by rust-bindgen */
extern "C" {
pub fn dl_iterate_phdr(arg1: *mut dl_phdr_info) -> ::std::os::raw::c_int;
} Note the lack of a definition for |
fitzgen
added a commit
to fitzgen/rust-bindgen
that referenced
this issue
Nov 21, 2016
This extends the `TypeCollector` trait implementation for `Item` to consider items of kind `Function` and to collect the types found in the function's signature. Fixes rust-lang#291
fitzgen
added a commit
to fitzgen/rust-bindgen
that referenced
this issue
Nov 21, 2016
This extends the `TypeCollector` trait implementation for `Item` to consider items of kind `Function` and to collect the types found in the function's signature. Fixes rust-lang#291
luser
pushed a commit
to luser/rust-bindgen
that referenced
this issue
Mar 27, 2017
Add a Clippy build to Travis
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The transitive nature of whitelisting means that bindings for these types should be generated.
Testcase incoming...
The text was updated successfully, but these errors were encountered: