summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2010-02-28 23:23:17 (GMT)
committerJason Evans <je@facebook.com>2010-03-02 20:10:52 (GMT)
commit74025c85bf6c8e683cf2a24119b12f993806366a (patch)
tree8ce72bcfb2ceaa306af4f020a53cebc6c2a3bc25
parentb9477e782b07afa38c4b1dc0688e053be8a84dd8 (diff)
downloadjemalloc-74025c85bf6c8e683cf2a24119b12f993806366a.zip
jemalloc-74025c85bf6c8e683cf2a24119b12f993806366a.tar.gz
jemalloc-74025c85bf6c8e683cf2a24119b12f993806366a.tar.bz2
Edit rb documentation.
-rw-r--r--jemalloc/include/jemalloc/internal/rb.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/jemalloc/include/jemalloc/internal/rb.h b/jemalloc/include/jemalloc/internal/rb.h
index ab42fd1..ee9b009 100644
--- a/jemalloc/include/jemalloc/internal/rb.h
+++ b/jemalloc/include/jemalloc/internal/rb.h
@@ -194,11 +194,10 @@ a_prefix##reverse_iter(a_rbt_type *rbtree, a_type *start, \
* Arguments:
*
* a_attr : Function attribute for generated functions (ex: static).
- * a_prefix : Prefix for generated functions (ex: extree_).
- * a_rb_type : Type for red-black tree data structure (ex: extree_t).
- * a_type : Type for red-black tree node data structure (ex:
- * extree_node_t).
- * a_field : Name of red-black tree node linkage (ex: extree_link).
+ * a_prefix : Prefix for generated functions (ex: ex_).
+ * a_rb_type : Type for red-black tree data structure (ex: ex_t).
+ * a_type : Type for red-black tree node data structure (ex: ex_node_t).
+ * a_field : Name of red-black tree node linkage (ex: ex_link).
* a_cmp : Node comparison function name, with the following prototype:
* int (a_cmp *)(a_type *a_node, a_type *a_other);
* ^^^^^^
@@ -218,8 +217,8 @@ a_prefix##reverse_iter(a_rbt_type *rbtree, a_type *start, \
* struct ex_node_s {
* rb_node(ex_node_t) ex_link;
* };
- * typedef rb(ex_node_t) ex_t;
- * rb_gen(static, ex_, ex_t, ex_node_t, ex_link, ex_cmp, 1297, 1301)
+ * typedef rb_tree(ex_node_t) ex_t;
+ * rb_gen(static, ex_, ex_t, ex_node_t, ex_link, ex_cmp)
*
* The following API is generated:
*