ForNeVeR / ForNeVeR/Cesium

`FuncPtr` interop: support more than 16 arguments

Open
#493 2 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

In #354, we've introduced `FuncPtr` interop: C code may call .NET Core and pass function pointers in the positions when `FuncPtr` is expected.

Currently, we are limited to 16 parameters for each such function because there are no longer delegate types in .NET runtime.

We should support functions of any length instead, perhaps by inventing a custom calling convention on `ValueTuple`s.

While implementing it, seek for number `493` in the code.

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.