% % (c) The Foo Project, University of Glasgow, 1998 % % @(#) $Docid: Feb. 9th 2003 08:00 Sigbjorn Finne $ % @(#) $Contactid: sof@galois.com $ % Generating code for the various types of IDL unions. \begin{code} module MarshallUnion ( marshallUnion ) where import BasicTypes ( Name, QualName, qName, BinaryOp(..) ) import AbstractH ( HDecl ) import AbsHUtils import Literal ( iLit ) import CgMonad import CoreIDL import MarshallMonad import MarshallType import MarshallCore ( toHaskellBaseTy ) import CoreUtils import LibUtils import Utils ( trace, traceIf ) import Char ( ord ) import Opts ( optCom ) \end{code} Encapsulated unions