diff options
author | Nardi Ivan <nardi.ivan@gmail.com> | 2021-07-07 13:48:49 +0200 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-07-07 13:08:19 +0000 |
commit | a6932f56dc11ee0a9ff7333db7779663804036bc (patch) | |
tree | 9b8a33fb235b6341de33af7946223f2ad7a51e7f /epan/wmem/wmem_miscutl.h | |
parent | 8dc1660ef87d9abc495f5f5e9ed495d956e7d1ee (diff) |
wmem: add a GCompareFunc implementation to compare unsigned integer 64 bits long
Diffstat (limited to 'epan/wmem/wmem_miscutl.h')
-rw-r--r-- | epan/wmem/wmem_miscutl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/wmem/wmem_miscutl.h b/epan/wmem/wmem_miscutl.h index 0c326a0993..ccf65f06d8 100644 --- a/epan/wmem/wmem_miscutl.h +++ b/epan/wmem/wmem_miscutl.h @@ -40,6 +40,13 @@ void * wmem_memdup(wmem_allocator_t *allocator, const void *source, const size_t size) G_GNUC_MALLOC; +/** Generic GCompareFunc implementation to compare unsigned integer 64 bits long + */ +WS_DLL_PUBLIC +gint +uint64_compare(gconstpointer a, gconstpointer b); + + /** @} * @} */ |