packages feed

gi-gio 2.0.34 → 2.0.35

raw patch · 5 files changed

+11/−3 lines, 5 filessetup-changedPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- GI.Gio: GArray :: Ptr (GArray a) -> GArray a
- GI.Gio: GByteArray :: Ptr GByteArray -> GByteArray
- GI.Gio: GError :: ManagedPtr GError -> GError
- GI.Gio: GHashTable :: Ptr (GHashTable a b) -> GHashTable a b
- GI.Gio: GList :: Ptr (GList a) -> GList a
- GI.Gio: GParamSpec :: ManagedPtr GParamSpec -> GParamSpec
- GI.Gio: GPtrArray :: Ptr (GPtrArray a) -> GPtrArray a
- GI.Gio: GSList :: Ptr (GSList a) -> GSList a
- GI.Gio: GType :: CGType -> GType
- GI.Gio: GValue :: ManagedPtr GValue -> GValue
- GI.Gio: GVariant :: ManagedPtr GVariant -> GVariant
- GI.Gio: GVariantDictEntry :: key -> value -> GVariantDictEntry key value
- GI.Gio: GVariantHandle :: Int32 -> GVariantHandle
- GI.Gio: GVariantSinglet :: a -> GVariantSinglet a
- GI.Gio: ManagedPtr :: ForeignPtr a -> Maybe CallStack -> IORef (Maybe CallStack) -> ManagedPtr a
- GI.Gio: PtrWrapped :: Ptr a -> PtrWrapped a
- GI.Gio: UnexpectedNullPointerReturn :: Text -> UnexpectedNullPointerReturn
- GI.Gio: [:&=] :: forall obj info (attr :: Symbol) (tag :: AttrOpTag) b. (HasAttributeList obj, info ~ ResolveAttribute attr obj, AttrInfo info, AttrBaseTypeConstraint info obj, AttrOpAllowed tag info obj, AttrTransferTypeConstraint info b, AttrSetTypeConstraint info (AttrTransferType info)) => AttrLabelProxy attr -> b -> AttrOp obj tag
- GI.Gio: [:::] :: forall object info. SignalProxy object info -> Text -> SignalProxy object info
- GI.Gio: [:=>] :: forall obj info (attr :: Symbol) (tag :: AttrOpTag) b. (HasAttributeList obj, info ~ ResolveAttribute attr obj, AttrInfo info, AttrBaseTypeConstraint info obj, AttrOpAllowed tag info obj, AttrSetTypeConstraint info b) => AttrLabelProxy attr -> IO b -> AttrOp obj tag
- GI.Gio: [:=] :: forall obj info (attr :: Symbol) (tag :: AttrOpTag) b. (HasAttributeList obj, info ~ ResolveAttribute attr obj, AttrInfo info, AttrBaseTypeConstraint info obj, AttrOpAllowed tag info obj, AttrSetTypeConstraint info b) => AttrLabelProxy attr -> b -> AttrOp obj tag
- GI.Gio: [:~>] :: forall obj info (attr :: Symbol) (tag :: AttrOpTag) b a. (HasAttributeList obj, info ~ ResolveAttribute attr obj, AttrInfo info, AttrBaseTypeConstraint info obj, tag ~ 'AttrSet, AttrOpAllowed 'AttrSet info obj, AttrOpAllowed 'AttrGet info obj, AttrSetTypeConstraint info b, a ~ AttrGetType info) => AttrLabelProxy attr -> (a -> IO b) -> AttrOp obj tag
- GI.Gio: [:~] :: forall obj info (attr :: Symbol) (tag :: AttrOpTag) b a. (HasAttributeList obj, info ~ ResolveAttribute attr obj, AttrInfo info, AttrBaseTypeConstraint info obj, tag ~ 'AttrSet, AttrOpAllowed 'AttrSet info obj, AttrOpAllowed 'AttrGet info obj, AttrSetTypeConstraint info b, a ~ AttrGetType info) => AttrLabelProxy attr -> (a -> b) -> AttrOp obj tag
- GI.Gio: [After] :: forall obj info (tag :: AttrOpTag). (GObject obj, SignalInfo info) => SignalProxy obj info -> ((?self :: obj) => HaskellCallbackType info) -> AttrOp obj tag
- GI.Gio: [On] :: forall obj info (tag :: AttrOpTag). (GObject obj, SignalInfo info) => SignalProxy obj info -> ((?self :: obj) => HaskellCallbackType info) -> AttrOp obj tag
- GI.Gio: [PropertyNotify] :: forall info1 (propName :: Symbol) object (pl :: Symbol). (info1 ~ ResolveAttribute propName object, AttrInfo info1, pl ~ AttrLabel info1, KnownSymbol pl) => AttrLabelProxy propName -> SignalProxy object GObjectNotifySignalInfo
- GI.Gio: [gtypeToCGType] :: GType -> CGType
- GI.Gio: [managedForeignPtr] :: ManagedPtr a -> ForeignPtr a
- GI.Gio: [managedPtrAllocCallStack] :: ManagedPtr a -> Maybe CallStack
- GI.Gio: [managedPtrIsDisowned] :: ManagedPtr a -> IORef (Maybe CallStack)
- GI.Gio: [nullPtrErrorMsg] :: UnexpectedNullPointerReturn -> Text
- GI.Gio: [unwrapPtr] :: PtrWrapped a -> Ptr a
- GI.Gio: after :: forall object info m. (GObject object, MonadIO m, SignalInfo info) => object -> SignalProxy object info -> ((?self :: object) => HaskellCallbackType info) -> m SignalHandlerId
- GI.Gio: asA :: (ManagedPtrNewtype a, ManagedPtrNewtype b, HasParentTypes b, IsDescendantOf a b) => b -> (ManagedPtr a -> a) -> a
- GI.Gio: boxedPtrCalloc :: CallocPtr a => IO (Ptr a)
- GI.Gio: boxedPtrCopy :: BoxedPtr a => a -> IO a
- GI.Gio: boxedPtrFree :: BoxedPtr a => a -> IO ()
- GI.Gio: byteStringToCString :: ByteString -> IO CString
- GI.Gio: castTo :: (HasCallStack, ManagedPtrNewtype o, TypedObject o, ManagedPtrNewtype o', TypedObject o', GObject o') => (ManagedPtr o' -> o') -> o -> IO (Maybe o')
- GI.Gio: catchGErrorJust :: GErrorClass err => err -> IO a -> (GErrorMessage -> IO a) -> IO a
- GI.Gio: catchGErrorJustDomain :: GErrorClass err => IO a -> (err -> GErrorMessage -> IO a) -> IO a
- GI.Gio: checkGError :: (Ptr (Ptr GError) -> IO a) -> (GError -> IO a) -> IO a
- GI.Gio: checkInstanceType :: (ManagedPtrNewtype o, TypedObject o) => o -> GType -> IO Bool
- GI.Gio: class TypedObject a => BoxedEnum a
- GI.Gio: class TypedObject a => BoxedFlags a
- GI.Gio: class ManagedPtrNewtype a => BoxedPtr a
- GI.Gio: class BoxedPtr a => CallocPtr a
- GI.Gio: class (ManagedPtrNewtype a, TypedObject a) => GBoxed a
- GI.Gio: class Enum err => GErrorClass err
- GI.Gio: class (ManagedPtrNewtype a, TypedObject a) => GObject a
- GI.Gio: class Enum a => IsGFlag a
- GI.Gio: class IsGValue a
- GI.Gio: class IsGVariant a
- GI.Gio: class Ord a => IsGVariantBasicType a
- GI.Gio: class Coercible a ManagedPtr () => ManagedPtrNewtype a
- GI.Gio: class HasParentTypes a => TypedObject a
- GI.Gio: copyBoxed :: (HasCallStack, GBoxed a) => a -> IO (Ptr a)
- GI.Gio: copyBoxedPtr :: GBoxed a => Ptr a -> IO (Ptr a)
- GI.Gio: copyBytes :: (HasCallStack, CallocPtr a) => Int -> Ptr a -> IO (Ptr a)
- GI.Gio: cstringPackPtr :: CString -> PtrWrapped CString
- GI.Gio: cstringToByteString :: HasCallStack => CString -> IO ByteString
- GI.Gio: cstringToString :: HasCallStack => CString -> IO String
- GI.Gio: cstringToText :: HasCallStack => CString -> IO Text
- GI.Gio: cstringUnpackPtr :: PtrWrapped CString -> CString
- GI.Gio: data AttrOp obj (tag :: AttrOpTag)
- GI.Gio: data GArray a
- GI.Gio: data GByteArray
- GI.Gio: data GClosure a
- GI.Gio: data GHashTable a b
- GI.Gio: data GList a
- GI.Gio: data GPtrArray a
- GI.Gio: data GSList a
- GI.Gio: data GVariantDictEntry key value
- GI.Gio: data GVariantObjectPath
- GI.Gio: data GVariantSignature
- GI.Gio: data ManagedPtr a
- GI.Gio: data SignalProxy object info
- GI.Gio: data UnexpectedNullPointerReturn
- GI.Gio: disownBoxed :: (HasCallStack, GBoxed a) => a -> IO (Ptr a)
- GI.Gio: disownGVariant :: GVariant -> IO (Ptr GVariant)
- GI.Gio: disownManagedPtr :: (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
- GI.Gio: disownObject :: (HasCallStack, GObject a) => a -> IO (Ptr b)
- GI.Gio: freeBoxed :: (HasCallStack, GBoxed a) => a -> IO ()
- GI.Gio: fromGValue :: (IsGValue a, MonadIO m) => GValue -> m a
- GI.Gio: fromGVariant :: IsGVariant a => GVariant -> IO (Maybe a)
- GI.Gio: gDirectEqual :: GEqualFunc (Ptr a)
- GI.Gio: gDirectHash :: GHashFunc (Ptr a)
- GI.Gio: gStrEqual :: GEqualFunc CString
- GI.Gio: gStrHash :: GHashFunc CString
- GI.Gio: g_list_free :: Ptr (GList a) -> IO ()
- GI.Gio: g_slist_free :: Ptr (GSList a) -> IO ()
- GI.Gio: gerrorClassDomain :: GErrorClass err => err -> Text
- GI.Gio: gerrorCode :: GError -> IO GErrorCode
- GI.Gio: gerrorDomain :: GError -> IO GQuark
- GI.Gio: gerrorMessage :: GError -> IO GErrorMessage
- GI.Gio: gerrorNew :: GErrorDomain -> GErrorCode -> GErrorMessage -> IO GError
- GI.Gio: get :: forall info (attr :: Symbol) obj result m. (AttrGetC info obj attr result, MonadIO m) => obj -> AttrLabelProxy attr -> m result
- GI.Gio: gflagsToWord :: (Num b, IsGFlag a) => [a] -> b
- GI.Gio: glibType :: TypedObject a => IO GType
- GI.Gio: gtypeName :: GType -> IO String
- GI.Gio: gvalueGType_ :: IsGValue a => IO GType
- GI.Gio: gvalueGet_ :: IsGValue a => Ptr GValue -> IO a
- GI.Gio: gvaluePackPtr :: Ptr GValue -> PtrWrapped (Ptr GValue)
- GI.Gio: gvalueSet_ :: IsGValue a => Ptr GValue -> a -> IO ()
- GI.Gio: gvalueUnpackPtr :: PtrWrapped (Ptr GValue) -> Ptr GValue
- GI.Gio: gvariantFromBool :: Bool -> IO GVariant
- GI.Gio: gvariantFromBytestring :: ByteString -> IO GVariant
- GI.Gio: gvariantFromDictEntry :: (IsGVariant key, IsGVariantBasicType key, IsGVariant value) => key -> value -> IO GVariant
- GI.Gio: gvariantFromDouble :: Double -> IO GVariant
- GI.Gio: gvariantFromGVariant :: GVariant -> IO GVariant
- GI.Gio: gvariantFromHandle :: Int32 -> IO GVariant
- GI.Gio: gvariantFromInt16 :: Int16 -> IO GVariant
- GI.Gio: gvariantFromInt32 :: Int32 -> IO GVariant
- GI.Gio: gvariantFromInt64 :: Int64 -> IO GVariant
- GI.Gio: gvariantFromList :: IsGVariant a => [a] -> IO GVariant
- GI.Gio: gvariantFromMap :: (IsGVariant key, IsGVariantBasicType key, IsGVariant value) => Map key value -> IO GVariant
- GI.Gio: gvariantFromMaybe :: IsGVariant a => Maybe a -> IO GVariant
- GI.Gio: gvariantFromObjectPath :: GVariantObjectPath -> IO GVariant
- GI.Gio: gvariantFromSignature :: GVariantSignature -> IO GVariant
- GI.Gio: gvariantFromText :: Text -> IO GVariant
- GI.Gio: gvariantFromTuple :: [GVariant] -> IO GVariant
- GI.Gio: gvariantFromWord16 :: Word16 -> IO GVariant
- GI.Gio: gvariantFromWord32 :: Word32 -> IO GVariant
- GI.Gio: gvariantFromWord64 :: Word64 -> IO GVariant
- GI.Gio: gvariantFromWord8 :: Word8 -> IO GVariant
- GI.Gio: gvariantGetTypeString :: GVariant -> IO Text
- GI.Gio: gvariantObjectPathToText :: GVariantObjectPath -> Text
- GI.Gio: gvariantSignatureToText :: GVariantSignature -> Text
- GI.Gio: gvariantToBool :: GVariant -> IO (Maybe Bool)
- GI.Gio: gvariantToBytestring :: GVariant -> IO (Maybe ByteString)
- GI.Gio: gvariantToDictEntry :: (IsGVariant key, IsGVariantBasicType key, IsGVariant value) => GVariant -> IO (Maybe (key, value))
- GI.Gio: gvariantToDouble :: GVariant -> IO (Maybe Double)
- GI.Gio: gvariantToGVariant :: GVariant -> IO (Maybe GVariant)
- GI.Gio: gvariantToHandle :: GVariant -> IO (Maybe Int32)
- GI.Gio: gvariantToInt16 :: GVariant -> IO (Maybe Int16)
- GI.Gio: gvariantToInt32 :: GVariant -> IO (Maybe Int32)
- GI.Gio: gvariantToInt64 :: GVariant -> IO (Maybe Int64)
- GI.Gio: gvariantToList :: IsGVariant a => GVariant -> IO (Maybe [a])
- GI.Gio: gvariantToMap :: (IsGVariant key, IsGVariantBasicType key, IsGVariant value) => GVariant -> IO (Maybe (Map key value))
- GI.Gio: gvariantToMaybe :: IsGVariant a => GVariant -> IO (Maybe (Maybe a))
- GI.Gio: gvariantToObjectPath :: GVariant -> IO (Maybe Text)
- GI.Gio: gvariantToSignature :: GVariant -> IO (Maybe Text)
- GI.Gio: gvariantToText :: GVariant -> IO (Maybe Text)
- GI.Gio: gvariantToTuple :: GVariant -> IO (Maybe [GVariant])
- GI.Gio: gvariantToWord16 :: GVariant -> IO (Maybe Word16)
- GI.Gio: gvariantToWord32 :: GVariant -> IO (Maybe Word32)
- GI.Gio: gvariantToWord64 :: GVariant -> IO (Maybe Word64)
- GI.Gio: gvariantToWord8 :: GVariant -> IO (Maybe Word8)
- GI.Gio: handleGErrorJust :: GErrorClass err => err -> (GErrorMessage -> IO a) -> IO a -> IO a
- GI.Gio: handleGErrorJustDomain :: GErrorClass err => (err -> GErrorMessage -> IO a) -> IO a -> IO a
- GI.Gio: mapCArrayWithLength :: (Storable a, Integral b) => b -> (a -> IO c) -> Ptr a -> IO ()
- GI.Gio: mapGArray :: Storable a => (a -> IO b) -> Ptr (GArray a) -> IO ()
- GI.Gio: mapGList :: (Ptr a -> IO b) -> Ptr (GList (Ptr a)) -> IO ()
- GI.Gio: mapGSList :: (Ptr a -> IO b) -> Ptr (GSList (Ptr a)) -> IO ()
- GI.Gio: mapPtrArray :: (Ptr a -> IO b) -> Ptr (GPtrArray (Ptr a)) -> IO ()
- GI.Gio: mapZeroTerminatedCArray :: (Ptr a -> IO b) -> Ptr (Ptr a) -> IO ()
- GI.Gio: maybePokeGError :: Ptr (Ptr GError) -> Maybe GError -> IO ()
- GI.Gio: maybeWithManagedPtr :: (HasCallStack, ManagedPtrNewtype a) => Maybe a -> (Ptr a -> IO c) -> IO c
- GI.Gio: new :: (Constructible a tag, MonadIO m) => (ManagedPtr a -> a) -> [AttrOp a tag] -> m a
- GI.Gio: newBoxed :: (HasCallStack, GBoxed a) => (ManagedPtr a -> a) -> Ptr a -> IO a
- GI.Gio: newGVariantFromPtr :: Ptr GVariant -> IO GVariant
- GI.Gio: newGVariantObjectPath :: Text -> Maybe GVariantObjectPath
- GI.Gio: newGVariantSignature :: Text -> Maybe GVariantSignature
- GI.Gio: newManagedPtr :: HasCallStack => Ptr a -> IO () -> IO (ManagedPtr a)
- GI.Gio: newManagedPtr' :: HasCallStack => FinalizerPtr a -> Ptr a -> IO (ManagedPtr a)
- GI.Gio: newManagedPtr_ :: Ptr a -> IO (ManagedPtr a)
- GI.Gio: newObject :: (HasCallStack, GObject a, GObject b) => (ManagedPtr a -> a) -> Ptr b -> IO a
- GI.Gio: newPtr :: (HasCallStack, BoxedPtr a) => (ManagedPtr a -> a) -> Ptr a -> IO a
- GI.Gio: newtype GError
- GI.Gio: newtype GParamSpec
- GI.Gio: newtype GType
- GI.Gio: newtype GValue
- GI.Gio: newtype GVariant
- GI.Gio: newtype GVariantHandle
- GI.Gio: newtype GVariantSinglet a
- GI.Gio: newtype PtrWrapped a
- GI.Gio: noGParamSpec :: Maybe GParamSpec
- GI.Gio: noGVariant :: Maybe GVariant
- GI.Gio: on :: forall object info m. (GObject object, MonadIO m, SignalInfo info) => object -> SignalProxy object info -> ((?self :: object) => HaskellCallbackType info) -> m SignalHandlerId
- GI.Gio: packBlockArray :: Int -> [Ptr a] -> IO (Ptr a)
- GI.Gio: packByteString :: ByteString -> IO (Ptr Word8)
- GI.Gio: packFileNameArray :: [String] -> IO (Ptr CString)
- GI.Gio: packGArray :: Storable a => [a] -> IO (Ptr (GArray a))
- GI.Gio: packGByteArray :: ByteString -> IO (Ptr GByteArray)
- GI.Gio: packGHashTable :: GHashFunc a -> GEqualFunc a -> Maybe (GDestroyNotify a) -> Maybe (GDestroyNotify b) -> [(PtrWrapped a, PtrWrapped b)] -> IO (Ptr (GHashTable a b))
- GI.Gio: packGList :: [Ptr a] -> IO (Ptr (GList (Ptr a)))
- GI.Gio: packGPtrArray :: [Ptr a] -> IO (Ptr (GPtrArray (Ptr a)))
- GI.Gio: packGSList :: [Ptr a] -> IO (Ptr (GSList (Ptr a)))
- GI.Gio: packMapStorableArray :: forall a b. Storable b => (a -> b) -> [a] -> IO (Ptr b)
- GI.Gio: packMapZeroTerminatedStorableArray :: forall a b. (Num b, Storable b) => (a -> b) -> [a] -> IO (Ptr b)
- GI.Gio: packPtrArray :: [Ptr a] -> IO (Ptr (Ptr a))
- GI.Gio: packStorableArray :: Storable a => [a] -> IO (Ptr a)
- GI.Gio: packUTF8CArray :: [Text] -> IO (Ptr CString)
- GI.Gio: packZeroTerminatedByteString :: ByteString -> IO (Ptr Word8)
- GI.Gio: packZeroTerminatedFileNameArray :: [String] -> IO (Ptr CString)
- GI.Gio: packZeroTerminatedPtrArray :: [Ptr a] -> IO (Ptr (Ptr a))
- GI.Gio: packZeroTerminatedStorableArray :: (Num a, Storable a) => [a] -> IO (Ptr a)
- GI.Gio: packZeroTerminatedUTF8CArray :: [Text] -> IO (Ptr CString)
- GI.Gio: propagateGError :: (Ptr (Ptr GError) -> IO a) -> IO a
- GI.Gio: ptrPackPtr :: Ptr a -> PtrWrapped (Ptr a)
- GI.Gio: ptrUnpackPtr :: PtrWrapped (Ptr a) -> Ptr a
- GI.Gio: releaseObject :: (HasCallStack, GObject a) => a -> IO ()
- GI.Gio: set :: forall o m. MonadIO m => o -> [AttrOp o 'AttrSet] -> m ()
- GI.Gio: stringToCString :: String -> IO CString
- GI.Gio: textToCString :: Text -> IO CString
- GI.Gio: toGValue :: (IsGValue a, MonadIO m) => a -> m GValue
- GI.Gio: toGVariant :: IsGVariant a => a -> IO GVariant
- GI.Gio: toGVariantFormatString :: IsGVariant a => a -> Text
- GI.Gio: toManagedPtr :: ManagedPtrNewtype a => a -> ManagedPtr a
- GI.Gio: touchManagedPtr :: ManagedPtrNewtype a => a -> IO ()
- GI.Gio: type CGType = Word64
- GI.Gio: type GDestroyNotify ptr = FunPtr ptr -> IO ()
- GI.Gio: type GEqualFunc a = FunPtr PtrWrapped a -> PtrWrapped a -> IO Int32
- GI.Gio: type GErrorCode = C_gint
- GI.Gio: type GErrorDomain = GQuark
- GI.Gio: type GErrorMessage = Text
- GI.Gio: type GHashFunc a = FunPtr PtrWrapped a -> IO Word32
- GI.Gio: unpackBlockArrayWithLength :: Integral a => Int -> a -> Ptr b -> IO [Ptr b]
- GI.Gio: unpackBoxedArrayWithLength :: (Integral a, GBoxed b) => Int -> a -> Ptr b -> IO [Ptr b]
- GI.Gio: unpackByteStringWithLength :: Integral a => a -> Ptr Word8 -> IO ByteString
- GI.Gio: unpackFileNameArrayWithLength :: (HasCallStack, Integral a) => a -> Ptr CString -> IO [String]
- GI.Gio: unpackGArray :: Storable a => Ptr (GArray a) -> IO [a]
- GI.Gio: unpackGByteArray :: Ptr GByteArray -> IO ByteString
- GI.Gio: unpackGHashTable :: Ptr (GHashTable a b) -> IO [(PtrWrapped a, PtrWrapped b)]
- GI.Gio: unpackGList :: Ptr (GList (Ptr a)) -> IO [Ptr a]
- GI.Gio: unpackGPtrArray :: Ptr (GPtrArray (Ptr a)) -> IO [Ptr a]
- GI.Gio: unpackGSList :: Ptr (GSList (Ptr a)) -> IO [Ptr a]
- GI.Gio: unpackMapStorableArrayWithLength :: (Integral a, Storable b) => (b -> c) -> a -> Ptr b -> IO [c]
- GI.Gio: unpackMapZeroTerminatedStorableArray :: (Eq a, Num a, Storable a) => (a -> b) -> Ptr a -> IO [b]
- GI.Gio: unpackPtrArrayWithLength :: Integral a => a -> Ptr (Ptr b) -> IO [Ptr b]
- GI.Gio: unpackStorableArrayWithLength :: (Integral a, Storable b) => a -> Ptr b -> IO [b]
- GI.Gio: unpackUTF8CArrayWithLength :: (HasCallStack, Integral a) => a -> Ptr CString -> IO [Text]
- GI.Gio: unpackZeroTerminatedByteString :: Ptr Word8 -> IO ByteString
- GI.Gio: unpackZeroTerminatedFileNameArray :: HasCallStack => Ptr CString -> IO [String]
- GI.Gio: unpackZeroTerminatedPtrArray :: Ptr (Ptr a) -> IO [Ptr a]
- GI.Gio: unpackZeroTerminatedStorableArray :: (Eq a, Num a, Storable a) => Ptr a -> IO [a]
- GI.Gio: unpackZeroTerminatedUTF8CArray :: HasCallStack => Ptr CString -> IO [Text]
- GI.Gio: unrefGArray :: Ptr (GArray a) -> IO ()
- GI.Gio: unrefGByteArray :: Ptr GByteArray -> IO ()
- GI.Gio: unrefGHashTable :: Ptr (GHashTable a b) -> IO ()
- GI.Gio: unrefGVariant :: GVariant -> IO ()
- GI.Gio: unrefObject :: (HasCallStack, GObject a) => a -> IO ()
- GI.Gio: unrefPtrArray :: Ptr (GPtrArray a) -> IO ()
- GI.Gio: unsafeCastTo :: (HasCallStack, ManagedPtrNewtype o, TypedObject o, ManagedPtrNewtype o', TypedObject o') => (ManagedPtr o' -> o') -> o -> IO o'
- GI.Gio: unsafeManagedPtrCastPtr :: (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
- GI.Gio: unsafeManagedPtrGetPtr :: (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr a)
- GI.Gio: withManagedPtr :: (HasCallStack, ManagedPtrNewtype a) => a -> (Ptr a -> IO c) -> IO c
- GI.Gio: withManagedPtrList :: (HasCallStack, ManagedPtrNewtype a) => [a] -> ([Ptr a] -> IO c) -> IO c
- GI.Gio: withNewObject :: (HasCallStack, GObject o) => Ptr o -> (o -> IO b) -> IO b
- GI.Gio: withTextCString :: Text -> (CString -> IO a) -> IO a
- GI.Gio: withTransient :: (HasCallStack, ManagedPtrNewtype a) => Ptr a -> (a -> IO b) -> IO b
- GI.Gio: wordToGFlags :: (Storable a, Integral a, Bits a, IsGFlag b) => a -> [b]
- GI.Gio: wrapBoxed :: (HasCallStack, GBoxed a) => (ManagedPtr a -> a) -> Ptr a -> IO a
- GI.Gio: wrapGVariantPtr :: Ptr GVariant -> IO GVariant
- GI.Gio: wrapObject :: (HasCallStack, GObject a, GObject b) => (ManagedPtr a -> a) -> Ptr b -> IO a
- GI.Gio: wrapPtr :: (HasCallStack, BoxedPtr a) => (ManagedPtr a -> a) -> Ptr a -> IO a
- GI.Gio.Callbacks: drop_closures_CancellableSourceFunc :: CancellableSourceFunc -> CancellableSourceFunc_WithClosures
- GI.Gio.Callbacks: drop_closures_DBusProxyTypeFunc :: DBusProxyTypeFunc -> DBusProxyTypeFunc_WithClosures
- GI.Gio.Callbacks: drop_closures_DatagramBasedSourceFunc :: DatagramBasedSourceFunc -> DatagramBasedSourceFunc_WithClosures
- GI.Gio.Callbacks: drop_closures_FileMeasureProgressCallback :: FileMeasureProgressCallback -> FileMeasureProgressCallback_WithClosures
- GI.Gio.Callbacks: drop_closures_FileProgressCallback :: FileProgressCallback -> FileProgressCallback_WithClosures
- GI.Gio.Callbacks: drop_closures_FileReadMoreCallback :: FileReadMoreCallback -> FileReadMoreCallback_WithClosures
- GI.Gio.Callbacks: drop_closures_IOSchedulerJobFunc :: IOSchedulerJobFunc -> IOSchedulerJobFunc_WithClosures
- GI.Gio.Callbacks: drop_closures_PollableSourceFunc :: PollableSourceFunc -> PollableSourceFunc_WithClosures
- GI.Gio.Callbacks: drop_closures_SocketSourceFunc :: SocketSourceFunc -> SocketSourceFunc_WithClosures
- GI.Gio.Callbacks: noCancellableSourceFunc_WithClosures :: Maybe CancellableSourceFunc_WithClosures
- GI.Gio.Callbacks: noDBusProxyTypeFunc_WithClosures :: Maybe DBusProxyTypeFunc_WithClosures
- GI.Gio.Callbacks: noDatagramBasedSourceFunc_WithClosures :: Maybe DatagramBasedSourceFunc_WithClosures
- GI.Gio.Callbacks: noFileMeasureProgressCallback_WithClosures :: Maybe FileMeasureProgressCallback_WithClosures
- GI.Gio.Callbacks: noFileProgressCallback_WithClosures :: Maybe FileProgressCallback_WithClosures
- GI.Gio.Callbacks: noFileReadMoreCallback_WithClosures :: Maybe FileReadMoreCallback_WithClosures
- GI.Gio.Callbacks: noIOSchedulerJobFunc_WithClosures :: Maybe IOSchedulerJobFunc_WithClosures
- GI.Gio.Callbacks: noPollableSourceFunc_WithClosures :: Maybe PollableSourceFunc_WithClosures
- GI.Gio.Callbacks: noSocketSourceFunc_WithClosures :: Maybe SocketSourceFunc_WithClosures
- GI.Gio.Callbacks: type CancellableSourceFunc_WithClosures = Maybe Cancellable -> Ptr () -> IO Bool
- GI.Gio.Callbacks: type DBusProxyTypeFunc_WithClosures = DBusObjectManagerClient -> Text -> Maybe Text -> Ptr () -> IO GType
- GI.Gio.Callbacks: type DatagramBasedSourceFunc_WithClosures = DatagramBased -> [IOCondition] -> Ptr () -> IO Bool
- GI.Gio.Callbacks: type FileMeasureProgressCallback_WithClosures = Bool -> Word64 -> Word64 -> Word64 -> Ptr () -> IO ()
- GI.Gio.Callbacks: type FileProgressCallback_WithClosures = Int64 -> Int64 -> Ptr () -> IO ()
- GI.Gio.Callbacks: type FileReadMoreCallback_WithClosures = Text -> Int64 -> Ptr () -> IO Bool
- GI.Gio.Callbacks: type IOSchedulerJobFunc_WithClosures = IOSchedulerJob -> Maybe Cancellable -> Ptr () -> IO Bool
- GI.Gio.Callbacks: type PollableSourceFunc_WithClosures = Object -> Ptr () -> IO Bool
- GI.Gio.Callbacks: type SocketSourceFunc_WithClosures = Socket -> [IOCondition] -> Ptr () -> IO Bool
+ GI.Gio.Interfaces.Converter: converterConvertBytes :: (HasCallStack, MonadIO m, IsConverter a) => a -> Bytes -> m Bytes
+ GI.Gio.Interfaces.File: fileCopyAsync :: (HasCallStack, MonadIO m, IsFile a, IsFile b, IsCancellable c) => a -> b -> [FileCopyFlags] -> Int32 -> Maybe c -> Maybe (GClosure d) -> GClosure e -> m ()
+ GI.Gio.Objects.Settings: settingsBindWithMapping :: (HasCallStack, MonadIO m, IsSettings a, IsObject b) => a -> Text -> b -> Text -> [SettingsBindFlags] -> Maybe (GClosure c) -> Maybe (GClosure d) -> m ()
- GI.Gio.Callbacks: type CancellableSourceFunc = Maybe Cancellable -> IO Bool
+ GI.Gio.Callbacks: type CancellableSourceFunc = Maybe Cancellable -> Ptr () -> IO Bool
- GI.Gio.Callbacks: type DBusProxyTypeFunc = DBusObjectManagerClient -> Text -> Maybe Text -> IO GType
+ GI.Gio.Callbacks: type DBusProxyTypeFunc = DBusObjectManagerClient -> Text -> Maybe Text -> Ptr () -> IO GType
- GI.Gio.Callbacks: type DatagramBasedSourceFunc = DatagramBased -> [IOCondition] -> IO Bool
+ GI.Gio.Callbacks: type DatagramBasedSourceFunc = DatagramBased -> [IOCondition] -> Ptr () -> IO Bool
- GI.Gio.Callbacks: type FileMeasureProgressCallback = Bool -> Word64 -> Word64 -> Word64 -> IO ()
+ GI.Gio.Callbacks: type FileMeasureProgressCallback = Bool -> Word64 -> Word64 -> Word64 -> Ptr () -> IO ()
- GI.Gio.Callbacks: type FileProgressCallback = Int64 -> Int64 -> IO ()
+ GI.Gio.Callbacks: type FileProgressCallback = Int64 -> Int64 -> Ptr () -> IO ()
- GI.Gio.Callbacks: type FileReadMoreCallback = Text -> Int64 -> IO Bool
+ GI.Gio.Callbacks: type FileReadMoreCallback = Text -> Int64 -> Ptr () -> IO Bool
- GI.Gio.Callbacks: type IOSchedulerJobFunc = IOSchedulerJob -> Maybe Cancellable -> IO Bool
+ GI.Gio.Callbacks: type IOSchedulerJobFunc = IOSchedulerJob -> Maybe Cancellable -> Ptr () -> IO Bool
- GI.Gio.Callbacks: type PollableSourceFunc = Object -> IO Bool
+ GI.Gio.Callbacks: type PollableSourceFunc = Object -> Ptr () -> IO Bool
- GI.Gio.Callbacks: type SocketSourceFunc = Socket -> [IOCondition] -> IO Bool
+ GI.Gio.Callbacks: type SocketSourceFunc = Socket -> [IOCondition] -> Ptr () -> IO Bool
- GI.Gio.Callbacks: wrap_CancellableSourceFunc :: Maybe (Ptr (FunPtr C_CancellableSourceFunc)) -> CancellableSourceFunc_WithClosures -> C_CancellableSourceFunc
+ GI.Gio.Callbacks: wrap_CancellableSourceFunc :: Maybe (Ptr (FunPtr C_CancellableSourceFunc)) -> CancellableSourceFunc -> C_CancellableSourceFunc
- GI.Gio.Callbacks: wrap_DBusProxyTypeFunc :: Maybe (Ptr (FunPtr C_DBusProxyTypeFunc)) -> DBusProxyTypeFunc_WithClosures -> C_DBusProxyTypeFunc
+ GI.Gio.Callbacks: wrap_DBusProxyTypeFunc :: Maybe (Ptr (FunPtr C_DBusProxyTypeFunc)) -> DBusProxyTypeFunc -> C_DBusProxyTypeFunc
- GI.Gio.Callbacks: wrap_DatagramBasedSourceFunc :: Maybe (Ptr (FunPtr C_DatagramBasedSourceFunc)) -> DatagramBasedSourceFunc_WithClosures -> C_DatagramBasedSourceFunc
+ GI.Gio.Callbacks: wrap_DatagramBasedSourceFunc :: Maybe (Ptr (FunPtr C_DatagramBasedSourceFunc)) -> DatagramBasedSourceFunc -> C_DatagramBasedSourceFunc
- GI.Gio.Callbacks: wrap_FileMeasureProgressCallback :: Maybe (Ptr (FunPtr C_FileMeasureProgressCallback)) -> FileMeasureProgressCallback_WithClosures -> C_FileMeasureProgressCallback
+ GI.Gio.Callbacks: wrap_FileMeasureProgressCallback :: Maybe (Ptr (FunPtr C_FileMeasureProgressCallback)) -> FileMeasureProgressCallback -> C_FileMeasureProgressCallback
- GI.Gio.Callbacks: wrap_FileProgressCallback :: Maybe (Ptr (FunPtr C_FileProgressCallback)) -> FileProgressCallback_WithClosures -> C_FileProgressCallback
+ GI.Gio.Callbacks: wrap_FileProgressCallback :: Maybe (Ptr (FunPtr C_FileProgressCallback)) -> FileProgressCallback -> C_FileProgressCallback
- GI.Gio.Callbacks: wrap_FileReadMoreCallback :: Maybe (Ptr (FunPtr C_FileReadMoreCallback)) -> FileReadMoreCallback_WithClosures -> C_FileReadMoreCallback
+ GI.Gio.Callbacks: wrap_FileReadMoreCallback :: Maybe (Ptr (FunPtr C_FileReadMoreCallback)) -> FileReadMoreCallback -> C_FileReadMoreCallback
- GI.Gio.Callbacks: wrap_IOSchedulerJobFunc :: Maybe (Ptr (FunPtr C_IOSchedulerJobFunc)) -> IOSchedulerJobFunc_WithClosures -> C_IOSchedulerJobFunc
+ GI.Gio.Callbacks: wrap_IOSchedulerJobFunc :: Maybe (Ptr (FunPtr C_IOSchedulerJobFunc)) -> IOSchedulerJobFunc -> C_IOSchedulerJobFunc
- GI.Gio.Callbacks: wrap_PollableSourceFunc :: Maybe (Ptr (FunPtr C_PollableSourceFunc)) -> PollableSourceFunc_WithClosures -> C_PollableSourceFunc
+ GI.Gio.Callbacks: wrap_PollableSourceFunc :: Maybe (Ptr (FunPtr C_PollableSourceFunc)) -> PollableSourceFunc -> C_PollableSourceFunc
- GI.Gio.Callbacks: wrap_SocketSourceFunc :: Maybe (Ptr (FunPtr C_SocketSourceFunc)) -> SocketSourceFunc_WithClosures -> C_SocketSourceFunc
+ GI.Gio.Callbacks: wrap_SocketSourceFunc :: Maybe (Ptr (FunPtr C_SocketSourceFunc)) -> SocketSourceFunc -> C_SocketSourceFunc
- GI.Gio.Interfaces.File: fileMoveAsync :: (HasCallStack, MonadIO m, IsFile a, IsFile b, IsCancellable c) => a -> b -> [FileCopyFlags] -> Int32 -> Maybe c -> Maybe FileProgressCallback -> Maybe AsyncReadyCallback -> m ()
+ GI.Gio.Interfaces.File: fileMoveAsync :: (HasCallStack, MonadIO m, IsFile a, IsFile b, IsCancellable c) => a -> b -> [FileCopyFlags] -> Int32 -> Maybe c -> Maybe (GClosure d) -> GClosure e -> m ()
- GI.Gio.Objects.AppLaunchContext: appLaunchContextGetStartupNotifyId :: (HasCallStack, MonadIO m, IsAppLaunchContext a, IsAppInfo b, IsFile c) => a -> b -> [c] -> m (Maybe Text)
+ GI.Gio.Objects.AppLaunchContext: appLaunchContextGetStartupNotifyId :: (HasCallStack, MonadIO m, IsAppLaunchContext a, IsAppInfo b, IsFile c) => a -> Maybe b -> [c] -> m (Maybe Text)

Files

ChangeLog.md view
@@ -1,3 +1,8 @@+### 2.0.35+++ Make sure that the `data` argument of `AsyncReadyCallback` is marked+  as a `user_data` type argument. See [issue 405](https://github.com/haskell-gi/haskell-gi/issues/405).+ ### 2.0.34  + Expose `InputStreamClass` and `SeekableIface`, see [issue 441](https://github.com/haskell-gi/haskell-gi/issues/441).
Gio.overrides view
@@ -10,6 +10,9 @@ ignore io_modules_load_all_in_directory ignore io_modules_load_all_in_directory_with_scope +# This is a user_data type argument, but it is not marked as such.+set-attr Gio/AsyncReadyCallback/@parameters/data closure 2+ # Properly marked as filename in recent Gio versions. set-attr Gio/AppInfo/get_executable/@return-value/@type name filename 
README.md view
@@ -1,6 +1,6 @@ # Documentation Autogenerated documentation for this package can be found at -[https://hackage.haskell.org/package/gi-gio-2.0.34/docs/GI-Gio.html](https://hackage.haskell.org/package/gi-gio-2.0.34/docs/GI-Gio.html)+[https://hackage.haskell.org/package/gi-gio-2.0.35/docs/GI-Gio.html](https://hackage.haskell.org/package/gi-gio-2.0.35/docs/GI-Gio.html)  For general documentation on using [haskell-gi](https://github.com/haskell-gi/haskell-gi) based bindings, see [the project page](https://github.com/haskell-gi/haskell-gi) or [the Wiki](https://github.com/haskell-gi/haskell-gi/wiki).
Setup.hs view
@@ -11,7 +11,7 @@   where name = "Gio"         version = "2.0"         pkgName = "gi-gio"-        pkgVersion = "2.0.34"+        pkgVersion = "2.0.35"         overridesFile = Just "Gio.overrides"         verbose = False         outputDir = Nothing
gi-gio.cabal view
@@ -1,5 +1,5 @@ name:                 gi-gio-version:              2.0.34+version:              2.0.35 synopsis:             Gio bindings description:          Bindings for Gio, autogenerated by haskell-gi. homepage:             https://github.com/haskell-gi/haskell-gi