summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2012-12-29 20:41:12 +0000
committerEvan Huus <eapache@gmail.com>2012-12-29 20:41:12 +0000
commita19980c23d68001b32aedca1463f7c1036f1fe03 (patch)
tree72c277a882e6c4d91aa60b3c9a1c78236303e138 /doc
parent563d64862ab2ae3b48c4d1caad60f1214a586115 (diff)
downloadwireshark-a19980c23d68001b32aedca1463f7c1036f1fe03.tar.gz
Replace another instance of emem in README.developer with wmem.
svn path=/trunk/; revision=46847
Diffstat (limited to 'doc')
-rw-r--r--doc/README.developer6
-rw-r--r--doc/README.wmem1
2 files changed, 4 insertions, 3 deletions
diff --git a/doc/README.developer b/doc/README.developer
index 91ff90218e..7ba5028600 100644
--- a/doc/README.developer
+++ b/doc/README.developer
@@ -459,9 +459,9 @@ I.e. do not use a buffer declared as
instead allocate a buffer dynamically using the string-specific or plain wmem
routines (see README.wmem) such as
- emem_strbuf_t *strbuf;
- strbuf = ep_strbuf_new_label("");
- ep_strbuf_append_printf(strbuf, ...
+ wmem_strbuf_t *strbuf;
+ strbuf = wmem_strbuf_new(wmem_packet_scope(), "");
+ wmem_strbuf_append_printf(strbuf, ...
or
diff --git a/doc/README.wmem b/doc/README.wmem
index 63782085e9..23f841f267 100644
--- a/doc/README.wmem
+++ b/doc/README.wmem
@@ -114,6 +114,7 @@ to the lifetime of the pinfo struct.
- wmem_strbuf_new
- wmem_strbuf_sized_new
- wmem_strbuf_append
+ - wmem_strbuf_append_printf
- wmem_strbuf_get_str
- wmem_strbuf_get_len