Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Research areas #53

Open
decriptor opened this issue Mar 4, 2018 · 2 comments
Open

Research areas #53

decriptor opened this issue Mar 4, 2018 · 2 comments
Labels
RFC Request For Comment

Comments

@decriptor
Copy link
Contributor

  • Generated code optimizations
  • Field offsets
@decriptor decriptor added the RFC Request For Comment label Mar 4, 2018
@sundermann
Copy link
Collaborator

What do you mean with field offsets? Unions?

@sundermann
Copy link
Collaborator

Varargs parameters are probably an issue. The old generator didn't generate them either since there is no support in .NET for marshalling varags parameters to native. Multiple overloads might work but they are quite ugly:

static extern void varargs_func (int i1);
static extern void varargs_func (int i1, int i2);
static extern void varargs_func (int i1, int i2, int i3);
...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
RFC Request For Comment
Projects
None yet
Development

No branches or pull requests

2 participants