12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#import "config.h"
#import <stdio.h>
#import <string.h>
#import "OFString.h"
/* TODO: Do real checks */
int
main()
{
OFString *s1 = [OFString newFromCString: "test"];
OFString *s2 = [OFString newFromCString: ""];
OFString *s3;
OFString *s4 = [OFString new];
|
<
<
|
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#import "config.h"
#import <stdio.h>
#import <string.h>
#import "OFString.h"
int
main()
{
OFString *s1 = [OFString newFromCString: "test"];
OFString *s2 = [OFString newFromCString: ""];
OFString *s3;
OFString *s4 = [OFString new];
|