blob: 9d8b98edb006037db39ab1a5df2e979da7af34ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef STRING_H
# define STRING_H
#undef __OBJC2__ /* Turn off OBJC2 on Darwin. */
#include <Object.h>
@interface String: Object
{
char *data;
int len;
}
-init;
-free;
-setStr: (const char *)stringData withLength: (int)length;
-setStr: (const char *)stringData;
-(int)getLen;
-(char *)getStr;
@end
#endif
|