summaryrefslogtreecommitdiffstats
path: root/qthelper.cpp
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2015-01-24 12:47:26 +1200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-15 06:02:24 -0800
commit3521cdcbd6bb2e282249286afe16b066e4af30e8 (patch)
treec7055dd4ca7069ba357ca78d51aa5501cfb330b7 /qthelper.cpp
parent6397d56af4a6eccf9b2ed748499fe891dcdb64b1 (diff)
downloadsubsurface-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