diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2010-05-20 04:35:28 -0400 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2010-05-25 07:17:03 -0400 |
commit | df4d5ba4cb86f1055160559c9b7024e3dbf76a38 (patch) | |
tree | eb68c693bf72b67699f622f4549f9228c9d85059 /README | |
parent | f45a7087dc1b44d8e2572e4290b18ce00e8c228f (diff) |
python: improve string handling
This adds ev.str_field('foo') as a non-raising
version of str(ev['foo']) that this patch also
enables. A new C function is necessary because
str(ev['foo'].data) may contain the NUL bytes
that should have terminated the C strings.
Suggested-by: Pierre Tardy <tardyp@gmail.com>
Acked-by: Darren Hart <dvhltc@us.ibm.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions