10 #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
13 #include "../classes.h"
14 #include "../../shared/shared.h"
30 int size=strlen(in_values[i])+1;
31 char*
string=xNew<char>(size);
32 xMemCpy<char>(
string,in_values[i],size);
33 this->
value[i]=string;
49 xDelete<char>(
string);
51 xDelete<char*>(
value);
97 if(sizes) xDelete<int>(sizes);
112 char** outstrings=NULL;
123 string=this->
value[i];
124 stringsize=strlen(
string)+1;
126 string2=xNew<char>(stringsize);
127 xMemCpy<char>(string2,
string,stringsize);
129 outstrings[i]=string2;
132 else outstrings=NULL;
136 *pstringarray=outstrings;
143 char *string2 = NULL;
148 string=this->
value[i];
149 xDelete<char>(
string);
151 xDelete<char*>(this->
value);
155 this->
value=xNew<char*>(this->numstrings);
157 string=stringarray[i];
158 stringsize=strlen(
string)+1;
160 string2=xNew<char>(stringsize);
161 xMemCpy<char>(string2,
string,stringsize);
163 this->
value[i]=string2;