Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
ghc-internal GHC.Internal.Foreign.Marshal.Pool A memory pool.
module GHC.Internal.Foreign.
Ptr This module provides typed pointers to foreign data. It is part of the Foreign Function Interface (FFI) and will normally be imported via the Foreign module.
-
ghc-internal GHC.Internal.Foreign.Ptr A value of type Ptr a represents a pointer to an object, or an array of objects, which may be marshalled to or from Haskell values of type a. The type a will often be an instance of class Storable which provides the marshalling operations. However this is not essential, and you can provide your own operations to access the pointer. For example you might write small foreign functions to get or set the fields of a C struct.
PlainForeignPtr :: !IORef Finalizers -> ForeignPtrContentsghc-internal GHC.Internal.ForeignPtr The pointer refers to unmanaged memory that was allocated by a foreign function (typically using malloc). The finalizer frequently calls the C function free or some variant of it.
PlainPtr :: MutableByteArray# RealWorld -> ForeignPtrContentsghc-internal GHC.Internal.ForeignPtr The pointer refers to a byte array. Finalization is not supported. This optimizes MallocPtr by avoiding the allocation of a MutVar# when it is known that no one will add finalizers to the ForeignPtr. Functions that add finalizers to a ForeignPtr throw exceptions when the ForeignPtr is backed by PlainPtr. The invariants that apply to MallocPtr apply to PlainPtr as well.
-
ghc-internal GHC.Internal.Generics Used for marking occurrences of the parameter
-
ghc-internal GHC.Internal.Generics No documentation available.
-
ghc-internal GHC.Internal.Generics No documentation available.
-
ghc-internal GHC.Internal.Generics No documentation available.
PermissionDenied :: IOErrorTypeghc-internal GHC.Internal.IO.Exception No documentation available.