Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data A
- pattern A :: PtrVoid -> PfnAllocationFunction -> PfnReallocationFunction -> PfnFreeFunction -> PfnInternalAllocationNotification -> PfnInternalFreeNotification -> A
- aPUserData :: A -> PtrVoid
- aPfnAllocation :: A -> PfnAllocationFunction
- aPfnReallocation :: A -> PfnReallocationFunction
- aPfnFree :: A -> PfnFreeFunction
- aPfnInternalAllocation :: A -> PfnInternalAllocationNotification
- aPfnInternalFree :: A -> PfnInternalFreeNotification
- wrapAllocationFunction :: FnAllocationFunction a -> IO PfnAllocationFunction
- type FnAllocationFunction a = Ptr a -> Word64 -> Word64 -> Word32 -> IO (Ptr ())
- type PfnAllocationFunction = FunPtr (FnAllocationFunction ())
- wrapReallocationFunction :: FnReallocationFunction a -> IO PfnReallocationFunction
- type FnReallocationFunction a = Ptr a -> Ptr () -> Word64 -> Word64 -> Word32 -> IO (Ptr ())
- type PfnReallocationFunction = FunPtr (FnReallocationFunction ())
- wrapFreeFunction :: FnFreeFunction a -> IO PfnFreeFunction
- type FnFreeFunction a = Ptr a -> Ptr () -> IO ()
- type PfnFreeFunction = FunPtr (FnFreeFunction ())
- wrapInternalAllocationNotification :: FnInternalAllocationNotification a -> IO PfnInternalAllocationNotification
- type FnInternalAllocationNotification a = Ptr a -> Word64 -> Word32 -> Word32 -> IO ()
- type PfnInternalAllocationNotification = FunPtr (FnInternalAllocationNotification ())
- wrapInternalFreeNotification :: FnInternalFreeNotification a -> IO PfnInternalFreeNotification
- type FnInternalFreeNotification a = Ptr a -> Word64 -> Word32 -> Word32 -> IO ()
- type PfnInternalFreeNotification = FunPtr (FnInternalFreeNotification ())
TYPE
pattern A :: PtrVoid -> PfnAllocationFunction -> PfnReallocationFunction -> PfnFreeFunction -> PfnInternalAllocationNotification -> PfnInternalFreeNotification -> A Source #
aPUserData :: A -> PtrVoid Source #
aPfnFree :: A -> PfnFreeFunction Source #
FUNCTIONS
ALLOCATION
type PfnAllocationFunction = FunPtr (FnAllocationFunction ()) Source #
REALLOCATION
type FnReallocationFunction a = Ptr a -> Ptr () -> Word64 -> Word64 -> Word32 -> IO (Ptr ()) Source #
type PfnReallocationFunction = FunPtr (FnReallocationFunction ()) Source #
FREE
type PfnFreeFunction = FunPtr (FnFreeFunction ()) Source #
INTERNAL NOTIFICATION
ALLOCATION
wrapInternalAllocationNotification :: FnInternalAllocationNotification a -> IO PfnInternalAllocationNotification Source #