1 //---------------------------------------------------------------------------------------
3 // Copyright (c) 2010 by Mulle Kybernetik. See License file for details.
4 //---------------------------------------------------------------------------------------
6 #import "OCMBlockCaller.h"
8 #if NS_BLOCKS_AVAILABLE
10 @implementation OCMBlockCaller
12 -(id)initWithCallBlock:(void (^)(NSInvocation *))theBlock
15 block = [theBlock copy];
25 - (void)handleInvocation:(NSInvocation *)anInvocation