Implement strbuffer
authorPetri Lehtinen <petri@digip.org>
Thu, 11 Jun 2009 05:56:11 +0000 (08:56 +0300)
committerPetri Lehtinen <petri@digip.org>
Thu, 11 Jun 2009 05:56:11 +0000 (08:56 +0300)
commit197d3aa1608a3442d95152d20e15c2b32204aaaf
tree5d769f20128ba4ce3e027b0436c83dc883967eba
parent9b825f7b1832381a6f25199ffff3f88e0bee3295
Implement strbuffer

String buffer (strbuffer) is an object that resizes automatically when
data is added to it. It was implemented by generalizing the technique
used in json_dumps().
src/Makefile.am
src/dump.c
src/strbuffer.c [new file with mode: 0644]
src/strbuffer.h [new file with mode: 0644]