[Mono-list] PInvoke:TNG

Sam Ruby rubys@us.ibm.com
Thu, 26 Jul 2001 03:19:14 -0400


Rhys Weatherley wrote:
>
> [DllImport("libc")]
> extern unsafe public static int_t stat(string pathname, stat *buf);

Very nice proposal.  Would the following also work?

  [DllImport("libc")]
  extern public static int_t stat(string pathname, out stat buf);

- Sam Ruby