Index: third_party/ocmock/OCMock/NSInvocation+OCMAdditions.h |
diff --git a/third_party/ocmock/OCMock/NSInvocation+OCMAdditions.h b/third_party/ocmock/OCMock/NSInvocation+OCMAdditions.h |
index 04f22cd6f0eea5f0caa0ba391644ee24fd4fef95..302ac620f2f3b0e564ac659b770fa665c6cc804a 100644 |
--- a/third_party/ocmock/OCMock/NSInvocation+OCMAdditions.h |
+++ b/third_party/ocmock/OCMock/NSInvocation+OCMAdditions.h |
@@ -1,34 +1,47 @@ |
-//--------------------------------------------------------------------------------------- |
-// $Id$ |
-// Copyright (c) 2006-2009 by Mulle Kybernetik. See License file for details. |
-//--------------------------------------------------------------------------------------- |
+/* |
+ * Copyright (c) 2006-2015 Erik Doernenburg and contributors |
+ * |
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may |
+ * not use these files except in compliance with the License. You may obtain |
+ * a copy of the License at |
+ * |
+ * http://www.apache.org/licenses/LICENSE-2.0 |
+ * |
+ * Unless required by applicable law or agreed to in writing, software |
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
+ * License for the specific language governing permissions and limitations |
+ * under the License. |
+ */ |
#import <Foundation/Foundation.h> |
@interface NSInvocation(OCMAdditions) |
-- (id)getArgumentAtIndexAsObject:(int)argIndex; |
+- (BOOL)hasCharPointerArgument; |
+ |
+- (id)getArgumentAtIndexAsObject:(NSInteger)argIndex; |
- (NSString *)invocationDescription; |
-- (NSString *)argumentDescriptionAtIndex:(int)argIndex; |
- |
-- (NSString *)objectDescriptionAtIndex:(int)anInt; |
-- (NSString *)charDescriptionAtIndex:(int)anInt; |
-- (NSString *)unsignedCharDescriptionAtIndex:(int)anInt; |
-- (NSString *)intDescriptionAtIndex:(int)anInt; |
-- (NSString *)unsignedIntDescriptionAtIndex:(int)anInt; |
-- (NSString *)shortDescriptionAtIndex:(int)anInt; |
-- (NSString *)unsignedShortDescriptionAtIndex:(int)anInt; |
-- (NSString *)longDescriptionAtIndex:(int)anInt; |
-- (NSString *)unsignedLongDescriptionAtIndex:(int)anInt; |
-- (NSString *)longLongDescriptionAtIndex:(int)anInt; |
-- (NSString *)unsignedLongLongDescriptionAtIndex:(int)anInt; |
-- (NSString *)doubleDescriptionAtIndex:(int)anInt; |
-- (NSString *)floatDescriptionAtIndex:(int)anInt; |
-- (NSString *)structDescriptionAtIndex:(int)anInt; |
-- (NSString *)pointerDescriptionAtIndex:(int)anInt; |
-- (NSString *)cStringDescriptionAtIndex:(int)anInt; |
-- (NSString *)selectorDescriptionAtIndex:(int)anInt; |
+- (NSString *)argumentDescriptionAtIndex:(NSInteger)argIndex; |
+ |
+- (NSString *)objectDescriptionAtIndex:(NSInteger)anInt; |
+- (NSString *)charDescriptionAtIndex:(NSInteger)anInt; |
+- (NSString *)unsignedCharDescriptionAtIndex:(NSInteger)anInt; |
+- (NSString *)intDescriptionAtIndex:(NSInteger)anInt; |
+- (NSString *)unsignedIntDescriptionAtIndex:(NSInteger)anInt; |
+- (NSString *)shortDescriptionAtIndex:(NSInteger)anInt; |
+- (NSString *)unsignedShortDescriptionAtIndex:(NSInteger)anInt; |
+- (NSString *)longDescriptionAtIndex:(NSInteger)anInt; |
+- (NSString *)unsignedLongDescriptionAtIndex:(NSInteger)anInt; |
+- (NSString *)longLongDescriptionAtIndex:(NSInteger)anInt; |
+- (NSString *)unsignedLongLongDescriptionAtIndex:(NSInteger)anInt; |
+- (NSString *)doubleDescriptionAtIndex:(NSInteger)anInt; |
+- (NSString *)floatDescriptionAtIndex:(NSInteger)anInt; |
+- (NSString *)structDescriptionAtIndex:(NSInteger)anInt; |
+- (NSString *)pointerDescriptionAtIndex:(NSInteger)anInt; |
+- (NSString *)cStringDescriptionAtIndex:(NSInteger)anInt; |
+- (NSString *)selectorDescriptionAtIndex:(NSInteger)anInt; |
@end |