[project @ 2002-04-24 16:31:37 by simonmar]
[ghc-base.git] / Foreign.hs
1 {-# OPTIONS -fno-implicit-prelude #-}
2 -----------------------------------------------------------------------------
3 -- |
4 -- Module      :  Foreign
5 -- Copyright   :  (c) The FFI task force 2001
6 -- License     :  BSD-style (see the file libraries/core/LICENSE)
7 -- 
8 -- Maintainer  :  ffi@haskell.org
9 -- Stability   :  provisional
10 -- Portability :  portable
11 --
12 -- $Id: Foreign.hs,v 1.3 2002/04/24 16:31:37 simonmar Exp $
13 --
14 -- A collection of data types, classes, and functions for interfacing
15 -- with another programming language. This is only a convenience module
16 -- in the future, but currently it has the additional task of hiding
17 -- those entities exported from other modules, which are not part of the
18 -- FFI proposal.
19 --
20 -----------------------------------------------------------------------------
21
22 module Foreign
23         ( module Data.Int
24         , module Data.Word
25         , module Foreign.Ptr
26         , module Foreign.ForeignPtr
27         , module Foreign.StablePtr
28         , module Foreign.Storable
29         , module Foreign.Marshal.Alloc
30         , module Foreign.Marshal.Array
31         , module Foreign.Marshal.Error
32         , module Foreign.Marshal.Utils
33         ) where
34
35 import Data.Int
36 import Data.Word
37 import Foreign.Ptr
38 import Foreign.ForeignPtr
39 import Foreign.StablePtr
40 import Foreign.Storable
41 import Foreign.Marshal.Alloc
42 import Foreign.Marshal.Array
43 import Foreign.Marshal.Error
44 import Foreign.Marshal.Utils