- if (not array)
- return NULL;
-
- array->root= memc;
- array->size= str_length; // We don't count the NULL ending
- memcpy(array->c_str, str, str_length);
- array->c_str[str_length]= 0;
+ if (array)
+ {
+ array->root= memc;
+ array->size= str_length; // We don't count the NULL ending
+ memcpy(array->c_str, str, str_length);
+ array->c_str[str_length]= 0;
+ }