edited by Teitelman January 14, 1983 10:33 am
this module exists, rather than being a part of viewerioimpl, because CreateViewerStreams is defined in both io and viewerio, but with different arguments, and hence cannot be exported to both places from the same module.
DIRECTORY
ViewerIO USING [CreateViewerStreams],
IO USING [STREAM],
Rope USING [ROPE]
;
ViewerIOBridgeImpl: CEDAR PROGRAM
IMPORTS ViewerIO
EXPORTS IO
= BEGIN
CreateViewerStreams: PUBLIC PROC [name: Rope.ROPE] RETURNS [in: IO.STREAM, out: IO.STREAM] =
{[in, out] ← ViewerIO.CreateViewerStreams[name]};
END.