We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
CargoCallbacks
1 parent 67115d9 commit c9ba336Copy full SHA for c9ba336
bindgen/options/mod.rs
@@ -1263,6 +1263,9 @@ options! {
1263
parse_callbacks: Vec<Rc<dyn ParseCallbacks>> {
1264
methods: {
1265
/// Add a new [`ParseCallbacks`] instance to configure types in different situations.
1266
+ ///
1267
+ /// This can also be used with [`CargoCallbacks`](struct@crate::CargoCallbacks) to emit
1268
+ /// `cargo:rerun-if-changed=...` for all `#include`d header files.
1269
pub fn parse_callbacks(mut self, cb: Box<dyn ParseCallbacks>) -> Self {
1270
self.options.parse_callbacks.push(Rc::from(cb));
1271
self
0 commit comments