ForNeVeR / ForNeVeR/Cesium

`FuncPtr` signature checking

Open
#490 0 comments 0 reactions 0 assignees View on GitHub
area:cil-interop kind:feature status:help-wanted
Dominant language
C#
Stars
451
Forks
49
Avg merge
13h 59m
Merged PRs (30d)
6

Description

After #356, Cesium now supports `FuncPtr` interop: you can pass a C function pointer to a .NET method that has `FuncPtr` 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.