OLD | NEW |
1 //------------------------------------------------------------------------------
--------- | 1 //------------------------------------------------------------------------------
--------- |
2 // $Id: OCMArg.h 65 2010-07-28 01:49:42Z erik $ | 2 // $Id$ |
3 // Copyright (c) 2009-2010 by Mulle Kybernetik. See License file for details. | 3 // Copyright (c) 2009-2010 by Mulle Kybernetik. See License file for details. |
4 //------------------------------------------------------------------------------
--------- | 4 //------------------------------------------------------------------------------
--------- |
5 | 5 |
6 #import <Foundation/Foundation.h> | 6 #import <Foundation/Foundation.h> |
7 | 7 |
8 @interface OCMArg : NSObject | 8 @interface OCMArg : NSObject |
9 | 9 |
10 // constraining arguments | 10 // constraining arguments |
11 | 11 |
12 + (id)any; | 12 + (id)any; |
(...skipping 11 matching lines...) Expand all Loading... |
24 + (id *)setTo:(id)value; | 24 + (id *)setTo:(id)value; |
25 | 25 |
26 // internal use only | 26 // internal use only |
27 | 27 |
28 + (id)resolveSpecialValues:(NSValue *)value; | 28 + (id)resolveSpecialValues:(NSValue *)value; |
29 | 29 |
30 @end | 30 @end |
31 | 31 |
32 #define OCMOCK_ANY [OCMArg any] | 32 #define OCMOCK_ANY [OCMArg any] |
33 #define OCMOCK_VALUE(variable) [NSValue value:&variable withObjCType:@encode(__t
ypeof__(variable))] | 33 #define OCMOCK_VALUE(variable) [NSValue value:&variable withObjCType:@encode(__t
ypeof__(variable))] |
OLD | NEW |