Fix undefined variable when running bisect (path_to_file -> config_file_path).
[chromium-blink-merge.git] / third_party / ocmock / OCMock / OCMIndirectReturnValueProvider.m
blobc8b734d7c980873bf015b653c9ac1eaafb35df7c
1 //---------------------------------------------------------------------------------------
2 //  $Id$
3 //  Copyright (c) 2009 by Mulle Kybernetik. See License file for details.
4 //---------------------------------------------------------------------------------------
6 #import "NSMethodSignature+OCMAdditions.h"
7 #import "OCMIndirectReturnValueProvider.h"
10 @implementation OCMIndirectReturnValueProvider
12 - (id)initWithProvider:(id)aProvider andSelector:(SEL)aSelector
14         self = [super init];
15         provider = [aProvider retain];
16         selector = aSelector;
17         return self;
20 - (void)dealloc
22         [provider release];
23         [super dealloc];
26 - (void)handleInvocation:(NSInvocation *)anInvocation
28         [anInvocation setTarget:provider];
29         [anInvocation setSelector:selector];
30         [anInvocation invoke];
33 @end