Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
datas are equal? when they refer to the same pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
nyuichi committed Feb 6, 2016
1 parent d710fa3 commit e076a8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extlib/benz/bool.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ internal_equal_p(pic_state *pic, pic_value x, pic_value y, int depth, khash_t(m)
}
return true;
}
case PIC_TT_DATA: {
return pic_data_ptr(x)->data == pic_data_ptr(y)->data;
}
default:
return false;
}
Expand Down

0 comments on commit e076a8f

Please sign in to comment.