blob: 919b81ae47fda73b31d3190a61fdd0edcf942065 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
//---------------------------------------------------------------------------------------
// $Id$
// Copyright (c) 2009 by Mulle Kybernetik. See License file for details.
//---------------------------------------------------------------------------------------
#import "OCMPassByRefSetter.h"
@implementation OCMPassByRefSetter
- (id)initWithValue:(id)aValue
{
self = [super init];
value = [aValue retain];
return self;
}
- (void)dealloc
{
[value release];
[super dealloc];
}
- (id)value
{
return value;
}
@end
|