Fix crash on app list start page contents not existing.
[chromium-blink-merge.git] / third_party / ocmock / OCMock / OCMBlockCaller.h
blob652acc347197b75cce827d036f773eef4797e710
1 //---------------------------------------------------------------------------------------
2 // $Id$
3 // Copyright (c) 2010 by Mulle Kybernetik. See License file for details.
4 //---------------------------------------------------------------------------------------
6 #import <Foundation/Foundation.h>
8 #if NS_BLOCKS_AVAILABLE
10 @interface OCMBlockCaller : NSObject
12 void (^block)(NSInvocation *);
15 - (id)initWithCallBlock:(void (^)(NSInvocation *))theBlock;
17 - (void)handleInvocation:(NSInvocation *)anInvocation;
19 @end
21 #endif