packages feed

gi-glib 2.0.26 → 2.0.27

raw patch · 4 files changed

+9/−5 lines, 4 filesdep ~textsetup-changedPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: text

API changes (from Hackage documentation)

- GI.GLib.Flags: TestSubprocessFlagsStderr :: TestSubprocessFlags
- GI.GLib.Flags: TestSubprocessFlagsStdin :: TestSubprocessFlags
- GI.GLib.Flags: TestSubprocessFlagsStdout :: TestSubprocessFlags
+ GI.GLib.Callbacks: drop_closures_CopyFunc :: CopyFunc -> CopyFunc_WithClosures
+ GI.GLib.Callbacks: drop_closures_EqualFuncFull :: EqualFuncFull -> EqualFuncFull_WithClosures
+ GI.GLib.Callbacks: drop_closures_HookCheckMarshaller :: HookCheckMarshaller -> HookCheckMarshaller_WithClosures
+ GI.GLib.Callbacks: drop_closures_HookFindFunc :: HookFindFunc -> HookFindFunc_WithClosures
+ GI.GLib.Callbacks: drop_closures_HookMarshaller :: HookMarshaller -> HookMarshaller_WithClosures
+ GI.GLib.Callbacks: drop_closures_IOFunc :: IOFunc -> IOFunc_WithClosures
+ GI.GLib.Callbacks: drop_closures_NodeForeachFunc :: NodeForeachFunc -> NodeForeachFunc_WithClosures
+ GI.GLib.Callbacks: drop_closures_NodeTraverseFunc :: NodeTraverseFunc -> NodeTraverseFunc_WithClosures
+ GI.GLib.Callbacks: drop_closures_OptionArgFunc :: OptionArgFunc -> OptionArgFunc_WithClosures
+ GI.GLib.Callbacks: drop_closures_OptionErrorFunc :: OptionErrorFunc -> OptionErrorFunc_WithClosures
+ GI.GLib.Callbacks: drop_closures_OptionParseFunc :: OptionParseFunc -> OptionParseFunc_WithClosures
+ GI.GLib.Callbacks: drop_closures_SequenceIterCompareFunc :: SequenceIterCompareFunc -> SequenceIterCompareFunc_WithClosures
+ GI.GLib.Callbacks: drop_closures_SourceOnceFunc :: SourceOnceFunc -> SourceOnceFunc_WithClosures
+ GI.GLib.Callbacks: drop_closures_ThreadFunc :: ThreadFunc -> ThreadFunc_WithClosures
+ GI.GLib.Callbacks: drop_closures_TranslateFunc :: TranslateFunc -> TranslateFunc_WithClosures
+ GI.GLib.Callbacks: drop_closures_TraverseFunc :: TraverseFunc -> TraverseFunc_WithClosures
+ GI.GLib.Callbacks: drop_closures_TraverseNodeFunc :: TraverseNodeFunc -> TraverseNodeFunc_WithClosures
+ GI.GLib.Callbacks: dynamic_EqualFuncFull :: (HasCallStack, MonadIO m) => FunPtr C_EqualFuncFull -> Ptr () -> Ptr () -> Ptr () -> m Bool
+ GI.GLib.Callbacks: dynamic_SourceOnceFunc :: (HasCallStack, MonadIO m) => FunPtr C_SourceOnceFunc -> Ptr () -> m ()
+ GI.GLib.Callbacks: genClosure_EqualFuncFull :: MonadIO m => EqualFuncFull -> m (GClosure C_EqualFuncFull)
+ GI.GLib.Callbacks: genClosure_SourceOnceFunc :: MonadIO m => SourceOnceFunc -> m (GClosure C_SourceOnceFunc)
+ GI.GLib.Callbacks: mk_EqualFuncFull :: C_EqualFuncFull -> IO (FunPtr C_EqualFuncFull)
+ GI.GLib.Callbacks: mk_SourceOnceFunc :: C_SourceOnceFunc -> IO (FunPtr C_SourceOnceFunc)
+ GI.GLib.Callbacks: noCopyFunc_WithClosures :: Maybe CopyFunc_WithClosures
+ GI.GLib.Callbacks: noEqualFuncFull :: Maybe EqualFuncFull
+ GI.GLib.Callbacks: noEqualFuncFull_WithClosures :: Maybe EqualFuncFull_WithClosures
+ GI.GLib.Callbacks: noHookCheckMarshaller_WithClosures :: Maybe HookCheckMarshaller_WithClosures
+ GI.GLib.Callbacks: noHookFindFunc_WithClosures :: Maybe HookFindFunc_WithClosures
+ GI.GLib.Callbacks: noHookMarshaller_WithClosures :: Maybe HookMarshaller_WithClosures
+ GI.GLib.Callbacks: noIOFunc_WithClosures :: Maybe IOFunc_WithClosures
+ GI.GLib.Callbacks: noNodeForeachFunc_WithClosures :: Maybe NodeForeachFunc_WithClosures
+ GI.GLib.Callbacks: noNodeTraverseFunc_WithClosures :: Maybe NodeTraverseFunc_WithClosures
+ GI.GLib.Callbacks: noOptionArgFunc_WithClosures :: Maybe OptionArgFunc_WithClosures
+ GI.GLib.Callbacks: noOptionErrorFunc_WithClosures :: Maybe OptionErrorFunc_WithClosures
+ GI.GLib.Callbacks: noOptionParseFunc_WithClosures :: Maybe OptionParseFunc_WithClosures
+ GI.GLib.Callbacks: noSequenceIterCompareFunc_WithClosures :: Maybe SequenceIterCompareFunc_WithClosures
+ GI.GLib.Callbacks: noSourceOnceFunc :: Maybe SourceOnceFunc
+ GI.GLib.Callbacks: noSourceOnceFunc_WithClosures :: Maybe SourceOnceFunc_WithClosures
+ GI.GLib.Callbacks: noThreadFunc_WithClosures :: Maybe ThreadFunc_WithClosures
+ GI.GLib.Callbacks: noTranslateFunc_WithClosures :: Maybe TranslateFunc_WithClosures
+ GI.GLib.Callbacks: noTraverseFunc_WithClosures :: Maybe TraverseFunc_WithClosures
+ GI.GLib.Callbacks: noTraverseNodeFunc_WithClosures :: Maybe TraverseNodeFunc_WithClosures
+ GI.GLib.Callbacks: type C_EqualFuncFull = Ptr () -> Ptr () -> Ptr () -> IO CInt
+ GI.GLib.Callbacks: type C_SourceOnceFunc = Ptr () -> IO ()
+ GI.GLib.Callbacks: type CopyFunc_WithClosures = -- | /@src@/: A pointer to the data which should be copied Ptr () -> -- | /@userData@/: Additional data Ptr () -> -- | __Returns:__ A pointer to the copy IO (Ptr ())
+ GI.GLib.Callbacks: type EqualFuncFull = -- | /@a@/: a value Ptr () -> -- | /@b@/: a value to compare with Ptr () -> -- | __Returns:__ 'P.True' if /@a@/ = /@b@/; 'P.False' otherwise IO Bool
+ GI.GLib.Callbacks: type EqualFuncFull_WithClosures = -- | /@a@/: a value Ptr () -> -- | /@b@/: a value to compare with Ptr () -> -- | /@userData@/: user data provided by the caller Ptr () -> -- | __Returns:__ 'P.True' if /@a@/ = /@b@/; 'P.False' otherwise IO Bool
+ GI.GLib.Callbacks: type HookCheckMarshaller_WithClosures = -- | /@hook@/: a t'GI.GLib.Structs.Hook.Hook' Hook -> -- | /@userData@/: user data Ptr () -> -- | __Returns:__ 'P.False' if /@hook@/ should be destroyed IO Bool
+ GI.GLib.Callbacks: type HookFindFunc_WithClosures = -- | /@hook@/: a t'GI.GLib.Structs.Hook.Hook' Hook -> -- | /@userData@/: user data passed to @/g_hook_find_func()/@ Ptr () -> -- | __Returns:__ 'P.True' if the required t'GI.GLib.Structs.Hook.Hook' has been found IO Bool
+ GI.GLib.Callbacks: type HookMarshaller_WithClosures = -- | /@hook@/: a t'GI.GLib.Structs.Hook.Hook' Hook -> -- | /@userData@/: user data Ptr () -> IO ()
+ GI.GLib.Callbacks: type IOFunc_WithClosures = -- | /@source@/: the t'GI.GLib.Structs.IOChannel.IOChannel' event source IOChannel -> -- | /@condition@/: the condition which has been satisfied [IOCondition] -> -- | /@userData@/: user data set in @/g_io_add_watch()/@ or 'GI.GLib.Functions.ioAddWatch' Ptr () -> -- | __Returns:__ the function should return 'P.False' if the event source -- should be removed IO Bool
+ GI.GLib.Callbacks: type NodeForeachFunc_WithClosures = -- | /@node@/: a t'GI.GLib.Structs.Node.Node'. Node -> -- | /@userData@/: user data passed to @/g_node_children_foreach()/@. Ptr () -> IO ()
+ GI.GLib.Callbacks: type NodeTraverseFunc_WithClosures = -- | /@node@/: a t'GI.GLib.Structs.Node.Node'. Node -> -- | /@userData@/: user data passed to @/g_node_traverse()/@. Ptr () -> -- | __Returns:__ 'P.True' to stop the traversal. IO Bool
+ GI.GLib.Callbacks: type OptionArgFunc_WithClosures = -- | /@optionName@/: The name of the option being parsed. This will be either a -- single dash followed by a single letter (for a short name) or two dashes -- followed by a long option name. Text -> -- | /@value@/: The value to be parsed. Text -> -- | /@userData@/: User data added to the t'GI.GLib.Structs.OptionGroup.OptionGroup' containing the option when -- it was created with 'GI.GLib.Structs.OptionGroup.optionGroupNew' Ptr () -> -- | __Returns:__ 'P.True' if the option was successfully parsed, 'P.False' if an error -- occurred, in which case /@error@/ should be set with @/g_set_error()/@ /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
+ GI.GLib.Callbacks: type OptionErrorFunc_WithClosures = -- | /@context@/: The active t'GI.GLib.Structs.OptionContext.OptionContext' OptionContext -> -- | /@group@/: The group to which the function belongs OptionGroup -> -- | /@userData@/: User data added to the t'GI.GLib.Structs.OptionGroup.OptionGroup' containing the option when -- it was created with 'GI.GLib.Structs.OptionGroup.optionGroupNew' Ptr () -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
+ GI.GLib.Callbacks: type OptionParseFunc_WithClosures = -- | /@context@/: The active t'GI.GLib.Structs.OptionContext.OptionContext' OptionContext -> -- | /@group@/: The group to which the function belongs OptionGroup -> -- | /@userData@/: User data added to the t'GI.GLib.Structs.OptionGroup.OptionGroup' containing the option when -- it was created with 'GI.GLib.Structs.OptionGroup.optionGroupNew' Ptr () -> -- | __Returns:__ 'P.True' if the function completed successfully, 'P.False' if an error -- occurred, in which case /@error@/ should be set with @/g_set_error()/@ /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
+ GI.GLib.Callbacks: type SequenceIterCompareFunc_WithClosures = -- | /@a@/: a t'GI.GLib.Structs.SequenceIter.SequenceIter' SequenceIter -> -- | /@b@/: a t'GI.GLib.Structs.SequenceIter.SequenceIter' SequenceIter -> -- | /@userData@/: user data Ptr () -> -- | __Returns:__ zero if the iterators are equal, a negative value if /@a@/ -- comes before /@b@/, and a positive value if /@b@/ comes before /@a@/. IO Int32
+ GI.GLib.Callbacks: type SourceOnceFunc = IO ()
+ GI.GLib.Callbacks: type SourceOnceFunc_WithClosures = -- | /@userData@/: data passed to the function, set when the source was -- created Ptr () -> IO ()
+ GI.GLib.Callbacks: type ThreadFunc_WithClosures = -- | /@userData@/: data passed to the thread Ptr () -> -- | __Returns:__ the return value of the thread IO (Ptr ())
+ GI.GLib.Callbacks: type TranslateFunc_WithClosures = -- | /@str@/: the untranslated string Text -> -- | /@userData@/: user data specified when installing the function, e.g. -- in 'GI.GLib.Structs.OptionGroup.optionGroupSetTranslateFunc' Ptr () -> -- | __Returns:__ a translation of the string for the current locale. -- The returned string is owned by GLib and must not be freed. IO Text
+ GI.GLib.Callbacks: type TraverseFunc_WithClosures = -- | /@key@/: a key of a t'GI.GLib.Structs.Tree.Tree' node Ptr () -> -- | /@value@/: the value corresponding to the key Ptr () -> -- | /@userData@/: user data passed to @/g_tree_traverse()/@ Ptr () -> -- | __Returns:__ 'P.True' to stop the traversal IO Bool
+ GI.GLib.Callbacks: type TraverseNodeFunc_WithClosures = -- | /@node@/: a t'GI.GLib.Structs.TreeNode.TreeNode' TreeNode -> -- | /@userData@/: user data passed to @/g_tree_foreach_node()/@ Ptr () -> -- | __Returns:__ 'P.True' to stop the traversal IO Bool
+ GI.GLib.Callbacks: wrap_EqualFuncFull :: Maybe (Ptr (FunPtr C_EqualFuncFull)) -> EqualFuncFull_WithClosures -> C_EqualFuncFull
+ GI.GLib.Callbacks: wrap_SourceOnceFunc :: Maybe (Ptr (FunPtr C_SourceOnceFunc)) -> SourceOnceFunc_WithClosures -> C_SourceOnceFunc
+ GI.GLib.Enums: UnicodeScriptCyproMinoan :: UnicodeScript
+ GI.GLib.Enums: UnicodeScriptMath :: UnicodeScript
+ GI.GLib.Enums: UnicodeScriptOldUyghur :: UnicodeScript
+ GI.GLib.Enums: UnicodeScriptTangsa :: UnicodeScript
+ GI.GLib.Enums: UnicodeScriptToto :: UnicodeScript
+ GI.GLib.Enums: UnicodeScriptVithkuqi :: UnicodeScript
+ GI.GLib.Flags: AnotherMainContextFlags :: Int -> MainContextFlags
+ GI.GLib.Flags: FormatSizeFlagsOnlyUnit :: FormatSizeFlags
+ GI.GLib.Flags: FormatSizeFlagsOnlyValue :: FormatSizeFlags
+ GI.GLib.Flags: IOFlagsNone :: IOFlags
+ GI.GLib.Flags: MainContextFlagsNone :: MainContextFlags
+ GI.GLib.Flags: MainContextFlagsOwnerlessPolling :: MainContextFlags
+ GI.GLib.Flags: MarkupParseFlagsDefaultFlags :: MarkupParseFlags
+ GI.GLib.Flags: RegexCompileFlagsDefault :: RegexCompileFlags
+ GI.GLib.Flags: RegexMatchFlagsDefault :: RegexMatchFlags
+ GI.GLib.Flags: SpawnFlagsChildInheritsStderr :: SpawnFlags
+ GI.GLib.Flags: SpawnFlagsChildInheritsStdout :: SpawnFlags
+ GI.GLib.Flags: SpawnFlagsStdinFromDevNull :: SpawnFlags
+ GI.GLib.Flags: TestSubprocessFlagsDefault :: TestSubprocessFlags
+ GI.GLib.Flags: TestSubprocessFlagsInheritStderr :: TestSubprocessFlags
+ GI.GLib.Flags: TestSubprocessFlagsInheritStdin :: TestSubprocessFlags
+ GI.GLib.Flags: TestSubprocessFlagsInheritStdout :: TestSubprocessFlags
+ GI.GLib.Flags: TestTrapFlagsDefault :: TestTrapFlags
+ GI.GLib.Flags: data MainContextFlags
+ GI.GLib.Flags: instance Data.GI.Base.BasicTypes.IsGFlag GI.GLib.Flags.MainContextFlags
+ GI.GLib.Flags: instance GHC.Classes.Eq GI.GLib.Flags.MainContextFlags
+ GI.GLib.Flags: instance GHC.Classes.Ord GI.GLib.Flags.MainContextFlags
+ GI.GLib.Flags: instance GHC.Enum.Enum GI.GLib.Flags.MainContextFlags
+ GI.GLib.Flags: instance GHC.Show.Show GI.GLib.Flags.MainContextFlags
+ GI.GLib.Functions: alignedAlloc :: (HasCallStack, MonadIO m) => Word64 -> Word64 -> Word64 -> m (Ptr ())
+ GI.GLib.Functions: alignedAlloc0 :: (HasCallStack, MonadIO m) => Word64 -> Word64 -> Word64 -> m (Ptr ())
+ GI.GLib.Functions: alignedFree :: (HasCallStack, MonadIO m) => Ptr () -> m ()
+ GI.GLib.Functions: atomicIntCompareAndExchangeFull :: (HasCallStack, MonadIO m) => Int32 -> Int32 -> Int32 -> m (Bool, Int32)
+ GI.GLib.Functions: atomicIntExchange :: (HasCallStack, MonadIO m) => Int32 -> Int32 -> m Int32
+ GI.GLib.Functions: atomicPointerCompareAndExchangeFull :: (HasCallStack, MonadIO m) => Ptr () -> Ptr () -> Ptr () -> m (Bool, Ptr ())
+ GI.GLib.Functions: atomicPointerExchange :: (HasCallStack, MonadIO m) => Ptr () -> Ptr () -> m (Ptr ())
+ GI.GLib.Functions: datalistIdRemoveMultiple :: (HasCallStack, MonadIO m) => Data -> [Word32] -> m ()
+ GI.GLib.Functions: getUserStateDir :: (HasCallStack, MonadIO m) => m [Char]
+ GI.GLib.Functions: logGetDebugEnabled :: (HasCallStack, MonadIO m) => m Bool
+ GI.GLib.Functions: logSetDebugEnabled :: (HasCallStack, MonadIO m) => Bool -> m ()
+ GI.GLib.Structs.MainContext: mainContextNewWithFlags :: (HasCallStack, MonadIO m) => [MainContextFlags] -> m MainContext
- GI.GLib.Callbacks: type ChildWatchFunc = Int32 " /@pid@/: the process id of the child process" -> Int32 " /@waitStatus@/: Status information about the child process, encoded in a platform-specific manner" -> IO ()
+ GI.GLib.Callbacks: type ChildWatchFunc = -- | /@pid@/: the process id of the child process Int32 -> -- | /@waitStatus@/: Status information about the child process, encoded -- in a platform-specific manner Int32 -> IO ()
- GI.GLib.Callbacks: type ChildWatchFunc_WithClosures = Int32 " /@pid@/: the process id of the child process" -> Int32 " /@waitStatus@/: Status information about the child process, encoded in a platform-specific manner" -> Ptr () " /@userData@/: user data passed to @/g_child_watch_add()/@" -> IO ()
+ GI.GLib.Callbacks: type ChildWatchFunc_WithClosures = -- | /@pid@/: the process id of the child process Int32 -> -- | /@waitStatus@/: Status information about the child process, encoded -- in a platform-specific manner Int32 -> -- | /@userData@/: user data passed to @/g_child_watch_add()/@ Ptr () -> IO ()
- GI.GLib.Callbacks: type ClearHandleFunc = Word32 " /@handleId@/: the handle ID to clear" -> IO ()
+ GI.GLib.Callbacks: type ClearHandleFunc = -- | /@handleId@/: the handle ID to clear Word32 -> IO ()
- GI.GLib.Callbacks: type CompareDataFunc = Ptr () " /@a@/: a value" -> Ptr () " /@b@/: a value to compare with" -> IO Int32 " __Returns:__ negative value if /@a@/ \< /@b@/; zero if /@a@/ = /@b@/; positive value if /@a@/ > /@b@/"
+ GI.GLib.Callbacks: type CompareDataFunc = -- | /@a@/: a value Ptr () -> -- | /@b@/: a value to compare with Ptr () -> -- | __Returns:__ negative value if /@a@/ \< /@b@/; zero if /@a@/ = /@b@/; positive -- value if /@a@/ > /@b@/ IO Int32
- GI.GLib.Callbacks: type CompareDataFunc_WithClosures = Ptr () " /@a@/: a value" -> Ptr () " /@b@/: a value to compare with" -> Ptr () " /@userData@/: user data" -> IO Int32 " __Returns:__ negative value if /@a@/ \< /@b@/; zero if /@a@/ = /@b@/; positive value if /@a@/ > /@b@/"
+ GI.GLib.Callbacks: type CompareDataFunc_WithClosures = -- | /@a@/: a value Ptr () -> -- | /@b@/: a value to compare with Ptr () -> -- | /@userData@/: user data Ptr () -> -- | __Returns:__ negative value if /@a@/ \< /@b@/; zero if /@a@/ = /@b@/; positive -- value if /@a@/ > /@b@/ IO Int32
- GI.GLib.Callbacks: type CompareFunc = Ptr () " /@a@/: a value" -> Ptr () " /@b@/: a value to compare with" -> IO Int32 " __Returns:__ negative value if /@a@/ \< /@b@/; zero if /@a@/ = /@b@/; positive value if /@a@/ > /@b@/"
+ GI.GLib.Callbacks: type CompareFunc = -- | /@a@/: a value Ptr () -> -- | /@b@/: a value to compare with Ptr () -> -- | __Returns:__ negative value if /@a@/ \< /@b@/; zero if /@a@/ = /@b@/; positive -- value if /@a@/ > /@b@/ IO Int32
- GI.GLib.Callbacks: type CopyFunc = Ptr () " /@src@/: A pointer to the data which should be copied" -> Ptr () " /@data@/: Additional data" -> IO (Ptr ()) " __Returns:__ A pointer to the copy"
+ GI.GLib.Callbacks: type CopyFunc = -- | /@src@/: A pointer to the data which should be copied Ptr () -> -- | __Returns:__ A pointer to the copy IO (Ptr ())
- GI.GLib.Callbacks: type DataForeachFunc = Word32 " /@keyId@/: the @/GQuark/@ id to identifying the data element." -> Ptr () " /@data@/: the data element." -> IO ()
+ GI.GLib.Callbacks: type DataForeachFunc = -- | /@keyId@/: the @/GQuark/@ id to identifying the data element. Word32 -> -- | /@data@/: the data element. Ptr () -> IO ()
- GI.GLib.Callbacks: type DataForeachFunc_WithClosures = Word32 " /@keyId@/: the @/GQuark/@ id to identifying the data element." -> Ptr () " /@data@/: the data element." -> Ptr () " /@userData@/: user data passed to 'GI.GLib.Functions.datasetForeach'." -> IO ()
+ GI.GLib.Callbacks: type DataForeachFunc_WithClosures = -- | /@keyId@/: the @/GQuark/@ id to identifying the data element. Word32 -> -- | /@data@/: the data element. Ptr () -> -- | /@userData@/: user data passed to 'GI.GLib.Functions.datasetForeach'. Ptr () -> IO ()
- GI.GLib.Callbacks: type DestroyNotify = Ptr () " /@data@/: the data element." -> IO ()
+ GI.GLib.Callbacks: type DestroyNotify = -- | /@data@/: the data element. Ptr () -> IO ()
- GI.GLib.Callbacks: type DuplicateFunc = Ptr () " /@data@/: the data to duplicate" -> IO (Ptr ()) " __Returns:__ a duplicate of data"
+ GI.GLib.Callbacks: type DuplicateFunc = -- | /@data@/: the data to duplicate Ptr () -> -- | __Returns:__ a duplicate of data IO (Ptr ())
- GI.GLib.Callbacks: type DuplicateFunc_WithClosures = Ptr () " /@data@/: the data to duplicate" -> Ptr () " /@userData@/: user data that was specified in @/g_datalist_id_dup_data()/@" -> IO (Ptr ()) " __Returns:__ a duplicate of data"
+ GI.GLib.Callbacks: type DuplicateFunc_WithClosures = -- | /@data@/: the data to duplicate Ptr () -> -- | /@userData@/: user data that was specified in -- @/g_datalist_id_dup_data()/@ Ptr () -> -- | __Returns:__ a duplicate of data IO (Ptr ())
- GI.GLib.Callbacks: type EqualFunc = Ptr () " /@a@/: a value" -> Ptr () " /@b@/: a value to compare with" -> IO Bool " __Returns:__ 'P.True' if /@a@/ = /@b@/; 'P.False' otherwise"
+ GI.GLib.Callbacks: type EqualFunc = -- | /@a@/: a value Ptr () -> -- | /@b@/: a value to compare with Ptr () -> -- | __Returns:__ 'P.True' if /@a@/ = /@b@/; 'P.False' otherwise IO Bool
- GI.GLib.Callbacks: type ErrorClearFunc = GError " /@error@/: extended error to clear" -> IO ()
+ GI.GLib.Callbacks: type ErrorClearFunc = -- | /@error@/: extended error to clear GError -> IO ()
- GI.GLib.Callbacks: type ErrorCopyFunc = GError " /@srcError@/: source extended error" -> GError " /@destError@/: destination extended error" -> IO ()
+ GI.GLib.Callbacks: type ErrorCopyFunc = -- | /@srcError@/: source extended error GError -> -- | /@destError@/: destination extended error GError -> IO ()
- GI.GLib.Callbacks: type ErrorInitFunc = GError " /@error@/: extended error" -> IO ()
+ GI.GLib.Callbacks: type ErrorInitFunc = -- | /@error@/: extended error GError -> IO ()
- GI.GLib.Callbacks: type FreeFunc = Ptr () " /@data@/: a data pointer" -> IO ()
+ GI.GLib.Callbacks: type FreeFunc = -- | /@data@/: a data pointer Ptr () -> IO ()
- GI.GLib.Callbacks: type Func = Ptr () " /@data@/: the element\'s data" -> IO ()
+ GI.GLib.Callbacks: type Func = -- | /@data@/: the element\'s data Ptr () -> IO ()
- GI.GLib.Callbacks: type Func_WithClosures = Ptr () " /@data@/: the element\'s data" -> Ptr () " /@userData@/: user data passed to @/g_list_foreach()/@ or @/g_slist_foreach()/@" -> IO ()
+ GI.GLib.Callbacks: type Func_WithClosures = -- | /@data@/: the element\'s data Ptr () -> -- | /@userData@/: user data passed to @/g_list_foreach()/@ or @/g_slist_foreach()/@ Ptr () -> IO ()
- GI.GLib.Callbacks: type HFunc = Ptr () " /@key@/: a key" -> Ptr () " /@value@/: the value corresponding to the key" -> IO ()
+ GI.GLib.Callbacks: type HFunc = -- | /@key@/: a key Ptr () -> -- | /@value@/: the value corresponding to the key Ptr () -> IO ()
- GI.GLib.Callbacks: type HFunc_WithClosures = Ptr () " /@key@/: a key" -> Ptr () " /@value@/: the value corresponding to the key" -> Ptr () " /@userData@/: user data passed to @/g_hash_table_foreach()/@" -> IO ()
+ GI.GLib.Callbacks: type HFunc_WithClosures = -- | /@key@/: a key Ptr () -> -- | /@value@/: the value corresponding to the key Ptr () -> -- | /@userData@/: user data passed to @/g_hash_table_foreach()/@ Ptr () -> IO ()
- GI.GLib.Callbacks: type HRFunc = Ptr () " /@key@/: a key" -> Ptr () " /@value@/: the value associated with the key" -> IO Bool " __Returns:__ 'P.True' if the key\/value pair should be removed from the t'GI.GLib.Structs.HashTable.HashTable'"
+ GI.GLib.Callbacks: type HRFunc = -- | /@key@/: a key Ptr () -> -- | /@value@/: the value associated with the key Ptr () -> -- | __Returns:__ 'P.True' if the key\/value pair should be removed from the -- t'GI.GLib.Structs.HashTable.HashTable' IO Bool
- GI.GLib.Callbacks: type HRFunc_WithClosures = Ptr () " /@key@/: a key" -> Ptr () " /@value@/: the value associated with the key" -> Ptr () " /@userData@/: user data passed to 'GI.GLib.Functions.hashTableRemove'" -> IO Bool " __Returns:__ 'P.True' if the key\/value pair should be removed from the t'GI.GLib.Structs.HashTable.HashTable'"
+ GI.GLib.Callbacks: type HRFunc_WithClosures = -- | /@key@/: a key Ptr () -> -- | /@value@/: the value associated with the key Ptr () -> -- | /@userData@/: user data passed to 'GI.GLib.Functions.hashTableRemove' Ptr () -> -- | __Returns:__ 'P.True' if the key\/value pair should be removed from the -- t'GI.GLib.Structs.HashTable.HashTable' IO Bool
- GI.GLib.Callbacks: type HashFunc = Ptr () " /@key@/: a key" -> IO Word32 " __Returns:__ the hash value corresponding to the key"
+ GI.GLib.Callbacks: type HashFunc = -- | /@key@/: a key Ptr () -> -- | __Returns:__ the hash value corresponding to the key IO Word32
- GI.GLib.Callbacks: type HookCheckFunc = Ptr () " /@data@/: the data field of the t'GI.GLib.Structs.Hook.Hook' is passed to the hook function here" -> IO Bool " __Returns:__ 'P.False' if the t'GI.GLib.Structs.Hook.Hook' should be destroyed"
+ GI.GLib.Callbacks: type HookCheckFunc = -- | /@data@/: the data field of the t'GI.GLib.Structs.Hook.Hook' is passed to the hook function here Ptr () -> -- | __Returns:__ 'P.False' if the t'GI.GLib.Structs.Hook.Hook' should be destroyed IO Bool
- GI.GLib.Callbacks: type HookCheckMarshaller = Hook " /@hook@/: a t'GI.GLib.Structs.Hook.Hook'" -> Ptr () " /@marshalData@/: user data" -> IO Bool " __Returns:__ 'P.False' if /@hook@/ should be destroyed"
+ GI.GLib.Callbacks: type HookCheckMarshaller = -- | /@hook@/: a t'GI.GLib.Structs.Hook.Hook' Hook -> -- | __Returns:__ 'P.False' if /@hook@/ should be destroyed IO Bool
- GI.GLib.Callbacks: type HookCompareFunc = Hook " /@newHook@/: the t'GI.GLib.Structs.Hook.Hook' being inserted" -> Hook " /@sibling@/: the t'GI.GLib.Structs.Hook.Hook' to compare with /@newHook@/" -> IO Int32 " __Returns:__ a value \<= 0 if /@newHook@/ should be before /@sibling@/"
+ GI.GLib.Callbacks: type HookCompareFunc = -- | /@newHook@/: the t'GI.GLib.Structs.Hook.Hook' being inserted Hook -> -- | /@sibling@/: the t'GI.GLib.Structs.Hook.Hook' to compare with /@newHook@/ Hook -> -- | __Returns:__ a value \<= 0 if /@newHook@/ should be before /@sibling@/ IO Int32
- GI.GLib.Callbacks: type HookFinalizeFunc = HookList " /@hookList@/: a t'GI.GLib.Structs.HookList.HookList'" -> Hook " /@hook@/: the hook in /@hookList@/ that gets finalized" -> IO ()
+ GI.GLib.Callbacks: type HookFinalizeFunc = -- | /@hookList@/: a t'GI.GLib.Structs.HookList.HookList' HookList -> -- | /@hook@/: the hook in /@hookList@/ that gets finalized Hook -> IO ()
- GI.GLib.Callbacks: type HookFindFunc = Hook " /@hook@/: a t'GI.GLib.Structs.Hook.Hook'" -> Ptr () " /@data@/: user data passed to @/g_hook_find_func()/@" -> IO Bool " __Returns:__ 'P.True' if the required t'GI.GLib.Structs.Hook.Hook' has been found"
+ GI.GLib.Callbacks: type HookFindFunc = -- | /@hook@/: a t'GI.GLib.Structs.Hook.Hook' Hook -> -- | __Returns:__ 'P.True' if the required t'GI.GLib.Structs.Hook.Hook' has been found IO Bool
- GI.GLib.Callbacks: type HookFunc = Ptr () " /@data@/: the data field of the t'GI.GLib.Structs.Hook.Hook' is passed to the hook function here" -> IO ()
+ GI.GLib.Callbacks: type HookFunc = -- | /@data@/: the data field of the t'GI.GLib.Structs.Hook.Hook' is passed to the hook function here Ptr () -> IO ()
- GI.GLib.Callbacks: type HookMarshaller = Hook " /@hook@/: a t'GI.GLib.Structs.Hook.Hook'" -> Ptr () " /@marshalData@/: user data" -> IO ()
+ GI.GLib.Callbacks: type HookMarshaller = -- | /@hook@/: a t'GI.GLib.Structs.Hook.Hook' Hook -> IO ()
- GI.GLib.Callbacks: type IOFunc = IOChannel " /@source@/: the t'GI.GLib.Structs.IOChannel.IOChannel' event source" -> [IOCondition] " /@condition@/: the condition which has been satisfied" -> Ptr () " /@data@/: user data set in @/g_io_add_watch()/@ or 'GI.GLib.Functions.ioAddWatch'" -> IO Bool " __Returns:__ the function should return 'P.False' if the event source should be removed"
+ GI.GLib.Callbacks: type IOFunc = -- | /@source@/: the t'GI.GLib.Structs.IOChannel.IOChannel' event source IOChannel -> -- | /@condition@/: the condition which has been satisfied [IOCondition] -> -- | __Returns:__ the function should return 'P.False' if the event source -- should be removed IO Bool
- GI.GLib.Callbacks: type IOFuncsIoCloseFieldCallback = IOChannel -> IO IOStatus " /(Can throw 'Data.GI.Base.GError.GError')/"
+ GI.GLib.Callbacks: type IOFuncsIoCloseFieldCallback = IOChannel -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO IOStatus
- GI.GLib.Callbacks: type IOFuncsIoReadFieldCallback = IOChannel -> Text -> Word64 -> Word64 -> IO IOStatus " /(Can throw 'Data.GI.Base.GError.GError')/"
+ GI.GLib.Callbacks: type IOFuncsIoReadFieldCallback = IOChannel -> Text -> Word64 -> Word64 -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO IOStatus
- GI.GLib.Callbacks: type IOFuncsIoSeekFieldCallback = IOChannel -> Int64 -> SeekType -> IO IOStatus " /(Can throw 'Data.GI.Base.GError.GError')/"
+ GI.GLib.Callbacks: type IOFuncsIoSeekFieldCallback = IOChannel -> Int64 -> SeekType -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO IOStatus
- GI.GLib.Callbacks: type IOFuncsIoSetFlagsFieldCallback = IOChannel -> [IOFlags] -> IO IOStatus " /(Can throw 'Data.GI.Base.GError.GError')/"
+ GI.GLib.Callbacks: type IOFuncsIoSetFlagsFieldCallback = IOChannel -> [IOFlags] -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO IOStatus
- GI.GLib.Callbacks: type IOFuncsIoWriteFieldCallback = IOChannel -> Text -> Word64 -> Word64 -> IO IOStatus " /(Can throw 'Data.GI.Base.GError.GError')/"
+ GI.GLib.Callbacks: type IOFuncsIoWriteFieldCallback = IOChannel -> Text -> Word64 -> Word64 -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO IOStatus
- GI.GLib.Callbacks: type LogFunc = Text " /@logDomain@/: the log domain of the message" -> [LogLevelFlags] " /@logLevel@/: the log level of the message (including the fatal and recursion flags)" -> Text " /@message@/: the message to process" -> IO ()
+ GI.GLib.Callbacks: type LogFunc = -- | /@logDomain@/: the log domain of the message Text -> -- | /@logLevel@/: the log level of the message (including the -- fatal and recursion flags) [LogLevelFlags] -> -- | /@message@/: the message to process Text -> IO ()
- GI.GLib.Callbacks: type LogFunc_WithClosures = Text " /@logDomain@/: the log domain of the message" -> [LogLevelFlags] " /@logLevel@/: the log level of the message (including the fatal and recursion flags)" -> Text " /@message@/: the message to process" -> Ptr () " /@userData@/: user data, set in @/g_log_set_handler()/@" -> IO ()
+ GI.GLib.Callbacks: type LogFunc_WithClosures = -- | /@logDomain@/: the log domain of the message Text -> -- | /@logLevel@/: the log level of the message (including the -- fatal and recursion flags) [LogLevelFlags] -> -- | /@message@/: the message to process Text -> -- | /@userData@/: user data, set in @/g_log_set_handler()/@ Ptr () -> IO ()
- GI.GLib.Callbacks: type LogWriterFunc = [LogLevelFlags] " /@logLevel@/: log level of the message" -> [LogField] " /@fields@/: fields forming the message" -> IO LogWriterOutput " __Returns:__ 'GI.GLib.Enums.LogWriterOutputHandled' if the log entry was handled successfully; 'GI.GLib.Enums.LogWriterOutputUnhandled' otherwise"
+ GI.GLib.Callbacks: type LogWriterFunc = -- | /@logLevel@/: log level of the message [LogLevelFlags] -> -- | /@fields@/: fields forming the message [LogField] -> -- | __Returns:__ 'GI.GLib.Enums.LogWriterOutputHandled' if the log entry was handled successfully; -- 'GI.GLib.Enums.LogWriterOutputUnhandled' otherwise IO LogWriterOutput
- GI.GLib.Callbacks: type LogWriterFunc_WithClosures = [LogLevelFlags] " /@logLevel@/: log level of the message" -> [LogField] " /@fields@/: fields forming the message" -> Ptr () " /@userData@/: user data passed to 'GI.GLib.Functions.logSetWriterFunc'" -> IO LogWriterOutput " __Returns:__ 'GI.GLib.Enums.LogWriterOutputHandled' if the log entry was handled successfully; 'GI.GLib.Enums.LogWriterOutputUnhandled' otherwise"
+ GI.GLib.Callbacks: type LogWriterFunc_WithClosures = -- | /@logLevel@/: log level of the message [LogLevelFlags] -> -- | /@fields@/: fields forming the message [LogField] -> -- | /@userData@/: user data passed to 'GI.GLib.Functions.logSetWriterFunc' Ptr () -> -- | __Returns:__ 'GI.GLib.Enums.LogWriterOutputHandled' if the log entry was handled successfully; -- 'GI.GLib.Enums.LogWriterOutputUnhandled' otherwise IO LogWriterOutput
- GI.GLib.Callbacks: type MarkupParserEndElementFieldCallback = MarkupParseContext -> Text -> IO () " /(Can throw 'Data.GI.Base.GError.GError')/"
+ GI.GLib.Callbacks: type MarkupParserEndElementFieldCallback = MarkupParseContext -> Text -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
- GI.GLib.Callbacks: type MarkupParserEndElementFieldCallback_WithClosures = MarkupParseContext -> Text -> Ptr () -> IO () " /(Can throw 'Data.GI.Base.GError.GError')/"
+ GI.GLib.Callbacks: type MarkupParserEndElementFieldCallback_WithClosures = MarkupParseContext -> Text -> Ptr () -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
- GI.GLib.Callbacks: type MarkupParserPassthroughFieldCallback = MarkupParseContext -> Text -> Word64 -> IO () " /(Can throw 'Data.GI.Base.GError.GError')/"
+ GI.GLib.Callbacks: type MarkupParserPassthroughFieldCallback = MarkupParseContext -> Text -> Word64 -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
- GI.GLib.Callbacks: type MarkupParserPassthroughFieldCallback_WithClosures = MarkupParseContext -> Text -> Word64 -> Ptr () -> IO () " /(Can throw 'Data.GI.Base.GError.GError')/"
+ GI.GLib.Callbacks: type MarkupParserPassthroughFieldCallback_WithClosures = MarkupParseContext -> Text -> Word64 -> Ptr () -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
- GI.GLib.Callbacks: type MarkupParserStartElementFieldCallback = MarkupParseContext -> Text -> Text -> Text -> IO () " /(Can throw 'Data.GI.Base.GError.GError')/"
+ GI.GLib.Callbacks: type MarkupParserStartElementFieldCallback = MarkupParseContext -> Text -> Text -> Text -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
- GI.GLib.Callbacks: type MarkupParserStartElementFieldCallback_WithClosures = MarkupParseContext -> Text -> Text -> Text -> Ptr () -> IO () " /(Can throw 'Data.GI.Base.GError.GError')/"
+ GI.GLib.Callbacks: type MarkupParserStartElementFieldCallback_WithClosures = MarkupParseContext -> Text -> Text -> Text -> Ptr () -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
- GI.GLib.Callbacks: type MarkupParserTextFieldCallback = MarkupParseContext -> Text -> Word64 -> IO () " /(Can throw 'Data.GI.Base.GError.GError')/"
+ GI.GLib.Callbacks: type MarkupParserTextFieldCallback = MarkupParseContext -> Text -> Word64 -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
- GI.GLib.Callbacks: type MarkupParserTextFieldCallback_WithClosures = MarkupParseContext -> Text -> Word64 -> Ptr () -> IO () " /(Can throw 'Data.GI.Base.GError.GError')/"
+ GI.GLib.Callbacks: type MarkupParserTextFieldCallback_WithClosures = MarkupParseContext -> Text -> Word64 -> Ptr () -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
- GI.GLib.Callbacks: type NodeForeachFunc = Node " /@node@/: a t'GI.GLib.Structs.Node.Node'." -> Ptr () " /@data@/: user data passed to @/g_node_children_foreach()/@." -> IO ()
+ GI.GLib.Callbacks: type NodeForeachFunc = -- | /@node@/: a t'GI.GLib.Structs.Node.Node'. Node -> IO ()
- GI.GLib.Callbacks: type NodeTraverseFunc = Node " /@node@/: a t'GI.GLib.Structs.Node.Node'." -> Ptr () " /@data@/: user data passed to @/g_node_traverse()/@." -> IO Bool " __Returns:__ 'P.True' to stop the traversal."
+ GI.GLib.Callbacks: type NodeTraverseFunc = -- | /@node@/: a t'GI.GLib.Structs.Node.Node'. Node -> -- | __Returns:__ 'P.True' to stop the traversal. IO Bool
- GI.GLib.Callbacks: type OptionArgFunc = Text " /@optionName@/: The name of the option being parsed. This will be either a single dash followed by a single letter (for a short name) or two dashes followed by a long option name." -> Text " /@value@/: The value to be parsed." -> Ptr () " /@data@/: User data added to the t'GI.GLib.Structs.OptionGroup.OptionGroup' containing the option when it was created with 'GI.GLib.Structs.OptionGroup.optionGroupNew'" -> IO () " __Returns:__ 'P.True' if the option was successfully parsed, 'P.False' if an error occurred, in which case /@error@/ should be set with @/g_set_error()/@ /(Can throw 'Data.GI.Base.GError.GError')/"
+ GI.GLib.Callbacks: type OptionArgFunc = -- | /@optionName@/: The name of the option being parsed. This will be either a -- single dash followed by a single letter (for a short name) or two dashes -- followed by a long option name. Text -> -- | /@value@/: The value to be parsed. Text -> -- | __Returns:__ 'P.True' if the option was successfully parsed, 'P.False' if an error -- occurred, in which case /@error@/ should be set with @/g_set_error()/@ /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
- GI.GLib.Callbacks: type OptionErrorFunc = OptionContext " /@context@/: The active t'GI.GLib.Structs.OptionContext.OptionContext'" -> OptionGroup " /@group@/: The group to which the function belongs" -> Ptr () " /@data@/: User data added to the t'GI.GLib.Structs.OptionGroup.OptionGroup' containing the option when it was created with 'GI.GLib.Structs.OptionGroup.optionGroupNew'" -> IO () " /(Can throw 'Data.GI.Base.GError.GError')/"
+ GI.GLib.Callbacks: type OptionErrorFunc = -- | /@context@/: The active t'GI.GLib.Structs.OptionContext.OptionContext' OptionContext -> -- | /@group@/: The group to which the function belongs OptionGroup -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
- GI.GLib.Callbacks: type OptionParseFunc = OptionContext " /@context@/: The active t'GI.GLib.Structs.OptionContext.OptionContext'" -> OptionGroup " /@group@/: The group to which the function belongs" -> Ptr () " /@data@/: User data added to the t'GI.GLib.Structs.OptionGroup.OptionGroup' containing the option when it was created with 'GI.GLib.Structs.OptionGroup.optionGroupNew'" -> IO () " __Returns:__ 'P.True' if the function completed successfully, 'P.False' if an error occurred, in which case /@error@/ should be set with @/g_set_error()/@ /(Can throw 'Data.GI.Base.GError.GError')/"
+ GI.GLib.Callbacks: type OptionParseFunc = -- | /@context@/: The active t'GI.GLib.Structs.OptionContext.OptionContext' OptionContext -> -- | /@group@/: The group to which the function belongs OptionGroup -> -- | __Returns:__ 'P.True' if the function completed successfully, 'P.False' if an error -- occurred, in which case /@error@/ should be set with @/g_set_error()/@ /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
- GI.GLib.Callbacks: type PollFunc = PollFD " /@ufds@/: an array of t'GI.GLib.Structs.PollFD.PollFD' elements" -> Word32 " /@nfsd@/: the number of elements in /@ufds@/" -> Int32 " /@timeout_@/: the maximum time to wait for an event of the file descriptors. A negative value indicates an infinite timeout." -> IO Int32 " __Returns:__ the number of t'GI.GLib.Structs.PollFD.PollFD' elements which have events or errors reported, or -1 if an error occurred."
+ GI.GLib.Callbacks: type PollFunc = -- | /@ufds@/: an array of t'GI.GLib.Structs.PollFD.PollFD' elements PollFD -> -- | /@nfsd@/: the number of elements in /@ufds@/ Word32 -> -- | /@timeout_@/: the maximum time to wait for an event of the file descriptors. -- A negative value indicates an infinite timeout. Int32 -> -- | __Returns:__ the number of t'GI.GLib.Structs.PollFD.PollFD' elements which have events or errors -- reported, or -1 if an error occurred. IO Int32
- GI.GLib.Callbacks: type PrintFunc = Text " /@string@/: the message to output" -> IO ()
+ GI.GLib.Callbacks: type PrintFunc = -- | /@string@/: the message to output Text -> IO ()
- GI.GLib.Callbacks: type RegexEvalCallback = MatchInfo " /@matchInfo@/: the t'GI.GLib.Structs.MatchInfo.MatchInfo' generated by the match. Use 'GI.GLib.Structs.MatchInfo.matchInfoGetRegex' and 'GI.GLib.Structs.MatchInfo.matchInfoGetString' if you need the t'GI.GLib.Structs.Regex.Regex' or the matched string." -> String " /@result@/: a t'GI.GLib.Structs.String.String' containing the new string" -> IO Bool " __Returns:__ 'P.False' to continue the replacement process, 'P.True' to stop it"
+ GI.GLib.Callbacks: type RegexEvalCallback = -- | /@matchInfo@/: the t'GI.GLib.Structs.MatchInfo.MatchInfo' generated by the match. -- Use 'GI.GLib.Structs.MatchInfo.matchInfoGetRegex' and 'GI.GLib.Structs.MatchInfo.matchInfoGetString' if you -- need the t'GI.GLib.Structs.Regex.Regex' or the matched string. MatchInfo -> -- | /@result@/: a t'GI.GLib.Structs.String.String' containing the new string String -> -- | __Returns:__ 'P.False' to continue the replacement process, 'P.True' to stop it IO Bool
- GI.GLib.Callbacks: type RegexEvalCallback_WithClosures = MatchInfo " /@matchInfo@/: the t'GI.GLib.Structs.MatchInfo.MatchInfo' generated by the match. Use 'GI.GLib.Structs.MatchInfo.matchInfoGetRegex' and 'GI.GLib.Structs.MatchInfo.matchInfoGetString' if you need the t'GI.GLib.Structs.Regex.Regex' or the matched string." -> String " /@result@/: a t'GI.GLib.Structs.String.String' containing the new string" -> Ptr () " /@userData@/: user data passed to @/g_regex_replace_eval()/@" -> IO Bool " __Returns:__ 'P.False' to continue the replacement process, 'P.True' to stop it"
+ GI.GLib.Callbacks: type RegexEvalCallback_WithClosures = -- | /@matchInfo@/: the t'GI.GLib.Structs.MatchInfo.MatchInfo' generated by the match. -- Use 'GI.GLib.Structs.MatchInfo.matchInfoGetRegex' and 'GI.GLib.Structs.MatchInfo.matchInfoGetString' if you -- need the t'GI.GLib.Structs.Regex.Regex' or the matched string. MatchInfo -> -- | /@result@/: a t'GI.GLib.Structs.String.String' containing the new string String -> -- | /@userData@/: user data passed to @/g_regex_replace_eval()/@ Ptr () -> -- | __Returns:__ 'P.False' to continue the replacement process, 'P.True' to stop it IO Bool
- GI.GLib.Callbacks: type ScannerMsgFunc = Scanner " /@scanner@/: a t'GI.GLib.Structs.Scanner.Scanner'" -> Text " /@message@/: the message" -> Bool " /@error@/: 'P.True' if the message signals an error, 'P.False' if it signals a warning." -> IO ()
+ GI.GLib.Callbacks: type ScannerMsgFunc = -- | /@scanner@/: a t'GI.GLib.Structs.Scanner.Scanner' Scanner -> -- | /@message@/: the message Text -> -- | /@error@/: 'P.True' if the message signals an error, -- 'P.False' if it signals a warning. Bool -> IO ()
- GI.GLib.Callbacks: type SequenceIterCompareFunc = SequenceIter " /@a@/: a t'GI.GLib.Structs.SequenceIter.SequenceIter'" -> SequenceIter " /@b@/: a t'GI.GLib.Structs.SequenceIter.SequenceIter'" -> Ptr () " /@data@/: user data" -> IO Int32 " __Returns:__ zero if the iterators are equal, a negative value if /@a@/ comes before /@b@/, and a positive value if /@b@/ comes before /@a@/."
+ GI.GLib.Callbacks: type SequenceIterCompareFunc = -- | /@a@/: a t'GI.GLib.Structs.SequenceIter.SequenceIter' SequenceIter -> -- | /@b@/: a t'GI.GLib.Structs.SequenceIter.SequenceIter' SequenceIter -> -- | __Returns:__ zero if the iterators are equal, a negative value if /@a@/ -- comes before /@b@/, and a positive value if /@b@/ comes before /@a@/. IO Int32
- GI.GLib.Callbacks: type SourceDisposeFunc = Source " /@source@/: t'GI.GLib.Structs.Source.Source' that is currently being disposed" -> IO ()
+ GI.GLib.Callbacks: type SourceDisposeFunc = -- | /@source@/: t'GI.GLib.Structs.Source.Source' that is currently being disposed Source -> IO ()
- GI.GLib.Callbacks: type SourceFunc = IO Bool " __Returns:__ 'P.False' if the source should be removed. 'GI.GLib.Constants.SOURCE_CONTINUE' and 'GI.GLib.Constants.SOURCE_REMOVE' are more memorable names for the return value."
+ GI.GLib.Callbacks: type SourceFunc = -- | __Returns:__ 'P.False' if the source should be removed. 'GI.GLib.Constants.SOURCE_CONTINUE' and -- 'GI.GLib.Constants.SOURCE_REMOVE' are more memorable names for the return value. IO Bool
- GI.GLib.Callbacks: type SourceFunc_WithClosures = Ptr () " /@userData@/: data passed to the function, set when the source was created with one of the above functions" -> IO Bool " __Returns:__ 'P.False' if the source should be removed. 'GI.GLib.Constants.SOURCE_CONTINUE' and 'GI.GLib.Constants.SOURCE_REMOVE' are more memorable names for the return value."
+ GI.GLib.Callbacks: type SourceFunc_WithClosures = -- | /@userData@/: data passed to the function, set when the source was -- created with one of the above functions Ptr () -> -- | __Returns:__ 'P.False' if the source should be removed. 'GI.GLib.Constants.SOURCE_CONTINUE' and -- 'GI.GLib.Constants.SOURCE_REMOVE' are more memorable names for the return value. IO Bool
- GI.GLib.Callbacks: type SpawnChildSetupFunc_WithClosures = Ptr () " /@userData@/: user data to pass to the function." -> IO ()
+ GI.GLib.Callbacks: type SpawnChildSetupFunc_WithClosures = -- | /@userData@/: user data to pass to the function. Ptr () -> IO ()
- GI.GLib.Callbacks: type TestDataFunc_WithClosures = Ptr () " /@userData@/: the data provided when registering the test" -> IO ()
+ GI.GLib.Callbacks: type TestDataFunc_WithClosures = -- | /@userData@/: the data provided when registering the test Ptr () -> IO ()
- GI.GLib.Callbacks: type TestFixtureFunc = Ptr () " /@fixture@/: the test fixture" -> IO ()
+ GI.GLib.Callbacks: type TestFixtureFunc = -- | /@fixture@/: the test fixture Ptr () -> IO ()
- GI.GLib.Callbacks: type TestFixtureFunc_WithClosures = Ptr () " /@fixture@/: the test fixture" -> Ptr () " /@userData@/: the data provided when registering the test" -> IO ()
+ GI.GLib.Callbacks: type TestFixtureFunc_WithClosures = -- | /@fixture@/: the test fixture Ptr () -> -- | /@userData@/: the data provided when registering the test Ptr () -> IO ()
- GI.GLib.Callbacks: type TestLogFatalFunc = Text " /@logDomain@/: the log domain of the message" -> [LogLevelFlags] " /@logLevel@/: the log level of the message (including the fatal and recursion flags)" -> Text " /@message@/: the message to process" -> IO Bool " __Returns:__ 'P.True' if the program should abort, 'P.False' otherwise"
+ GI.GLib.Callbacks: type TestLogFatalFunc = -- | /@logDomain@/: the log domain of the message Text -> -- | /@logLevel@/: the log level of the message (including the fatal and recursion flags) [LogLevelFlags] -> -- | /@message@/: the message to process Text -> -- | __Returns:__ 'P.True' if the program should abort, 'P.False' otherwise IO Bool
- GI.GLib.Callbacks: type TestLogFatalFunc_WithClosures = Text " /@logDomain@/: the log domain of the message" -> [LogLevelFlags] " /@logLevel@/: the log level of the message (including the fatal and recursion flags)" -> Text " /@message@/: the message to process" -> Ptr () " /@userData@/: user data, set in @/g_test_log_set_fatal_handler()/@" -> IO Bool " __Returns:__ 'P.True' if the program should abort, 'P.False' otherwise"
+ GI.GLib.Callbacks: type TestLogFatalFunc_WithClosures = -- | /@logDomain@/: the log domain of the message Text -> -- | /@logLevel@/: the log level of the message (including the fatal and recursion flags) [LogLevelFlags] -> -- | /@message@/: the message to process Text -> -- | /@userData@/: user data, set in @/g_test_log_set_fatal_handler()/@ Ptr () -> -- | __Returns:__ 'P.True' if the program should abort, 'P.False' otherwise IO Bool
- GI.GLib.Callbacks: type ThreadFunc = Ptr () " /@data@/: data passed to the thread" -> IO (Ptr ()) " __Returns:__ the return value of the thread"
+ GI.GLib.Callbacks: type ThreadFunc = -- | __Returns:__ the return value of the thread IO (Ptr ())
- GI.GLib.Callbacks: type TranslateFunc = Text " /@str@/: the untranslated string" -> Ptr () " /@data@/: user data specified when installing the function, e.g. in 'GI.GLib.Structs.OptionGroup.optionGroupSetTranslateFunc'" -> IO Text " __Returns:__ a translation of the string for the current locale. The returned string is owned by GLib and must not be freed."
+ GI.GLib.Callbacks: type TranslateFunc = -- | /@str@/: the untranslated string Text -> -- | __Returns:__ a translation of the string for the current locale. -- The returned string is owned by GLib and must not be freed. IO Text
- GI.GLib.Callbacks: type TraverseFunc = Ptr () " /@key@/: a key of a t'GI.GLib.Structs.Tree.Tree' node" -> Ptr () " /@value@/: the value corresponding to the key" -> Ptr () " /@data@/: user data passed to @/g_tree_traverse()/@" -> IO Bool " __Returns:__ 'P.True' to stop the traversal"
+ GI.GLib.Callbacks: type TraverseFunc = -- | /@key@/: a key of a t'GI.GLib.Structs.Tree.Tree' node Ptr () -> -- | /@value@/: the value corresponding to the key Ptr () -> -- | __Returns:__ 'P.True' to stop the traversal IO Bool
- GI.GLib.Callbacks: type TraverseNodeFunc = TreeNode " /@node@/: a t'GI.GLib.Structs.TreeNode.TreeNode'" -> Ptr () " /@data@/: user data passed to @/g_tree_foreach_node()/@" -> IO Bool " __Returns:__ 'P.True' to stop the traversal"
+ GI.GLib.Callbacks: type TraverseNodeFunc = -- | /@node@/: a t'GI.GLib.Structs.TreeNode.TreeNode' TreeNode -> -- | __Returns:__ 'P.True' to stop the traversal IO Bool
- GI.GLib.Callbacks: type UnixFDSourceFunc = Int32 " /@fd@/: the fd that triggered the event" -> [IOCondition] " /@condition@/: the IO conditions reported on /@fd@/" -> IO Bool " __Returns:__ 'P.False' if the source should be removed"
+ GI.GLib.Callbacks: type UnixFDSourceFunc = -- | /@fd@/: the fd that triggered the event Int32 -> -- | /@condition@/: the IO conditions reported on /@fd@/ [IOCondition] -> -- | __Returns:__ 'P.False' if the source should be removed IO Bool
- GI.GLib.Callbacks: type UnixFDSourceFunc_WithClosures = Int32 " /@fd@/: the fd that triggered the event" -> [IOCondition] " /@condition@/: the IO conditions reported on /@fd@/" -> Ptr () " /@userData@/: user data passed to @/g_unix_fd_add()/@" -> IO Bool " __Returns:__ 'P.False' if the source should be removed"
+ GI.GLib.Callbacks: type UnixFDSourceFunc_WithClosures = -- | /@fd@/: the fd that triggered the event Int32 -> -- | /@condition@/: the IO conditions reported on /@fd@/ [IOCondition] -> -- | /@userData@/: user data passed to @/g_unix_fd_add()/@ Ptr () -> -- | __Returns:__ 'P.False' if the source should be removed IO Bool
- GI.GLib.Callbacks: wrap_CopyFunc :: Maybe (Ptr (FunPtr C_CopyFunc)) -> CopyFunc -> C_CopyFunc
+ GI.GLib.Callbacks: wrap_CopyFunc :: Maybe (Ptr (FunPtr C_CopyFunc)) -> CopyFunc_WithClosures -> C_CopyFunc
- GI.GLib.Callbacks: wrap_HookCheckMarshaller :: Maybe (Ptr (FunPtr C_HookCheckMarshaller)) -> HookCheckMarshaller -> C_HookCheckMarshaller
+ GI.GLib.Callbacks: wrap_HookCheckMarshaller :: Maybe (Ptr (FunPtr C_HookCheckMarshaller)) -> HookCheckMarshaller_WithClosures -> C_HookCheckMarshaller
- GI.GLib.Callbacks: wrap_HookFindFunc :: Maybe (Ptr (FunPtr C_HookFindFunc)) -> HookFindFunc -> C_HookFindFunc
+ GI.GLib.Callbacks: wrap_HookFindFunc :: Maybe (Ptr (FunPtr C_HookFindFunc)) -> HookFindFunc_WithClosures -> C_HookFindFunc
- GI.GLib.Callbacks: wrap_HookMarshaller :: Maybe (Ptr (FunPtr C_HookMarshaller)) -> HookMarshaller -> C_HookMarshaller
+ GI.GLib.Callbacks: wrap_HookMarshaller :: Maybe (Ptr (FunPtr C_HookMarshaller)) -> HookMarshaller_WithClosures -> C_HookMarshaller
- GI.GLib.Callbacks: wrap_IOFunc :: Maybe (Ptr (FunPtr C_IOFunc)) -> IOFunc -> C_IOFunc
+ GI.GLib.Callbacks: wrap_IOFunc :: Maybe (Ptr (FunPtr C_IOFunc)) -> IOFunc_WithClosures -> C_IOFunc
- GI.GLib.Callbacks: wrap_NodeForeachFunc :: Maybe (Ptr (FunPtr C_NodeForeachFunc)) -> NodeForeachFunc -> C_NodeForeachFunc
+ GI.GLib.Callbacks: wrap_NodeForeachFunc :: Maybe (Ptr (FunPtr C_NodeForeachFunc)) -> NodeForeachFunc_WithClosures -> C_NodeForeachFunc
- GI.GLib.Callbacks: wrap_NodeTraverseFunc :: Maybe (Ptr (FunPtr C_NodeTraverseFunc)) -> NodeTraverseFunc -> C_NodeTraverseFunc
+ GI.GLib.Callbacks: wrap_NodeTraverseFunc :: Maybe (Ptr (FunPtr C_NodeTraverseFunc)) -> NodeTraverseFunc_WithClosures -> C_NodeTraverseFunc
- GI.GLib.Callbacks: wrap_SequenceIterCompareFunc :: Maybe (Ptr (FunPtr C_SequenceIterCompareFunc)) -> SequenceIterCompareFunc -> C_SequenceIterCompareFunc
+ GI.GLib.Callbacks: wrap_SequenceIterCompareFunc :: Maybe (Ptr (FunPtr C_SequenceIterCompareFunc)) -> SequenceIterCompareFunc_WithClosures -> C_SequenceIterCompareFunc
- GI.GLib.Callbacks: wrap_ThreadFunc :: Maybe (Ptr (FunPtr C_ThreadFunc)) -> ThreadFunc -> C_ThreadFunc
+ GI.GLib.Callbacks: wrap_ThreadFunc :: Maybe (Ptr (FunPtr C_ThreadFunc)) -> ThreadFunc_WithClosures -> C_ThreadFunc
- GI.GLib.Callbacks: wrap_TranslateFunc :: Maybe (Ptr (FunPtr C_TranslateFunc)) -> TranslateFunc -> C_TranslateFunc
+ GI.GLib.Callbacks: wrap_TranslateFunc :: Maybe (Ptr (FunPtr C_TranslateFunc)) -> TranslateFunc_WithClosures -> C_TranslateFunc
- GI.GLib.Callbacks: wrap_TraverseFunc :: Maybe (Ptr (FunPtr C_TraverseFunc)) -> TraverseFunc -> C_TraverseFunc
+ GI.GLib.Callbacks: wrap_TraverseFunc :: Maybe (Ptr (FunPtr C_TraverseFunc)) -> TraverseFunc_WithClosures -> C_TraverseFunc
- GI.GLib.Callbacks: wrap_TraverseNodeFunc :: Maybe (Ptr (FunPtr C_TraverseNodeFunc)) -> TraverseNodeFunc -> C_TraverseNodeFunc
+ GI.GLib.Callbacks: wrap_TraverseNodeFunc :: Maybe (Ptr (FunPtr C_TraverseNodeFunc)) -> TraverseNodeFunc_WithClosures -> C_TraverseNodeFunc
- GI.GLib.Functions: environGetenv :: (HasCallStack, MonadIO m) => Maybe [[Char]] -> [Char] -> m [Char]
+ GI.GLib.Functions: environGetenv :: (HasCallStack, MonadIO m) => Maybe [[Char]] -> [Char] -> m (Maybe [Char])
- GI.GLib.Functions: getUserSpecialDir :: (HasCallStack, MonadIO m) => UserDirectory -> m [Char]
+ GI.GLib.Functions: getUserSpecialDir :: (HasCallStack, MonadIO m) => UserDirectory -> m (Maybe [Char])
- GI.GLib.Functions: getenv :: (HasCallStack, MonadIO m) => [Char] -> m [Char]
+ GI.GLib.Functions: getenv :: (HasCallStack, MonadIO m) => [Char] -> m (Maybe [Char])
- GI.GLib.Functions: unixOpenPipe :: (HasCallStack, MonadIO m) => Int32 -> Int32 -> m ()
+ GI.GLib.Functions: unixOpenPipe :: (HasCallStack, MonadIO m) => [Int32] -> Int32 -> m ()
- GI.GLib.Structs.VariantDict: variantDictLookupValue :: (HasCallStack, MonadIO m) => VariantDict -> Text -> Maybe VariantType -> m GVariant
+ GI.GLib.Structs.VariantDict: variantDictLookupValue :: (HasCallStack, MonadIO m) => VariantDict -> Text -> Maybe VariantType -> m (Maybe GVariant)

