gambard | d8d4403 | 2017-02-09 15:41:46 | [diff] [blame] | 1 | /* |
Marijn Kruisselbrink | 1b7c4895 | 2023-08-31 16:58:34 | [diff] [blame] | 2 | * Copyright (c) 2009-2021 Erik Doernenburg and contributors |
gambard | d8d4403 | 2017-02-09 15:41:46 | [diff] [blame] | 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 5 | * not use these files except in compliance with the License. You may obtain |
| 6 | * a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 13 | * License for the specific language governing permissions and limitations |
| 14 | * under the License. |
| 15 | */ |
pinkerton@chromium.org | 1d0a5b8df | 2009-09-22 13:45:58 | [diff] [blame] | 16 | |
| 17 | #import <Foundation/Foundation.h> |
| 18 | |
pinkerton@chromium.org | 1d0a5b8df | 2009-09-22 13:45:58 | [diff] [blame] | 19 | @interface NSMethodSignature(OCMAdditions) |
| 20 | |
Marijn Kruisselbrink | 1b7c4895 | 2023-08-31 16:58:34 | [diff] [blame] | 21 | + (NSMethodSignature *)signatureForDynamicPropertyAccessedWithSelector:(SEL)selector inClass:(Class)aClass; |
| 22 | + (NSMethodSignature *)signatureForBlock:(id)block; |
| 23 | |
gambard | d8d4403 | 2017-02-09 15:41:46 | [diff] [blame] | 24 | - (BOOL)usesSpecialStructureReturn; |
Marijn Kruisselbrink | 1b7c4895 | 2023-08-31 16:58:34 | [diff] [blame] | 25 | |
gambard | d8d4403 | 2017-02-09 15:41:46 | [diff] [blame] | 26 | - (NSString *)fullTypeString; |
| 27 | - (const char *)fullObjCTypes; |
pinkerton@chromium.org | 1d0a5b8df | 2009-09-22 13:45:58 | [diff] [blame] | 28 | |
| 29 | @end |