mono/gir-sharp

Research areas

Opened this issue · 2 comments

  • Generated code optimizations
  • Field offsets

What do you mean with field offsets? Unions?

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);
...