[Mono-list] va_list in DllImport
Rachel Hestilow
hestilow@ximian.com
25 Jun 2002 01:23:07 -0500
If I wanted to DllImport a function that accepted a va_list parameter
(function gnome_program_initv, in this case), how would I express that
parameter in C#? The only comparable construct in C# would seem to be
object[], but I'm not sure if that provides enough information for the
runtime to marshal everything correctly.
Alternately, does DllImport support marshalling varargs functions
directly? (so I could use gnome_program_init instead of
gnome_program_initv). Either one would work for my purposes.
Thanks,
Rachel