Skip to content

Support function pointers as arguments of function pointers #168

@OlegRa

Description

@OlegRa

The current implementation of the inline signature parser handles all native types, user-defined types, and even generics correctly. The only possible use case that is not handled by this implementation is function pointers inside the function pointers. So construction like this will not be processed:

delegate*<int, delegate*<int, int>, int>

The second argument of this function pointer is the function pointer itself and now such recursive construction is not supported. In fact, I'm unable to find any example or practical use case for such a callback-in-callback approach but if someone can provide it I'll be happy to spend time implementing it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpostponedNot critical and can be fixed laterquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions