10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
*/
#import <stddef.h>
#import "OFObject.h"
@interface OFString: OFObject
{
char *string;
size_t length;
}
+ new:(const char*)str;
- init;
- init:(const char*)str;
- (char*)cString;
- (size_t)length;
- (OFString*)setTo:(const char*)str;
- (OFString*)clone;
- (OFString*)append:(const char*)str;
@end
/* vim: se syn=objc: */
|
|
|
|
|
|
|
<
<
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
*/
#import <stddef.h>
#import "OFObject.h"
@interface OFString: OFObject
{
char *string;
size_t length;
}
+ new: (const char*)str;
- init;
- init: (const char*)str;
- (char*)cString;
- (size_t)length;
- (OFString*)setTo: (const char*)str;
- (OFString*)clone;
- (OFString*)append: (const char*)str;
@end
|