diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-01-24 12:47:26 +1200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-15 06:02:24 -0800 |
commit | 3521cdcbd6bb2e282249286afe16b066e4af30e8 (patch) | |
tree | c7055dd4ca7069ba357ca78d51aa5501cfb330b7 /qthelper.cpp | |
parent | 6397d56af4a6eccf9b2ed748499fe891dcdb64b1 (diff) | |
download | subsurface-3521cdcbd6bb2e282249286afe16b066e4af30e8.tar.gz |
membuffer: add helper functions to return regular C strings
The whole "create a string using a printf-like interface" thing is
pretty common, and most users then don't necessarily want to deal with
the membuffer interfaces around it.
So this just creates trivial wrappers to do this, so that you can do
s = format_string("%d: %s\n", i, str);
or similar things.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qthelper.cpp')
0 files changed, 0 insertions, 0 deletions