100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
sizeof(wchar_t)]) == NULL) {
/* FIXME: Add error handling */
return nil;
}
wstring = newstr;
memcpy(wstring + length, wstr, strlength);
wstring[newlen] = '\0';
length = newlen;
return self;
}
@end
|
|
>
|
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
sizeof(wchar_t)]) == NULL) {
/* FIXME: Add error handling */
return nil;
}
wstring = newstr;
memcpy(wstring + length * sizeof(wchar_t), wstr,
strlength * sizeof(wchar_t));
wstring[newlen] = '\0';
length = newlen;
return self;
}
@end
|