forked from osmocom/wireshark
Replace another instance of emem in README.developer with wmem.
svn path=/trunk/; revision=46847
This commit is contained in:
parent
563d64862a
commit
a19980c23d
|
@ -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
|
instead allocate a buffer dynamically using the string-specific or plain wmem
|
||||||
routines (see README.wmem) such as
|
routines (see README.wmem) such as
|
||||||
|
|
||||||
emem_strbuf_t *strbuf;
|
wmem_strbuf_t *strbuf;
|
||||||
strbuf = ep_strbuf_new_label("");
|
strbuf = wmem_strbuf_new(wmem_packet_scope(), "");
|
||||||
ep_strbuf_append_printf(strbuf, ...
|
wmem_strbuf_append_printf(strbuf, ...
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
|
|
|
@ -114,6 +114,7 @@ to the lifetime of the pinfo struct.
|
||||||
- wmem_strbuf_new
|
- wmem_strbuf_new
|
||||||
- wmem_strbuf_sized_new
|
- wmem_strbuf_sized_new
|
||||||
- wmem_strbuf_append
|
- wmem_strbuf_append
|
||||||
|
- wmem_strbuf_append_printf
|
||||||
- wmem_strbuf_get_str
|
- wmem_strbuf_get_str
|
||||||
- wmem_strbuf_get_len
|
- wmem_strbuf_get_len
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue