STD.SharedPtr.Template
data RawSharedPtr tp1 Source #
Defined in STD.SharedPtr.Template
Methods
cast :: SharedPtr tp1 -> (Ptr (RawSharedPtr tp1) -> IO r) -> IO r
uncast :: Ptr (RawSharedPtr tp1) -> (SharedPtr tp1 -> IO r) -> IO r
newtype SharedPtr tp1 Source #
Constructors
Associated Types
type Raw (SharedPtr tp1)
get_fptr :: SharedPtr tp1 -> Ptr (Raw (SharedPtr tp1))
cast_fptr_to_obj :: Ptr (Raw (SharedPtr tp1)) -> SharedPtr tp1
class ISharedPtr tp1 where Source #
newSharedPtr0 :: IO (SharedPtr tp1) Source #
newSharedPtr :: tp1 -> IO (SharedPtr tp1) Source #
get :: SharedPtr tp1 -> IO tp1 Source #
reset :: SharedPtr tp1 -> IO () Source #
use_count :: SharedPtr tp1 -> IO CInt Source #
deleteSharedPtr :: SharedPtr tp1 -> IO () Source #