SafeHaskell: Added SafeHaskell to base
[ghc.git] / libraries / base / Foreign / ForeignPtr / Unsafe.hs
1 {-# LANGUAGE Trustworthy #-}
2 {-# LANGUAGE CPP, NoImplicitPrelude #-}
3
4 -----------------------------------------------------------------------------
5 -- |
6 -- Module : Foreign.ForeignPtr.Unsafe
7 -- Copyright : (c) The University of Glasgow 2001
8 -- License : BSD-style (see the file libraries/base/LICENSE)
9 --
10 -- Maintainer : ffi@haskell.org
11 -- Stability : provisional
12 -- Portability : portable
13 --
14 -- The 'ForeignPtr' type and operations. This module is part of the
15 -- Foreign Function Interface (FFI) and will usually be imported via
16 -- the "Foreign" module.
17 --
18 -- Unsafe API Only.
19 --
20 -----------------------------------------------------------------------------
21
22 module Foreign.ForeignPtr.Unsafe (
23 -- ** Unsafe low-level operations
24 unsafeForeignPtrToPtr,
25 ) where
26
27 import Foreign.ForeignPtr.Imp
28