glib-stopgap-0.1.0.0: Stopgap package of binding for GLib
Safe HaskellSafe-Inferred
LanguageHaskell2010

System.GLib.Pointerable

Documentation

class Pointerable a where Source #

Methods

withPtr :: a -> (Ptr a -> IO b) -> IO b Source #

fromPtr :: Ptr a -> IO a Source #

Instances

Instances details
Storable a => Pointerable a Source # 
Instance details

Defined in System.GLib.Pointerable

Methods

withPtr :: a -> (Ptr a -> IO b) -> IO b Source #

fromPtr :: Ptr a -> IO a Source #