mulle-objc-runtime
mulle-objc-runtime copied to clipboard
_param is unavailable when void * -only parameter passing is used
The compiler should somehow then alias the only named parameter as _param
, so that forwarding code can be written more uniformly, without having to think about types (in this case).
OK
- (void) foo:(double) x
{
mulle_objc_object_call( self, @selector( bar:), _param);
}
Not OK (at the moment)
- (void) foo:(void *) x
{
mulle_objc_object_call( self, @selector( bar:), _param);
}