[cvs-nhc98] Changes to IO prims to remove Either return type. In the
Malcolm Wallace
malcolm@sparud.net
Sun, 25 Feb 2001 17:30:03 +0100 (CET)
malcolm: Sun Feb 25 17:30:02 CET 2001
Update of /usr/src/master/nhc/src/runtime/Builtin
In directory hinken:/tmp/cvs-serv18572
Modified Files:
cHFileSize.c cHFlush.c cHGetPosn.c cHSeek.c cHSetBuffering.c
cHSetPosn.c cIOExtras.c cOpen.c
Log Message:
Changes to IO prims to remove Either return type. In the case of
openFileC, we now return an Addr - null if we couldn't open the file,
and a pointer to an already allocated ForeignObj if everything went
ok. The Addr is later converted to a Handle.