Skip to content

Commit

Permalink
Add debug call
Browse files Browse the repository at this point in the history
  • Loading branch information
filmor committed Feb 10, 2024
1 parent e03b898 commit 6f99e74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rustler/src/dynamic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ impl<'a> Term<'a> {
if term_val & TAG_PRIMARY_MASK == TAG_PRIMARY_BOXED {
let term_ptr = term_val - TAG_PRIMARY_BOXED;
let header = unsafe { *(term_ptr as *const usize) };
dbg!(header, HEADER_FLONUM, SIZE);
header == HEADER_FLONUM
} else {
false
Expand Down

0 comments on commit 6f99e74

Please sign in to comment.