ObjFW  Diff

Differences From Artifact [d944b1298b]:

To Artifact [f6b02d3f44]:


10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 */

#import <stddef.h>
#import "OFObject.h"

@interface OFConstString: OFObject
{
	const char	*string;
	size_t		length;
}

+ new:(const char*)str;
- init;
- init:(const char*)str;
- (const char*)cString;
- (size_t)length;
@end

/* vim: se syn=objc: */







|
|


|

|



<
<
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26


 */

#import <stddef.h>
#import "OFObject.h"

@interface OFConstString: OFObject
{
	const char *string;
	size_t	   length;
}

+ new: (const char*)str;
- init;
- init: (const char*)str;
- (const char*)cString;
- (size_t)length;
@end