aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem/wmem_miscutl.h
diff options
context:
space:
mode:
authorNardi Ivan <nardi.ivan@gmail.com>2021-07-07 13:48:49 +0200
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-07-07 13:08:19 +0000
commita6932f56dc11ee0a9ff7333db7779663804036bc (patch)
tree9b8a33fb235b6341de33af7946223f2ad7a51e7f /epan/wmem/wmem_miscutl.h
parent8dc1660ef87d9abc495f5f5e9ed495d956e7d1ee (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.h7
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);
+
+
/** @}
* @} */