[Mono-list] Why InternalCall rather than DllImport?

Matt Kimball matt@kimball.net
Wed, 09 Jan 2002 11:47:57 -0800 (PST)


Dick Porter wrote
> I think we'd be better off implementing cross-platform compatibility in
> the same manner as the current file IO code.  In the case of readdir,
> that means implementing System.IO.Directory.GetDirectories with calls
> to FindFirstFile and FindNextFile.

Okay.

> I can't find the System.Private class in CVS anywhere, and it's not in your
> patch, so I can't comment on that part.

The class in Wrapper.cs lives in the System.Private namespace.

It's being used to get the PID in Linux.cs, but I think that's the only place
it's being used.  Should it, and the associated library, also go away once the
PID is converted to use internal method calls?

-- 
Matt Kimball
matt@kimball.net