Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data SharedPtr a
- type Allocator = Ptr AllocatorT
- c'shared_createAllocator :: IO Allocator
- c'shared_lookupAllocator :: CString -> IO Allocator
- c'shared_destroyAllocator :: Allocator -> IO ()
- c'shared_getStoreName :: Allocator -> CString
- c'shared_ptrToShPtr :: Allocator -> Ptr a -> SharedPtr a
- c'shared_shPtrToPtr :: Allocator -> SharedPtr a -> Ptr a
- c'shared_malloc :: Allocator -> CSize -> IO (Ptr a)
- c'shared_realloc :: Allocator -> Ptr a -> CSize -> IO (Ptr a)
- c'shared_free :: Allocator -> Ptr a -> IO ()
- p'shared_createAllocator :: FunPtr (IO Allocator)
- p'shared_lookupAllocator :: FunPtr (CString -> IO Allocator)
- p'shared_destroyAllocator :: FunPtr (Allocator -> IO ())
- p'shared_getStoreName :: FunPtr (Allocator -> CString)
- p'shared_ptrToShPtr :: FunPtr (Allocator -> Ptr a -> SharedPtr a)
- p'shared_shPtrToPtr :: FunPtr (Allocator -> SharedPtr a -> Ptr a)
- p'shared_malloc :: FunPtr (Allocator -> CSize -> IO (Ptr a))
- p'shared_realloc :: FunPtr (Allocator -> Ptr a -> CSize -> IO (Ptr a))
- p'shared_free :: FunPtr (Allocator -> Ptr a -> IO ())
Documentation
c'shared_destroyAllocator :: Allocator -> IO () Source #