Files

ChangeLog.md view
@@ -1,3 +1,7 @@+### 2.0.27+++ Relax constraint on text+ ### 2.0.26  + Update to haskell-gi(-base)-0.26
README.md view
@@ -1,6 +1,6 @@ # Documentation Autogenerated documentation for this package can be found at -[https://hackage.haskell.org/package/gi-glib-2.0.26/docs/GI-GLib.html](https://hackage.haskell.org/package/gi-glib-2.0.26/docs/GI-GLib.html)+[https://hackage.haskell.org/package/gi-glib-2.0.27/docs/GI-GLib.html](https://hackage.haskell.org/package/gi-glib-2.0.27/docs/GI-GLib.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
@@ -9,7 +9,7 @@   where name = "GLib"         version = "2.0"         pkgName = "gi-glib"-        pkgVersion = "2.0.26"+        pkgVersion = "2.0.27"         overridesFile = Just "GLib.overrides"         verbose = False         outputDir = Nothing
gi-glib.cabal view
@@ -1,5 +1,5 @@ name:                 gi-glib-version:              2.0.26+version:              2.0.27 synopsis:             GLib bindings description:          Bindings for GLib, autogenerated by haskell-gi. homepage:             https://github.com/haskell-gi/haskell-gi@@ -20,7 +20,7 @@  library       default-language: Haskell2010-      default-extensions: NoImplicitPrelude, ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts, UndecidableSuperClasses+      default-extensions: NoImplicitPrelude, ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts, UndecidableSuperClasses, TypeOperators       other-extensions: PatternSynonyms, ViewPatterns, TypeApplications       ghc-options: -fno-warn-unused-imports -fno-warn-warnings-deprecations @@ -31,7 +31,7 @@                      haskell-gi-overloading < 1.1,                      bytestring >= 0.10 && < 1,                      containers >= 0.5 && < 1,-                     text >= 1.0 && < 2,+                     text >= 1.0 && < 3,                      transformers >= 0.4 && < 1        -- Disable overloading when compiling under GHC 8.2.x