[Ironruby-core] Code Review: Win32APIPlatformCheck

Ivan Porto Carrero ivan at flanders.co.nz
Sat Oct 3 19:44:24 EDT 2009

Ok. That gets me a little bit further.
gems use the tty? method on IO. which in turn calls

        private extern static IntPtr GetStdHandle(int nStdHandle);

        private extern static int GetFileType(IntPtr hFile);

obviously kernel32 doesn't exist. Will look at making finding the unix
equivalent for that.
But Win32Api does behave properly now

Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)

On Sat, Oct 3, 2009 at 10:55 PM, Tomas Matousek <
Tomas.Matousek at microsoft.com> wrote:

>  tfpt review "/shelveset:Win32APIPlatformCheck;REDMOND\tomat"
>  Comment  :
>  Adds Win32 platform check to Win32API.rb.
> Tomas
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20091004/b24bc8dd/attachment.html>

More information about the Ironruby-core mailing list