Safe Haskell | None |
---|---|
Language | Haskell2010 |
Run-time info table support. This module provides support for creating and reading info tables in the running program. We use the RTS data structures directly via hsc2hs.
- mkConInfoTable :: Int -> Int -> Int -> Int -> [Word8] -> IO (Ptr StgInfoTable)
- peekItbl :: Ptr StgInfoTable -> IO StgInfoTable
- data StgInfoTable = StgInfoTable {}
- conInfoPtr :: Ptr () -> Ptr ()
Documentation
peekItbl :: Ptr StgInfoTable -> IO StgInfoTable Source #
data StgInfoTable Source #
conInfoPtr :: Ptr () -> Ptr () Source #
Convert a pointer to an StgConInfo into an info pointer that can be used in the header of a closure.