module GI.GObject.Structs.ClosureNotifyData
(
ClosureNotifyData(..) ,
noClosureNotifyData ,
closureNotifyDataReadData ,
) where
import Prelude ()
import Data.GI.Base.ShortPrelude
import qualified Data.Text as T
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import GI.GObject.Types
import GI.GObject.Callbacks
newtype ClosureNotifyData = ClosureNotifyData (ForeignPtr ClosureNotifyData)
noClosureNotifyData :: Maybe ClosureNotifyData
noClosureNotifyData = Nothing
closureNotifyDataReadData :: ClosureNotifyData -> IO (Ptr ())
closureNotifyDataReadData s = withManagedPtr s $ \ptr -> do
val <- peek (ptr `plusPtr` 0) :: IO (Ptr ())
return val