Skip to content

FuncPtr signature checking #490

Open

Description

@ForNeVeR

After #356, Cesium now supports FuncPtr interop: you can pass a C function pointer to a .NET method that has FuncPtr<TDelegate> in its signature.

We should check the signatures of these functions (i.e. check if TDelegate is a corresponding Action or Func). And also while we are at it, figure out the signature mapping: in particular, how to emphasize the pointers in the signature.

These signatures of TDelegate aren't currently used anywhere in runtime, so they are mostly a compile-time thing.

See TODO[#490] in the code to look where to implement.

Activity

  1. added
    kind:feature
    status:help-wanted
    area:cil-interop
    on Nov 23, 2023
  2. added a commit that references this issue on Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:cil-interopkind:featurestatus:help-wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions