data_out function to dynamically allocate return value.
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 6 Jul 2009 11:51:34 +0000 (19:51 +0800)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 6 Jul 2009 11:51:34 +0000 (19:51 +0800)
Preparation for i18n of values.  Instead of asking the
caller to prepare the buffer for output, data_out now
dynamically allocates the output value, and expects the
caller to free it.  This is necessary since for utf8
strings, the caller cannot reasonably know the length of
the required output buffer.  It also simplifies some uses
of data_out.


No differences found