ObjFW  Check-in [1e3159ac95]

Overview
Comment:OFRunLoop: Move #ifdef to the right place
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 1e3159ac95dad418ad8b2154bb9da0d42b7a666dd61d02c8ead950b44448b4c0
User & Date: js on 2017-09-24 15:42:51
Other Links: manifest | tags
Context
2017-09-24
15:57
OFHTTPClient: Make sure requestString stays around check-in: 112085f4bc user: js tags: trunk
15:42
OFRunLoop: Move #ifdef to the right place check-in: 1e3159ac95 user: js tags: trunk
15:18
Make GCC happy again check-in: 55a159ff58 user: js tags: trunk
Changes

Modified src/OFRunLoop.m from [20e274a7c7] to [fbe3b55d16].

262
263
264
265
266
267
268
269
270
271
272
273
274
275
276

	[super dealloc];
}
# endif
@end

@implementation OFRunLoop_WriteQueueItem
# ifdef OF_HAVE_BLOCKS
- (bool)handleObject: (id)object
{
	size_t length;
	id exception = nil;

	@try {
		length = [object writeBuffer: (char *)_buffer + _writtenLength







<







262
263
264
265
266
267
268

269
270
271
272
273
274
275

	[super dealloc];
}
# endif
@end

@implementation OFRunLoop_WriteQueueItem

- (bool)handleObject: (id)object
{
	size_t length;
	id exception = nil;

	@try {
		length = [object writeBuffer: (char *)_buffer + _writtenLength
309
310
311
312
313
314
315

316
317
318
319
320
321
322
		_writtenLength = 0;
		return true;
# ifdef OF_HAVE_BLOCKS
	}
# endif
}


- (void)dealloc
{
	[_block release];

	[super dealloc];
}
# endif







>







308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
		_writtenLength = 0;
		return true;
# ifdef OF_HAVE_BLOCKS
	}
# endif
}

# ifdef OF_HAVE_BLOCKS
- (void)dealloc
{
	[_block release];

	[super dealloc];
}
# endif