stdcxx-0.7.0.0: Binding to Standard Template Library C++
Safe HaskellSafe-Inferred
LanguageHaskell2010

STD.SharedPtr.Template

Documentation

data RawSharedPtr tp1 Source #

Instances

Instances details
Castable (SharedPtr tp1) (Ptr (RawSharedPtr tp1)) Source # 
Instance details

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

SharedPtr (Ptr (RawSharedPtr tp1)) 

Instances

Instances details
FPtr (SharedPtr tp1) Source # 
Instance details

Defined in STD.SharedPtr.Template

Associated Types

type Raw (SharedPtr tp1) #

Methods

get_fptr :: SharedPtr tp1 -> Ptr (Raw (SharedPtr tp1)) #

cast_fptr_to_obj :: Ptr (Raw (SharedPtr tp1)) -> SharedPtr tp1 #

Castable (SharedPtr tp1) (Ptr (RawSharedPtr tp1)) Source # 
Instance details

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 #

type Raw (SharedPtr tp1) Source # 
Instance details

Defined in STD.SharedPtr.Template

type Raw (SharedPtr tp1) = RawSharedPtr tp1

class ISharedPtr tp1 where Source #