ObjFW  Check-in [172e662b71]

Overview
Comment:Remove whitespaces at EOL.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 172e662b7130d660763570527a160a84a2d33e650d1f7283df55389196ba40ed
User & Date: js on 2009-06-15 19:22:16
Other Links: manifest | tags
Context
2009-06-18
18:26
Add -[appendCStringWithoutUTF8Checking:]. check-in: 47e65e5a97 user: js tags: trunk
2009-06-15
19:22
Remove whitespaces at EOL. check-in: 172e662b71 user: js tags: trunk
2009-06-10
15:31
Add +[setImplementation:forMethod:]. check-in: b10efe7b2b user: js tags: trunk
Changes

Modified src/OFFile.m from [5ce65f3f89] to [9a531e1b8b].

114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
	Class c;

	self = [super init];

	if ((fp = fopen([path cString], [mode cString])) == NULL) {
		c = isa;
		[super dealloc];
		@throw [OFOpenFileFailedException newWithClass: c 
						       andPath: path
						       andMode: mode];
	}

	return self;
}








|







114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
	Class c;

	self = [super init];

	if ((fp = fopen([path cString], [mode cString])) == NULL) {
		c = isa;
		[super dealloc];
		@throw [OFOpenFileFailedException newWithClass: c
						       andPath: path
						       andMode: mode];
	}

	return self;
}

Modified src/OFObject.h from [b4d0f545f8] to [2c81425fe1].

32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
 * initialization.
 */
+ (void)initialize;

/**
 * Allocates memory for an instance of the class.
 *
 * alloc will never return nil, instead, it will throw an 
 * OFAllocFailedException.
 *
 * \return The allocated object.
 */
+ alloc;

/**







|







32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
 * initialization.
 */
+ (void)initialize;

/**
 * Allocates memory for an instance of the class.
 *
 * alloc will never return nil, instead, it will throw an
 * OFAllocFailedException.
 *
 * \return The allocated object.
 */
+ alloc;

/**

Modified tests/OFAutoreleasePool/OFAutoreleasePool.m from [84adeb2e2f] to [865fdcfcaa].

37
38
39
40
41
42
43
44
45
46
47
48
49
50
51

@implementation TestObject
- init
{
	id ret;

	inits++;
       
	ret = init(self, _cmd);
	printf("New %s with retain cnt " ZD "\n", [self name],
	    [ret retainCount]);

	return ret;
}








|







37
38
39
40
41
42
43
44
45
46
47
48
49
50
51

@implementation TestObject
- init
{
	id ret;

	inits++;

	ret = init(self, _cmd);
	printf("New %s with retain cnt " ZD "\n", [self name],
	    [ret retainCount]);

	return ret;
}