diff options
Diffstat (limited to 'src/interp/sys-utility.boot')
-rw-r--r-- | src/interp/sys-utility.boot | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/interp/sys-utility.boot b/src/interp/sys-utility.boot index b75c3115..189ff955 100644 --- a/src/interp/sys-utility.boot +++ b/src/interp/sys-utility.boot @@ -1,4 +1,4 @@ --- Copyright (C) 2007-2012 Gabriel Dos Reis. +-- Copyright (C) 2007-2013 Gabriel Dos Reis. -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without @@ -409,3 +409,14 @@ macro loopBody x == macro constructorDB ctor == property(ctor,'DATABASE) +--% +structure %Libstream == + Record(mode: %IOMode, dir: %Pathname,tbl: %Thing, st: %Stream) + with + libIOMode == (.mode) + libDirname == (.dir) + libIndexTable == (.tbl) + libIndexStream == (.st) + +makeLibstream(m,p,idx==nil,st==nil) == + mk%Libstream(m,p,idx,st) |