Update mojo sdk to rev 1dc8a9a5db73d3718d99917fadf31f5fb2ebad4f
[chromium-blink-merge.git] / third_party / ocmock / OCMock / NSMethodSignature+OCMAdditions.m
bloba69bb143b695281f2069f8d69a1423241168fed8
1 //---------------------------------------------------------------------------------------
2 //  $Id$
3 //  Copyright (c) 2009 by Mulle Kybernetik. See License file for details.
4 //---------------------------------------------------------------------------------------
6 #import "NSMethodSignature+OCMAdditions.h"
9 @implementation NSMethodSignature(OCMAdditions)
11 - (const char *)methodReturnTypeWithoutQualifiers
13         const char *returnType = [self methodReturnType];
14         while(strchr("rnNoORV", returnType[0]) != NULL)
15                 returnType += 1;
16         return returnType;
19 @end