]> git.draconx.ca Git - cdecl99.git/blobdiff - src/cdecl-internal.h
libcdecl: Accumulate output length in structure.
[cdecl99.git] / src / cdecl-internal.h
index 0064617930454c310d1cc07eadf1633d44168193..4024cab26994908702008ae93eefd5474f82cea6 100644 (file)
@@ -43,6 +43,7 @@ struct cdecl_declspec *cdecl__normalize_specs(struct cdecl_declspec *specs);
 struct output_state {
        char *dst;
        size_t dstlen;
+       size_t accum;
 };
 
 size_t cdecl__advance(struct output_state *dst, size_t amount);