summaryrefslogtreecommitdiffstats
path: root/tests/008/data
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-08-17 07:08:16 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-08-17 07:08:16 -0700
commit22460fb5930d630172c69ecf0e2bfdcb73958445 (patch)
treec8830c01cc4d31d1d6c6092fc3605e234be2e409 /tests/008/data
parent9d481651d4f20d186ffda0a8680c043e656949b8 (diff)
downloadtxr-22460fb5930d630172c69ecf0e2bfdcb73958445.tar.gz
txr-22460fb5930d630172c69ecf0e2bfdcb73958445.tar.bz2
txr-22460fb5930d630172c69ecf0e2bfdcb73958445.zip
Streamlining format with new args module.
* stream.c (vformat): split into a new function called aformat, and a small wrapper which retains the vformat name. (aformat): New function formed from most of vformat. Takes struct args * instead of va_list. (formatv): Big switch statement hack gone. Now the function fills in a struct args, allocated on the stack, with an accurate size based on the args list. This is passed directly to aformat.
Diffstat (limited to 'tests/008/data')
0 files changed, 0 insertions, 0 deletions