// // NSMethodSignatureAdditions.h // HigherOrderMessaging // // Created by Ofri Wolfus on 11/23/05. // Copyright 2005 Ofri Wolfus. All rights reserved. // #import @interface NSMethodSignature (HOMAdditions) - (const char *)types; - (void)setTypes:(const char *)newTypes; - (void)setReturnValueLength:(unsigned)newLength; @end /* This is disabled for now since NSMethodSignature instances appeares to be some kind of singleton object (-retainCount * returns UINT_MAX), and therefor it is not a very good idea to (force) copy them. * This has been tested on Mac OS X 10.4.3 and may change in other versions of OS X. */ /*@interface NSMethodSignature (HOMCopying) - (id)copyWithZone:(NSZone *)zone; @end*/