Skip to content

Commit 5a9da95

Browse files
committed
Use parse_callbacks from options
1 parent 0ba4d39 commit 5a9da95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindgen/ir/var.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ fn parse_macro(
429429

430430
let cexpr_tokens = cursor.cexpr_tokens();
431431

432-
if let Some(callbacks) = ctx.parse_callbacks() {
432+
if let Some(callbacks) = ctx.options.parse_callbacks() {
433433
callbacks.modify_macro(cursor.spelling(), &mut cexpr_tokens);
434434
}
435435

0 commit comments

Comments
 (0)