diff options
author | panne <unknown> | 2003-01-28 21:48:23 +0000 |
---|---|---|
committer | panne <unknown> | 2003-01-28 21:48:23 +0000 |
commit | e9eab4bfddf3f374349a405005c1d28f0902a948 (patch) | |
tree | 418d03bb09d995aad7d39483eceacea7335e374a /libraries/base/Foreign.hs | |
parent | 2d32e3a4bb42819e89a97e1c99d1127a3a893113 (diff) | |
download | haskell-e9eab4bfddf3f374349a405005c1d28f0902a948.tar.gz |
[project @ 2003-01-28 21:48:23 by panne]
As agreed (= no riots after the proposal :-) on the FFI list,
introduce a re-exporting module Foreign.Marshal
Diffstat (limited to 'libraries/base/Foreign.hs')
-rw-r--r-- | libraries/base/Foreign.hs | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/libraries/base/Foreign.hs b/libraries/base/Foreign.hs index 15e26dbb90..e0f9e4c058 100644 --- a/libraries/base/Foreign.hs +++ b/libraries/base/Foreign.hs @@ -16,19 +16,16 @@ module Foreign ( module Data.Int - , module Data.Word - , module Foreign.Ptr - , module Foreign.ForeignPtr - , module Foreign.StablePtr + , module Data.Word + , module Foreign.Ptr + , module Foreign.ForeignPtr + , module Foreign.StablePtr , module Foreign.Storable - , module Foreign.Marshal.Alloc - , module Foreign.Marshal.Array - , module Foreign.Marshal.Error - , module Foreign.Marshal.Utils + , module Foreign.Marshal - -- For compatibility with the FFI addendum only. The recommended - -- place to get this from is System.IO.Unsafe. - , unsafePerformIO + -- For compatibility with the FFI addendum only. The recommended + -- place to get this from is System.IO.Unsafe. + , unsafePerformIO ) where import Data.Int @@ -37,9 +34,6 @@ import Foreign.Ptr import Foreign.ForeignPtr import Foreign.StablePtr import Foreign.Storable -import Foreign.Marshal.Alloc -import Foreign.Marshal.Array -import Foreign.Marshal.Error -import Foreign.Marshal.Utils +import Foreign.Marshal import System.IO.Unsafe (unsafePerformIO) |