mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-12-26 22:41:08 +00:00
Add a pointer comparison function.
This commit is contained in:
parent
ce567a72e0
commit
5875ade2ed
2 changed files with 2 additions and 0 deletions
1
t/t.h
1
t/t.h
|
@ -102,6 +102,7 @@ t_compare_num(x32, uint32_t);
|
||||||
t_compare_num(i64, int64_t);
|
t_compare_num(i64, int64_t);
|
||||||
t_compare_num(u64, uint64_t);
|
t_compare_num(u64, uint64_t);
|
||||||
t_compare_num(x64, uint64_t);
|
t_compare_num(x64, uint64_t);
|
||||||
|
t_compare_num(ptr, void *);
|
||||||
#undef t_compare_num
|
#undef t_compare_num
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -111,5 +111,6 @@ t_compare_num(x32, uint32_t, "0x%" PRIx32);
|
||||||
t_compare_num(i64, int64_t, "%" PRId64);
|
t_compare_num(i64, int64_t, "%" PRId64);
|
||||||
t_compare_num(u64, uint64_t, "%" PRIu64);
|
t_compare_num(u64, uint64_t, "%" PRIu64);
|
||||||
t_compare_num(x64, uint64_t, "0x%" PRIx64);
|
t_compare_num(x64, uint64_t, "0x%" PRIx64);
|
||||||
|
t_compare_num(ptr, void *, "%p");
|
||||||
|
|
||||||
#undef t_compare_num
|
#undef t_compare_num
|
||||||
|
|
Loading…
Reference in a new issue