Skip to content

Commit 803d73e

Browse files
igeladoemilio
authored andcommitted
Use parse_callbacks from options
1 parent 0a6cf08 commit 803d73e

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)