Skip to content

_param is unavailable when void * -only parameter passing is used #12

@mulle-nat

Description

@mulle-nat

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);
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions