From: John Darrington Date: Mon, 6 Jul 2009 11:51:34 +0000 (+0800) Subject: data_out function to dynamically allocate return value. X-Git-Tag: build37~53^2~23 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f15c854d8500105766b2f5666bb62b983ff24f88;hp=f15c854d8500105766b2f5666bb62b983ff24f88;p=pspp-builds.git data_out function to dynamically allocate return value. 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. ---