Marshal va_list in C# delegate

后端 未结 4 555
孤城傲影
孤城傲影 2021-01-13 08:04

I\'m trying to make this work from c#:

C header:

typedef void (LogFunc) (const char *format, va_list args);
         


        
4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-13 08:41

    I understand there's also an "__arglist" keyword available in C#:

    • http://www.dotnetinterop.com/faq/?q=Vararg

    • http://bartdesmet.net/blogs/bart/archive/2006/09/28/4473.aspx

提交回复
热议问题