summaryrefslogtreecommitdiffstats
path: root/third_party/ocmock/ocmock_extensions.mm
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/ocmock/ocmock_extensions.mm')
-rw-r--r--third_party/ocmock/ocmock_extensions.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/ocmock/ocmock_extensions.mm b/third_party/ocmock/ocmock_extensions.mm
index 353012e..bcf11b3 100644
--- a/third_party/ocmock/ocmock_extensions.mm
+++ b/third_party/ocmock/ocmock_extensions.mm
@@ -30,6 +30,8 @@ CR_OCMOCK_RETURN_IMPL(Integer, NSInteger);
CR_OCMOCK_RETURN_IMPL(UnsignedInteger, NSUInteger);
#if !TARGET_OS_IPHONE
+CR_OCMOCK_RETURN_IMPL(CGFloat, CGFloat);
+
- (id)andReturnNSRect:(NSRect)rect {
return [self andReturnValue:[NSValue valueWithRect:rect]];
}