Cesium icon indicating copy to clipboard operation
Cesium copied to clipboard

`FuncPtr` signature checking

Open ForNeVeR opened this issue 1 year ago • 0 comments

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.

ForNeVeR avatar Nov 23 '23 22:11 ForNeVeR