Mercurial > repos > rhope
diff kernel.rhope @ 71:c40c3d399133
Add Int32@String and Get Char. Fix stack bug
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 18 Jun 2010 15:07:09 -0400 |
parents | d0ce696786cc |
children | a844c623c7df |
line wrap: on
line diff
--- a/kernel.rhope Wed Jun 16 04:36:53 2010 +0000 +++ b/kernel.rhope Fri Jun 18 15:07:09 2010 -0400 @@ -38,6 +38,7 @@ Foreign C:libc { write[filedes(Int32,Naked),buf(Array,Raw Pointer),nbyte(Int64,Naked):written(Int32,Naked)] + read[filedes(Int32,Naked),buf(Array,Raw Pointer,Mutable),nbyte(Int64,Naked):read(Int64,Naked),buf] } _Print Int32[n,buf:out]