summaryrefslogtreecommitdiffstats
path: root/third_party/ocmock/OCMock/OCMPassByRefSetter.m
blob: aae3cf38199e5c830875662625ddbe3090a4c8ac (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
{
	[super init];
	value = [aValue retain];
	return self;
}

- (void)dealloc
{
	[value release];
	[super dealloc];
}

- (id)value
{
	return value;
}

@end