]> git.draconx.ca Git - cdecl99.git/commit
libcdecl: Use a structure for dst/dstlen in output routines.
authorNick Bowler <nbowler@draconx.ca>
Fri, 23 Jun 2023 03:25:50 +0000 (23:25 -0400)
committerNick Bowler <nbowler@draconx.ca>
Fri, 23 Jun 2023 03:28:52 +0000 (23:28 -0400)
commit0b2a2978f09f5d9b56d8655dd60eaffbe9006b7a
tree5e8734827640751b70c8e5981bd80c122b0d3ec6
parent7ec517ce4d3b660e64133c2e67ef7686daec74e2
libcdecl: Use a structure for dst/dstlen in output routines.

Since pretty much all the output functions now just directly pass the
dst and dstlen pointers around without touching them in any other way,
it is more efficient to use a structure so there is only one pointer.
src/cdecl-internal.h
src/declare.c
src/explain.c
src/output.c
t/normalize.c