aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem/wmem_stack.h
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-12-24 01:17:41 +0000
committerEvan Huus <eapache@gmail.com>2013-12-24 01:17:41 +0000
commit1dfa4e2697c058482d29ae6985583e3a99ff31f1 (patch)
tree65d72e6aedb0740bf23a8bd73101dd281e137767 /epan/wmem/wmem_stack.h
parent5f91a0afc7aabda4670bfb20616af6cbbfd0360d (diff)
Add wmem_destroy_list, wmem_destroy_queue, wmem_destroy_stack so that those
data-structures can be used with manually managed memory. svn path=/trunk/; revision=54432
Diffstat (limited to 'epan/wmem/wmem_stack.h')
-rw-r--r--epan/wmem/wmem_stack.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/wmem/wmem_stack.h b/epan/wmem/wmem_stack.h
index e2435c9b96..7cc667126b 100644
--- a/epan/wmem/wmem_stack.h
+++ b/epan/wmem/wmem_stack.h
@@ -62,6 +62,8 @@ wmem_stack_pop(wmem_stack_t *stack);
#define wmem_stack_new(ALLOCATOR) wmem_list_new(ALLOCATOR)
+#define wmem_destroy_stack(STACK) wmem_destroy_list(STACK)
+
/** @}
* @} */