version 1.11, 2004/02/13 05:48:35 |
version 1.12, 2004/02/26 07:06:31 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM: OpenXM_contrib2/asir2000/builtin/strobj.c,v 1.10 2003/02/14 22:29:07 ohara Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/builtin/strobj.c,v 1.11 2004/02/13 05:48:35 saito Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
|
|
int len; |
int len; |
|
|
len = estimate_length(CO,ARG0(arg)); |
len = estimate_length(CO,ARG0(arg)); |
b = (char *)MALLOC(len+1); |
b = (char *)MALLOC_ATOMIC(len+1); |
soutput_init(b); |
soutput_init(b); |
sprintexpr(CO,ARG0(arg)); |
sprintexpr(CO,ARG0(arg)); |
MKSTR(*rp,b); |
MKSTR(*rp,b); |