ObjFW  Diff

Differences From Artifact [43925a9e33]:

To Artifact [223ba55d15]:


12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 * Alternatively, it may be distributed under the terms of the GNU General
 * Public License, either version 2 or 3, which can be found in the file
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#import "NSDictionary+OFObject.h"
#import "OFDictionary_NSDictionary.h"

int _NSDictionary_OFObject_reference;

@implementation NSDictionary (OFObject)
- (id)OFObject
{
	return [[[OFDictionary_NSDictionary alloc]
	    initWithNSDictionary: self] autorelease];
}
@end







|






|



12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 * Alternatively, it may be distributed under the terms of the GNU General
 * Public License, either version 2 or 3, which can be found in the file
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#import "NSDictionary+OFObject.h"
#import "OFNSDictionary.h"

int _NSDictionary_OFObject_reference;

@implementation NSDictionary (OFObject)
- (id)OFObject
{
	return [[[OFNSDictionary alloc]
	    initWithNSDictionary: self] autorelease];
}
@end