Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- create :: FunctionsInfo a -> (forall s. Functions s a -> IO b) -> IO b
- data Functions s a
- data FunctionsInfo a = FunctionsInfo {}
- type FnAllocationFunction a = Ptr a -> Size -> Alignment -> SystemAllocationScope -> IO (Ptr ())
- type FnReallocationFunction a = Ptr a -> Ptr () -> Size -> Alignment -> SystemAllocationScope -> IO (Ptr ())
- type FnFreeFunction a = Ptr a -> Ptr () -> IO ()
- type FnInternalAllocationNotification a = Ptr a -> Size -> InternalAllocationType -> SystemAllocationScope -> IO ()
- type FnInternalFreeNotification a = Ptr a -> Size -> InternalAllocationType -> SystemAllocationScope -> IO ()
- type Size = Word64
- type Alignment = Word64
- apply :: Functions s a -> Ptr a -> A s a
- data A s a
- class ToMiddle (msa :: Maybe (Type, Type))
CREATE
data FunctionsInfo a #
Function Types
type FnAllocationFunction a = Ptr a -> Size -> Alignment -> SystemAllocationScope -> IO (Ptr ()) #
type FnReallocationFunction a = Ptr a -> Ptr () -> Size -> Alignment -> SystemAllocationScope -> IO (Ptr ()) #
type FnFreeFunction a = Ptr a -> Ptr () -> IO () #
type FnInternalAllocationNotification a = Ptr a -> Size -> InternalAllocationType -> SystemAllocationScope -> IO () #
type FnInternalFreeNotification a = Ptr a -> Size -> InternalAllocationType -> SystemAllocationScope -> IO () #