* [ Rachel Hestilow <[EMAIL PROTECTED]>
* Tue, 25 Jun 2002 08:31:32 +0200 ]
> 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.

You can use (params object [] list).
It is the equivalent of the ... in C.

-- 
Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
http://www.gnome-db.org/~gonzalo/


_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to