[project @ 2002-04-26 13:34:05 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 -- A collection of data types, classes, and functions for interfacing
13 -- with another programming language. This is only a convenience module
14 -- in the future, but currently it has the additional task of hiding
15 -- those entities exported from other modules, which are not part of the
16 -- FFI proposal.
17 --
18 -----------------------------------------------------------------------------
19
20 module Foreign
21         ( module Data.Int
22         , module Data.Word
23         , module Foreign.Ptr
24         , module Foreign.ForeignPtr
25         , module Foreign.StablePtr
26         , module Foreign.Storable
27         , module Foreign.Marshal.Alloc
28         , module Foreign.Marshal.Array
29         , module Foreign.Marshal.Error
30         , module Foreign.Marshal.Utils
31         ) where
32
33 import Data.Int
34 import Data.Word
35 import Foreign.Ptr
36 import Foreign.ForeignPtr
37 import Foreign.StablePtr
38 import Foreign.Storable
39 import Foreign.Marshal.Alloc
40 import Foreign.Marshal.Array
41 import Foreign.Marshal.Error
42 import Foreign.Marshal.Utils