ObjFW  Check-in [a0f0c381b2]

Overview
Comment:Minor style improvements.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a0f0c381b25345d86fd6990f0420a258a2cf27fff7a3c1c220f05410abc1145b
User & Date: js on 2011-04-23 22:26:02
Other Links: manifest | tags
Context
2011-04-24
18:30
Add _NSPrintForDebugger. check-in: ff381fe8ba user: js tags: trunk
2011-04-23
22:26
Minor style improvements. check-in: a0f0c381b2 user: js tags: trunk
21:19
Get rid of useless variables. check-in: 01f12ed5e2 user: js tags: trunk
Changes

Modified src/OFXMLElementBuilder.m from [415f6ac93d] to [38288e0329].

21
22
23
24
25
26
27


28
29
30
31
32
33
34
#import "OFXMLElementBuilder.h"
#import "OFXMLElement.h"
#import "OFXMLParser.h"
#import "OFMutableArray.h"
#import "OFAutoreleasePool.h"

#import "OFMalformedXMLException.h"



@implementation OFXMLElementBuilder
+ elementBuilder
{
	return [[[self alloc] init] autorelease];
}








>
>







21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#import "OFXMLElementBuilder.h"
#import "OFXMLElement.h"
#import "OFXMLParser.h"
#import "OFMutableArray.h"
#import "OFAutoreleasePool.h"

#import "OFMalformedXMLException.h"

#import "macros.h"

@implementation OFXMLElementBuilder
+ elementBuilder
{
	return [[[self alloc] init] autorelease];
}

52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
	[(id)delegate release];

	[super dealloc];
}

- (id <OFXMLElementBuilderDelegate>)delegate
{
	return [[(id)delegate retain] autorelease];
}

- (void)setDelegate: (id <OFXMLElementBuilderDelegate>)delegate_
{
	[(id)delegate_ retain];
	[(id)delegate release];
	delegate = delegate_;
}

-    (void)parser: (OFXMLParser*)parser
  didStartElement: (OFString*)name
       withPrefix: (OFString*)prefix
	namespace: (OFString*)ns
       attributes: (OFArray*)attributes







|




<
<
|







54
55
56
57
58
59
60
61
62
63
64
65


66
67
68
69
70
71
72
73
	[(id)delegate release];

	[super dealloc];
}

- (id <OFXMLElementBuilderDelegate>)delegate
{
	OF_GETTER(delegate, YES)
}

- (void)setDelegate: (id <OFXMLElementBuilderDelegate>)delegate_
{


	OF_SETTER(delegate, delegate_, YES, NO)
}

-    (void)parser: (OFXMLParser*)parser
  didStartElement: (OFString*)name
       withPrefix: (OFString*)prefix
	namespace: (OFString*)ns
       attributes: (OFArray*)attributes

Modified src/OFXMLParser.m from [ae63c6543c] to [267ee48789].

whitespace changes only