aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem/wmem_stack.h
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-05-26 02:40:40 +0000
committerEvan Huus <eapache@gmail.com>2013-05-26 02:40:40 +0000
commita9c35aa4b65dc566ffe845e9bc205e81ecc7979c (patch)
tree9d8d43175267a1e014e1df222d9d5e41d5b81f94 /epan/wmem/wmem_stack.h
parent2ab2ad7a42a104a7e0cff9c8a5f1ceb329b84702 (diff)
First batch of doxygen for wmem. Remove some things from README.wmem now that
they're in doxygen instead. svn path=/trunk/; revision=49583
Diffstat (limited to 'epan/wmem/wmem_stack.h')
-rw-r--r--epan/wmem/wmem_stack.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/epan/wmem/wmem_stack.h b/epan/wmem/wmem_stack.h
index 9a2a569de2..a85c47a3a5 100644
--- a/epan/wmem/wmem_stack.h
+++ b/epan/wmem/wmem_stack.h
@@ -36,6 +36,15 @@
extern "C" {
#endif /* __cplusplus */
+/** @addtogroup wmem
+ * @{
+ * @defgroup wmem-stack Stack
+ *
+ * A stack implementation on top of wmem.
+ *
+ * @{
+ */
+
/* Wmem stack is implemented as a simple wrapper over Wmem slist */
typedef wmem_slist_t wmem_stack_t;
@@ -55,6 +64,9 @@ wmem_stack_push(wmem_stack_t *stack, void *data);
#define wmem_stack_new(ALLOCATOR) wmem_slist_new(ALLOCATOR)
+/** @}
+ * @} */
+
#ifdef __cplusplus
}
#endif /* __cplusplus */