mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Updates to move towards ARC
This commit is contained in:
parent
0cd9843f5f
commit
2e07244f8e
15 changed files with 86 additions and 70 deletions
|
@ -6268,14 +6268,14 @@ appendString(NSMutableData *m, NSUInteger offset, NSUInteger fold,
|
|||
|
||||
- (NSString*) description
|
||||
{
|
||||
CREATE_AUTORELEASE_POOL(arp);
|
||||
NSMutableString *m;
|
||||
NSString *s;
|
||||
|
||||
m = [NSMutableString stringWithCapacity: 1000];
|
||||
ENTER_POOL
|
||||
NSMutableString *m = [NSMutableString stringWithCapacity: 1000];
|
||||
[self _descriptionTo: m level: 0];
|
||||
s = RETAIN(m);
|
||||
RELEASE(arp);
|
||||
LEAVE_POOL
|
||||
|
||||
return AUTORELEASE(s);
|
||||
}
|
||||
|
||||
|
@ -7390,7 +7390,7 @@ appendString(NSMutableData *m, NSUInteger offset, NSUInteger fold,
|
|||
|
||||
- (void) encodePart: (GSMimeDocument*)document to: (NSMutableData*)md
|
||||
{
|
||||
CREATE_AUTORELEASE_POOL(arp);
|
||||
ENTER_POOL
|
||||
NSData *d = nil;
|
||||
NSEnumerator *enumerator;
|
||||
NSString *subtype;
|
||||
|
@ -7813,7 +7813,7 @@ appendString(NSMutableData *m, NSUInteger offset, NSUInteger fold,
|
|||
[md appendData: d];
|
||||
}
|
||||
}
|
||||
RELEASE(arp);
|
||||
LEAVE_POOL
|
||||
}
|
||||
|
||||
- (NSUInteger) foldAt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue