gi-glib 0.2.46.13 → 0.2.46.14
raw patch · 145 files changed
+14690/−11328 lines, 145 filesdep ~haskell-gi-basePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: haskell-gi-base
API changes (from Hackage documentation)
- GI.GLib.Enums: instance Data.GI.Base.GError.GErrorClass GI.GLib.Enums.BookmarkFileError
- GI.GLib.Enums: instance Data.GI.Base.GError.GErrorClass GI.GLib.Enums.ConvertError
- GI.GLib.Enums: instance Data.GI.Base.GError.GErrorClass GI.GLib.Enums.FileError
- GI.GLib.Enums: instance Data.GI.Base.GError.GErrorClass GI.GLib.Enums.IOChannelError
- GI.GLib.Enums: instance Data.GI.Base.GError.GErrorClass GI.GLib.Enums.KeyFileError
- GI.GLib.Enums: instance Data.GI.Base.GError.GErrorClass GI.GLib.Enums.MarkupError
- GI.GLib.Enums: instance Data.GI.Base.GError.GErrorClass GI.GLib.Enums.OptionError
- GI.GLib.Enums: instance Data.GI.Base.GError.GErrorClass GI.GLib.Enums.RegexError
- GI.GLib.Enums: instance Data.GI.Base.GError.GErrorClass GI.GLib.Enums.ShellError
- GI.GLib.Enums: instance Data.GI.Base.GError.GErrorClass GI.GLib.Enums.SpawnError
- GI.GLib.Enums: instance Data.GI.Base.GError.GErrorClass GI.GLib.Enums.ThreadError
- GI.GLib.Enums: instance Data.GI.Base.GError.GErrorClass GI.GLib.Enums.VariantParseError
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.BookmarkFileError
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.ChecksumType
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.ConvertError
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.DateDMY
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.DateMonth
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.DateWeekday
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.ErrorType
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.FileError
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.IOChannelError
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.IOError
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.IOStatus
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.KeyFileError
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.MarkupError
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.NormalizeMode
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.OnceStatus
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.OptionArg
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.OptionError
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.RegexError
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.SeekType
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.ShellError
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.SliceConfig
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.SpawnError
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.TestFileType
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.TestLogType
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.ThreadError
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.TimeType
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.TokenType
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.TraverseType
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.UnicodeBreakType
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.UnicodeScript
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.UnicodeType
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.UserDirectory
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.VariantClass
- GI.GLib.Enums: instance GHC.Classes.Eq GI.GLib.Enums.VariantParseError
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.BookmarkFileError
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.ChecksumType
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.ConvertError
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.DateDMY
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.DateMonth
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.DateWeekday
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.ErrorType
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.FileError
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.IOChannelError
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.IOError
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.IOStatus
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.KeyFileError
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.MarkupError
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.NormalizeMode
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.OnceStatus
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.OptionArg
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.OptionError
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.RegexError
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.SeekType
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.ShellError
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.SliceConfig
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.SpawnError
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.TestFileType
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.TestLogType
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.ThreadError
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.TimeType
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.TokenType
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.TraverseType
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.UnicodeBreakType
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.UnicodeScript
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.UnicodeType
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.UserDirectory
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.VariantClass
- GI.GLib.Enums: instance GHC.Enum.Enum GI.GLib.Enums.VariantParseError
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.BookmarkFileError
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.ChecksumType
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.ConvertError
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.DateDMY
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.DateMonth
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.DateWeekday
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.ErrorType
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.FileError
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.IOChannelError
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.IOError
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.IOStatus
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.KeyFileError
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.MarkupError
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.NormalizeMode
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.OnceStatus
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.OptionArg
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.OptionError
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.RegexError
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.SeekType
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.ShellError
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.SliceConfig
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.SpawnError
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.TestFileType
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.TestLogType
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.ThreadError
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.TimeType
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.TokenType
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.TraverseType
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.UnicodeBreakType
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.UnicodeScript
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.UnicodeType
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.UserDirectory
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.VariantClass
- GI.GLib.Enums: instance GHC.Show.Show GI.GLib.Enums.VariantParseError
- GI.GLib.Flags: instance Data.GI.Base.BasicTypes.BoxedEnum GI.GLib.Flags.IOCondition
- GI.GLib.Flags: instance Data.GI.Base.BasicTypes.IsGFlag GI.GLib.Flags.AsciiType
- GI.GLib.Flags: instance Data.GI.Base.BasicTypes.IsGFlag GI.GLib.Flags.FileTest
- GI.GLib.Flags: instance Data.GI.Base.BasicTypes.IsGFlag GI.GLib.Flags.FormatSizeFlags
- GI.GLib.Flags: instance Data.GI.Base.BasicTypes.IsGFlag GI.GLib.Flags.HookFlagMask
- GI.GLib.Flags: instance Data.GI.Base.BasicTypes.IsGFlag GI.GLib.Flags.IOCondition
- GI.GLib.Flags: instance Data.GI.Base.BasicTypes.IsGFlag GI.GLib.Flags.IOFlags
- GI.GLib.Flags: instance Data.GI.Base.BasicTypes.IsGFlag GI.GLib.Flags.KeyFileFlags
- GI.GLib.Flags: instance Data.GI.Base.BasicTypes.IsGFlag GI.GLib.Flags.LogLevelFlags
- GI.GLib.Flags: instance Data.GI.Base.BasicTypes.IsGFlag GI.GLib.Flags.MarkupCollectType
- GI.GLib.Flags: instance Data.GI.Base.BasicTypes.IsGFlag GI.GLib.Flags.MarkupParseFlags
- GI.GLib.Flags: instance Data.GI.Base.BasicTypes.IsGFlag GI.GLib.Flags.OptionFlags
- GI.GLib.Flags: instance Data.GI.Base.BasicTypes.IsGFlag GI.GLib.Flags.RegexCompileFlags
- GI.GLib.Flags: instance Data.GI.Base.BasicTypes.IsGFlag GI.GLib.Flags.RegexMatchFlags
- GI.GLib.Flags: instance Data.GI.Base.BasicTypes.IsGFlag GI.GLib.Flags.SpawnFlags
- GI.GLib.Flags: instance Data.GI.Base.BasicTypes.IsGFlag GI.GLib.Flags.TestSubprocessFlags
- GI.GLib.Flags: instance Data.GI.Base.BasicTypes.IsGFlag GI.GLib.Flags.TestTrapFlags
- GI.GLib.Flags: instance Data.GI.Base.BasicTypes.IsGFlag GI.GLib.Flags.TraverseFlags
- GI.GLib.Flags: instance GHC.Classes.Eq GI.GLib.Flags.AsciiType
- GI.GLib.Flags: instance GHC.Classes.Eq GI.GLib.Flags.FileTest
- GI.GLib.Flags: instance GHC.Classes.Eq GI.GLib.Flags.FormatSizeFlags
- GI.GLib.Flags: instance GHC.Classes.Eq GI.GLib.Flags.HookFlagMask
- GI.GLib.Flags: instance GHC.Classes.Eq GI.GLib.Flags.IOCondition
- GI.GLib.Flags: instance GHC.Classes.Eq GI.GLib.Flags.IOFlags
- GI.GLib.Flags: instance GHC.Classes.Eq GI.GLib.Flags.KeyFileFlags
- GI.GLib.Flags: instance GHC.Classes.Eq GI.GLib.Flags.LogLevelFlags
- GI.GLib.Flags: instance GHC.Classes.Eq GI.GLib.Flags.MarkupCollectType
- GI.GLib.Flags: instance GHC.Classes.Eq GI.GLib.Flags.MarkupParseFlags
- GI.GLib.Flags: instance GHC.Classes.Eq GI.GLib.Flags.OptionFlags
- GI.GLib.Flags: instance GHC.Classes.Eq GI.GLib.Flags.RegexCompileFlags
- GI.GLib.Flags: instance GHC.Classes.Eq GI.GLib.Flags.RegexMatchFlags
- GI.GLib.Flags: instance GHC.Classes.Eq GI.GLib.Flags.SpawnFlags
- GI.GLib.Flags: instance GHC.Classes.Eq GI.GLib.Flags.TestSubprocessFlags
- GI.GLib.Flags: instance GHC.Classes.Eq GI.GLib.Flags.TestTrapFlags
- GI.GLib.Flags: instance GHC.Classes.Eq GI.GLib.Flags.TraverseFlags
- GI.GLib.Flags: instance GHC.Enum.Enum GI.GLib.Flags.AsciiType
- GI.GLib.Flags: instance GHC.Enum.Enum GI.GLib.Flags.FileTest
- GI.GLib.Flags: instance GHC.Enum.Enum GI.GLib.Flags.FormatSizeFlags
- GI.GLib.Flags: instance GHC.Enum.Enum GI.GLib.Flags.HookFlagMask
- GI.GLib.Flags: instance GHC.Enum.Enum GI.GLib.Flags.IOCondition
- GI.GLib.Flags: instance GHC.Enum.Enum GI.GLib.Flags.IOFlags
- GI.GLib.Flags: instance GHC.Enum.Enum GI.GLib.Flags.KeyFileFlags
- GI.GLib.Flags: instance GHC.Enum.Enum GI.GLib.Flags.LogLevelFlags
- GI.GLib.Flags: instance GHC.Enum.Enum GI.GLib.Flags.MarkupCollectType
- GI.GLib.Flags: instance GHC.Enum.Enum GI.GLib.Flags.MarkupParseFlags
- GI.GLib.Flags: instance GHC.Enum.Enum GI.GLib.Flags.OptionFlags
- GI.GLib.Flags: instance GHC.Enum.Enum GI.GLib.Flags.RegexCompileFlags
- GI.GLib.Flags: instance GHC.Enum.Enum GI.GLib.Flags.RegexMatchFlags
- GI.GLib.Flags: instance GHC.Enum.Enum GI.GLib.Flags.SpawnFlags
- GI.GLib.Flags: instance GHC.Enum.Enum GI.GLib.Flags.TestSubprocessFlags
- GI.GLib.Flags: instance GHC.Enum.Enum GI.GLib.Flags.TestTrapFlags
- GI.GLib.Flags: instance GHC.Enum.Enum GI.GLib.Flags.TraverseFlags
- GI.GLib.Flags: instance GHC.Show.Show GI.GLib.Flags.AsciiType
- GI.GLib.Flags: instance GHC.Show.Show GI.GLib.Flags.FileTest
- GI.GLib.Flags: instance GHC.Show.Show GI.GLib.Flags.FormatSizeFlags
- GI.GLib.Flags: instance GHC.Show.Show GI.GLib.Flags.HookFlagMask
- GI.GLib.Flags: instance GHC.Show.Show GI.GLib.Flags.IOCondition
- GI.GLib.Flags: instance GHC.Show.Show GI.GLib.Flags.IOFlags
- GI.GLib.Flags: instance GHC.Show.Show GI.GLib.Flags.KeyFileFlags
- GI.GLib.Flags: instance GHC.Show.Show GI.GLib.Flags.LogLevelFlags
- GI.GLib.Flags: instance GHC.Show.Show GI.GLib.Flags.MarkupCollectType
- GI.GLib.Flags: instance GHC.Show.Show GI.GLib.Flags.MarkupParseFlags
- GI.GLib.Flags: instance GHC.Show.Show GI.GLib.Flags.OptionFlags
- GI.GLib.Flags: instance GHC.Show.Show GI.GLib.Flags.RegexCompileFlags
- GI.GLib.Flags: instance GHC.Show.Show GI.GLib.Flags.RegexMatchFlags
- GI.GLib.Flags: instance GHC.Show.Show GI.GLib.Flags.SpawnFlags
- GI.GLib.Flags: instance GHC.Show.Show GI.GLib.Flags.TestSubprocessFlags
- GI.GLib.Flags: instance GHC.Show.Show GI.GLib.Flags.TestTrapFlags
- GI.GLib.Flags: instance GHC.Show.Show GI.GLib.Flags.TraverseFlags
- GI.GLib.Structs.AsyncQueue: instance (info Data.Type.Equality.~ GI.GLib.Structs.AsyncQueue.ResolveAsyncQueueMethod t GI.GLib.Structs.AsyncQueue.AsyncQueue, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.AsyncQueue.AsyncQueue p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.AsyncQueue.AsyncQueue -> p)
- GI.GLib.Structs.AsyncQueue: instance (info Data.Type.Equality.~ GI.GLib.Structs.AsyncQueue.ResolveAsyncQueueMethod t GI.GLib.Structs.AsyncQueue.AsyncQueue, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.AsyncQueue.AsyncQueue p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.AsyncQueue.AsyncQueue -> p)
- GI.GLib.Structs.AsyncQueue: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueuePushFrontMethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueue signature
- GI.GLib.Structs.AsyncQueue: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueuePushFrontUnlockedMethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueue signature
- GI.GLib.Structs.AsyncQueue: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueuePushMethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueue signature
- GI.GLib.Structs.AsyncQueue: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueuePushUnlockedMethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueue signature
- GI.GLib.Structs.AsyncQueue: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueueRemoveMethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueue signature
- GI.GLib.Structs.AsyncQueue: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueueRemoveUnlockedMethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueue signature
- GI.GLib.Structs.AsyncQueue: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueueLockMethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueue signature
- GI.GLib.Structs.AsyncQueue: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueueRefUnlockedMethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueue signature
- GI.GLib.Structs.AsyncQueue: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueueUnlockMethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueue signature
- GI.GLib.Structs.AsyncQueue: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueueUnrefAndUnlockMethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueue signature
- GI.GLib.Structs.AsyncQueue: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueueUnrefMethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueue signature
- GI.GLib.Structs.AsyncQueue: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueueLengthMethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueue signature
- GI.GLib.Structs.AsyncQueue: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueueLengthUnlockedMethodInfo GI.GLib.Structs.AsyncQueue.AsyncQueue signature
- GI.GLib.Structs.BookmarkFile: instance (info Data.Type.Equality.~ GI.GLib.Structs.BookmarkFile.ResolveBookmarkFileMethod t GI.GLib.Structs.BookmarkFile.BookmarkFile, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.BookmarkFile.BookmarkFile p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.BookmarkFile.BookmarkFile -> p)
- GI.GLib.Structs.BookmarkFile: instance (info Data.Type.Equality.~ GI.GLib.Structs.BookmarkFile.ResolveBookmarkFileMethod t GI.GLib.Structs.BookmarkFile.BookmarkFile, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.BookmarkFile.BookmarkFile p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.BookmarkFile.BookmarkFile -> p)
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> Data.Text.Internal.Text -> GHC.Int.Int32 -> GHC.Int.Int64 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileSetAppInfoMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileAddGroupMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileHasApplicationMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileHasGroupMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileRemoveApplicationMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileRemoveGroupMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileSetMimeTypeMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> m (Data.Text.Internal.Text, GHC.Word.Word32, GHC.Int.Int64)), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileGetAppInfoMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> GHC.Base.Maybe Data.Text.Internal.Text -> Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileSetIconMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> GHC.Base.Maybe Data.Text.Internal.Text -> GHC.Base.Maybe Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileAddApplicationMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> GHC.Base.Maybe Data.Text.Internal.Text -> GHC.Word.Word64 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileSetGroupsMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> GHC.Base.Maybe Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileLoadFromDataDirsMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> GHC.Base.Maybe Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileMoveItemMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> GHC.Int.Int64 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileSetAddedMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> GHC.Int.Int64 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileSetModifiedMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> GHC.Int.Int64 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileSetVisitedMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> GHC.Types.Bool -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileSetIsPrivateMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> GHC.Word.Word64 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileLoadFromDataMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileGetIsPrivateMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileLoadFromFileMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileRemoveItemMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileToFileMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m (Data.Text.Internal.Text, Data.Text.Internal.Text)), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileGetIconMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m Data.Text.Internal.Text), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileGetDescriptionMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m Data.Text.Internal.Text), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileGetMimeTypeMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m GHC.Int.Int64), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileGetAddedMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m GHC.Int.Int64), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileGetModifiedMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m GHC.Int.Int64), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileGetVisitedMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileHasItemMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m [Data.Text.Internal.Text]), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileGetApplicationsMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m [Data.Text.Internal.Text]), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileGetGroupsMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (GHC.Base.Maybe Data.Text.Internal.Text -> Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileSetDescriptionMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (GHC.Base.Maybe Data.Text.Internal.Text -> Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileSetTitleMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ (GHC.Base.Maybe Data.Text.Internal.Text -> m Data.Text.Internal.Text), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileGetTitleMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileFreeMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ m (Data.Text.Internal.Text, GHC.Word.Word64), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileToDataMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileGetSizeMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.BookmarkFile: instance (signature Data.Type.Equality.~ m [Data.Text.Internal.Text], Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFileGetUrisMethodInfo GI.GLib.Structs.BookmarkFile.BookmarkFile signature
- GI.GLib.Structs.ByteArray: instance (info Data.Type.Equality.~ GI.GLib.Structs.ByteArray.ResolveByteArrayMethod t GI.GLib.Structs.ByteArray.ByteArray, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.ByteArray.ByteArray p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.ByteArray.ByteArray -> p)
- GI.GLib.Structs.ByteArray: instance (info Data.Type.Equality.~ GI.GLib.Structs.ByteArray.ResolveByteArrayMethod t GI.GLib.Structs.ByteArray.ByteArray, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.ByteArray.ByteArray p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.ByteArray.ByteArray -> p)
- GI.GLib.Structs.ByteArray: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.ByteArray.ByteArray
- GI.GLib.Structs.Bytes: instance (info Data.Type.Equality.~ GI.GLib.Structs.Bytes.ResolveBytesMethod t GI.GLib.Structs.Bytes.Bytes, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Bytes.Bytes p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.Bytes.Bytes -> p)
- GI.GLib.Structs.Bytes: instance (info Data.Type.Equality.~ GI.GLib.Structs.Bytes.ResolveBytesMethod t GI.GLib.Structs.Bytes.Bytes, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Bytes.Bytes p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.Bytes.Bytes -> p)
- GI.GLib.Structs.Bytes: instance (signature Data.Type.Equality.~ (GHC.Word.Word64 -> GHC.Word.Word64 -> m GI.GLib.Structs.Bytes.Bytes), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Bytes.BytesNewFromBytesMethodInfo GI.GLib.Structs.Bytes.Bytes signature
- GI.GLib.Structs.Bytes: instance (signature Data.Type.Equality.~ (GHC.Word.Word64 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Bytes.BytesUnrefToDataMethodInfo GI.GLib.Structs.Bytes.Bytes signature
- GI.GLib.Structs.Bytes: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.Bytes.Bytes -> m GHC.Int.Int32), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Bytes.BytesCompareMethodInfo GI.GLib.Structs.Bytes.Bytes signature
- GI.GLib.Structs.Bytes: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.Bytes.Bytes -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Bytes.BytesEqualMethodInfo GI.GLib.Structs.Bytes.Bytes signature
- GI.GLib.Structs.Bytes: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Bytes.BytesUnrefMethodInfo GI.GLib.Structs.Bytes.Bytes signature
- GI.GLib.Structs.Bytes: instance (signature Data.Type.Equality.~ m Data.ByteString.Internal.ByteString, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Bytes.BytesGetDataMethodInfo GI.GLib.Structs.Bytes.Bytes signature
- GI.GLib.Structs.Bytes: instance (signature Data.Type.Equality.~ m Data.ByteString.Internal.ByteString, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Bytes.BytesUnrefToArrayMethodInfo GI.GLib.Structs.Bytes.Bytes signature
- GI.GLib.Structs.Bytes: instance (signature Data.Type.Equality.~ m GHC.Word.Word32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Bytes.BytesHashMethodInfo GI.GLib.Structs.Bytes.Bytes signature
- GI.GLib.Structs.Bytes: instance (signature Data.Type.Equality.~ m GHC.Word.Word64, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Bytes.BytesGetSizeMethodInfo GI.GLib.Structs.Bytes.Bytes signature
- GI.GLib.Structs.Bytes: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.Bytes.Bytes, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Bytes.BytesRefMethodInfo GI.GLib.Structs.Bytes.Bytes signature
- GI.GLib.Structs.Bytes: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.Bytes.Bytes
- GI.GLib.Structs.Checksum: instance (info Data.Type.Equality.~ GI.GLib.Structs.Checksum.ResolveChecksumMethod t GI.GLib.Structs.Checksum.Checksum, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Checksum.Checksum p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.Checksum.Checksum -> p)
- GI.GLib.Structs.Checksum: instance (info Data.Type.Equality.~ GI.GLib.Structs.Checksum.ResolveChecksumMethod t GI.GLib.Structs.Checksum.Checksum, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Checksum.Checksum p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.Checksum.Checksum -> p)
- GI.GLib.Structs.Checksum: instance (signature Data.Type.Equality.~ (Data.ByteString.Internal.ByteString -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Checksum.ChecksumUpdateMethodInfo GI.GLib.Structs.Checksum.Checksum signature
- GI.GLib.Structs.Checksum: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Checksum.ChecksumFreeMethodInfo GI.GLib.Structs.Checksum.Checksum signature
- GI.GLib.Structs.Checksum: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Checksum.ChecksumResetMethodInfo GI.GLib.Structs.Checksum.Checksum signature
- GI.GLib.Structs.Checksum: instance (signature Data.Type.Equality.~ m Data.Text.Internal.Text, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Checksum.ChecksumGetStringMethodInfo GI.GLib.Structs.Checksum.Checksum signature
- GI.GLib.Structs.Checksum: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.Checksum.Checksum, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Checksum.ChecksumCopyMethodInfo GI.GLib.Structs.Checksum.Checksum signature
- GI.GLib.Structs.Checksum: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.Checksum.Checksum
- GI.GLib.Structs.Cond: instance (info Data.Type.Equality.~ GI.GLib.Structs.Cond.ResolveCondMethod t GI.GLib.Structs.Cond.Cond, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Cond.Cond p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.Cond.Cond -> p)
- GI.GLib.Structs.Cond: instance (info Data.Type.Equality.~ GI.GLib.Structs.Cond.ResolveCondMethod t GI.GLib.Structs.Cond.Cond, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Cond.Cond p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.Cond.Cond -> p)
- GI.GLib.Structs.Cond: instance (signature Data.Type.Equality.~ (GI.GLib.Unions.Mutex.Mutex -> GHC.Int.Int64 -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Cond.CondWaitUntilMethodInfo GI.GLib.Structs.Cond.Cond signature
- GI.GLib.Structs.Cond: instance (signature Data.Type.Equality.~ (GI.GLib.Unions.Mutex.Mutex -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Cond.CondWaitMethodInfo GI.GLib.Structs.Cond.Cond signature
- GI.GLib.Structs.Cond: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Cond.CondBroadcastMethodInfo GI.GLib.Structs.Cond.Cond signature
- GI.GLib.Structs.Cond: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Cond.CondClearMethodInfo GI.GLib.Structs.Cond.Cond signature
- GI.GLib.Structs.Cond: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Cond.CondInitMethodInfo GI.GLib.Structs.Cond.Cond signature
- GI.GLib.Structs.Cond: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Cond.CondSignalMethodInfo GI.GLib.Structs.Cond.Cond signature
- GI.GLib.Structs.Data: instance (info Data.Type.Equality.~ GI.GLib.Structs.Data.ResolveDataMethod t GI.GLib.Structs.Data.Data, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Data.Data p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.Data.Data -> p)
- GI.GLib.Structs.Data: instance (info Data.Type.Equality.~ GI.GLib.Structs.Data.ResolveDataMethod t GI.GLib.Structs.Data.Data, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Data.Data p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.Data.Data -> p)
- GI.GLib.Structs.Date: instance (info Data.Type.Equality.~ GI.GLib.Structs.Date.ResolveDateMethod t GI.GLib.Structs.Date.Date, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Date.Date p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.Date.Date -> p)
- GI.GLib.Structs.Date: instance (info Data.Type.Equality.~ GI.GLib.Structs.Date.ResolveDateMethod t GI.GLib.Structs.Date.Date, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Date.Date p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.Date.Date -> p)
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateSetParseMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateSetTimeMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (GHC.Int.Int64 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateSetTimeTMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateToStructTmMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (GHC.Word.Word16 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateSetYearMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (GHC.Word.Word32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateAddDaysMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (GHC.Word.Word32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateAddMonthsMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (GHC.Word.Word32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateAddYearsMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (GHC.Word.Word32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateClearMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (GHC.Word.Word32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateSetJulianMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (GHC.Word.Word32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateSubtractDaysMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (GHC.Word.Word32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateSubtractMonthsMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (GHC.Word.Word32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateSubtractYearsMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (GHC.Word.Word8 -> GI.GLib.Enums.DateMonth -> GHC.Word.Word16 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateSetDmyMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (GHC.Word.Word8 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateSetDayMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (GI.GLib.Enums.DateMonth -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateSetMonthMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.Date.Date -> GI.GLib.Structs.Date.Date -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateClampMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.Date.Date -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateOrderMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.Date.Date -> m GHC.Int.Int32), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateCompareMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.Date.Date -> m GHC.Int.Int32), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateDaysBetweenMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.TimeVal.TimeVal -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateSetTimeValMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateFreeMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateIsFirstOfMonthMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateIsLastOfMonthMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateValidMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ m GHC.Word.Word16, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateGetYearMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ m GHC.Word.Word32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateGetDayOfYearMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ m GHC.Word.Word32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateGetIso8601WeekOfYearMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ m GHC.Word.Word32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateGetJulianMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ m GHC.Word.Word32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateGetMondayWeekOfYearMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ m GHC.Word.Word32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateGetSundayWeekOfYearMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ m GHC.Word.Word8, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateGetDayMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ m GI.GLib.Enums.DateMonth, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateGetMonthMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance (signature Data.Type.Equality.~ m GI.GLib.Enums.DateWeekday, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Date.DateGetWeekdayMethodInfo GI.GLib.Structs.Date.Date signature
- GI.GLib.Structs.Date: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.Date.Date
- GI.GLib.Structs.DateTime: instance (info Data.Type.Equality.~ GI.GLib.Structs.DateTime.ResolveDateTimeMethod t GI.GLib.Structs.DateTime.DateTime, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.DateTime.DateTime p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.DateTime.DateTime -> p)
- GI.GLib.Structs.DateTime: instance (info Data.Type.Equality.~ GI.GLib.Structs.DateTime.ResolveDateTimeMethod t GI.GLib.Structs.DateTime.DateTime, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.DateTime.DateTime p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.DateTime.DateTime -> p)
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m Data.Text.Internal.Text), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeFormatMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> GHC.Int.Int32 -> GHC.Int.Int32 -> GHC.Int.Int32 -> GHC.Int.Int32 -> GHC.Types.Double -> m GI.GLib.Structs.DateTime.DateTime), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeAddFullMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> m GI.GLib.Structs.DateTime.DateTime), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeAddDaysMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> m GI.GLib.Structs.DateTime.DateTime), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeAddHoursMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> m GI.GLib.Structs.DateTime.DateTime), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeAddMinutesMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> m GI.GLib.Structs.DateTime.DateTime), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeAddMonthsMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> m GI.GLib.Structs.DateTime.DateTime), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeAddWeeksMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> m GI.GLib.Structs.DateTime.DateTime), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeAddYearsMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ (GHC.Int.Int64 -> m GI.GLib.Structs.DateTime.DateTime), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeAddMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ (GHC.Types.Double -> m GI.GLib.Structs.DateTime.DateTime), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeAddSecondsMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.DateTime.DateTime -> m GHC.Int.Int64), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeDifferenceMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.TimeVal.TimeVal -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeToTimevalMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.TimeZone.TimeZone -> m GI.GLib.Structs.DateTime.DateTime), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeToTimezoneMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeUnrefMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m (GHC.Int.Int32, GHC.Int.Int32, GHC.Int.Int32), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeGetYmdMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m Data.Text.Internal.Text, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeGetTimezoneAbbreviationMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeGetDayOfMonthMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeGetDayOfWeekMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeGetDayOfYearMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeGetHourMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeGetMicrosecondMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeGetMinuteMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeGetMonthMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeGetSecondMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeGetWeekNumberingYearMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeGetWeekOfYearMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeGetYearMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m GHC.Int.Int64, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeGetUtcOffsetMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m GHC.Int.Int64, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeToUnixMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeIsDaylightSavingsMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m GHC.Types.Double, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeGetSecondsMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.DateTime.DateTime, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeRefMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.DateTime.DateTime, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeToLocalMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.DateTime.DateTime, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.DateTime.DateTimeToUtcMethodInfo GI.GLib.Structs.DateTime.DateTime signature
- GI.GLib.Structs.DateTime: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.DateTime.DateTime
- GI.GLib.Structs.DebugKey: instance (info Data.Type.Equality.~ GI.GLib.Structs.DebugKey.ResolveDebugKeyMethod t GI.GLib.Structs.DebugKey.DebugKey, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.DebugKey.DebugKey p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.DebugKey.DebugKey -> p)
- GI.GLib.Structs.DebugKey: instance (info Data.Type.Equality.~ GI.GLib.Structs.DebugKey.ResolveDebugKeyMethod t GI.GLib.Structs.DebugKey.DebugKey, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.DebugKey.DebugKey p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.DebugKey.DebugKey -> p)
- GI.GLib.Structs.Dir: instance (info Data.Type.Equality.~ GI.GLib.Structs.Dir.ResolveDirMethod t GI.GLib.Structs.Dir.Dir, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Dir.Dir p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.Dir.Dir -> p)
- GI.GLib.Structs.Dir: instance (info Data.Type.Equality.~ GI.GLib.Structs.Dir.ResolveDirMethod t GI.GLib.Structs.Dir.Dir, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Dir.Dir p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.Dir.Dir -> p)
- GI.GLib.Structs.Dir: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Dir.DirCloseMethodInfo GI.GLib.Structs.Dir.Dir signature
- GI.GLib.Structs.Dir: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Dir.DirRewindMethodInfo GI.GLib.Structs.Dir.Dir signature
- GI.GLib.Structs.Dir: instance (signature Data.Type.Equality.~ m Data.Text.Internal.Text, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Dir.DirReadNameMethodInfo GI.GLib.Structs.Dir.Dir signature
- GI.GLib.Structs.HashTableIter: instance (info Data.Type.Equality.~ GI.GLib.Structs.HashTableIter.ResolveHashTableIterMethod t GI.GLib.Structs.HashTableIter.HashTableIter, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.HashTableIter.HashTableIter p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.HashTableIter.HashTableIter -> p)
- GI.GLib.Structs.HashTableIter: instance (info Data.Type.Equality.~ GI.GLib.Structs.HashTableIter.ResolveHashTableIterMethod t GI.GLib.Structs.HashTableIter.HashTableIter, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.HashTableIter.HashTableIter p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.HashTableIter.HashTableIter -> p)
- GI.GLib.Structs.HashTableIter: instance (signature Data.Type.Equality.~ (Data.Map.Base.Map (GHC.Ptr.Ptr ()) (GHC.Ptr.Ptr ()) -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.HashTableIter.HashTableIterInitMethodInfo GI.GLib.Structs.HashTableIter.HashTableIter signature
- GI.GLib.Structs.HashTableIter: instance (signature Data.Type.Equality.~ (GHC.Base.Maybe (GHC.Ptr.Ptr ()) -> GHC.Base.Maybe (GHC.Ptr.Ptr ()) -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.HashTableIter.HashTableIterNextMethodInfo GI.GLib.Structs.HashTableIter.HashTableIter signature
- GI.GLib.Structs.HashTableIter: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.HashTableIter.HashTableIterReplaceMethodInfo GI.GLib.Structs.HashTableIter.HashTableIter signature
- GI.GLib.Structs.HashTableIter: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.HashTableIter.HashTableIterRemoveMethodInfo GI.GLib.Structs.HashTableIter.HashTableIter signature
- GI.GLib.Structs.HashTableIter: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.HashTableIter.HashTableIterStealMethodInfo GI.GLib.Structs.HashTableIter.HashTableIter signature
- GI.GLib.Structs.Hmac: instance (info Data.Type.Equality.~ GI.GLib.Structs.Hmac.ResolveHmacMethod t GI.GLib.Structs.Hmac.Hmac, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Hmac.Hmac p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.Hmac.Hmac -> p)
- GI.GLib.Structs.Hmac: instance (info Data.Type.Equality.~ GI.GLib.Structs.Hmac.ResolveHmacMethod t GI.GLib.Structs.Hmac.Hmac, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Hmac.Hmac p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.Hmac.Hmac -> p)
- GI.GLib.Structs.Hmac: instance (signature Data.Type.Equality.~ (Data.ByteString.Internal.ByteString -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Hmac.HmacUpdateMethodInfo GI.GLib.Structs.Hmac.Hmac signature
- GI.GLib.Structs.Hmac: instance (signature Data.Type.Equality.~ (GHC.Word.Word8 -> GHC.Word.Word64 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Hmac.HmacGetDigestMethodInfo GI.GLib.Structs.Hmac.Hmac signature
- GI.GLib.Structs.Hmac: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Hmac.HmacUnrefMethodInfo GI.GLib.Structs.Hmac.Hmac signature
- GI.GLib.Structs.Hmac: instance (signature Data.Type.Equality.~ m Data.Text.Internal.Text, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Hmac.HmacGetStringMethodInfo GI.GLib.Structs.Hmac.Hmac signature
- GI.GLib.Structs.Hook: instance (info Data.Type.Equality.~ GI.GLib.Structs.Hook.ResolveHookMethod t GI.GLib.Structs.Hook.Hook, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Hook.Hook p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.Hook.Hook -> p)
- GI.GLib.Structs.Hook: instance (info Data.Type.Equality.~ GI.GLib.Structs.Hook.ResolveHookMethod t GI.GLib.Structs.Hook.Hook, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Hook.Hook p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.Hook.Hook -> p)
- GI.GLib.Structs.Hook: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.Hook.Hook -> m GHC.Int.Int32), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Hook.HookCompareIdsMethodInfo GI.GLib.Structs.Hook.Hook signature
- GI.GLib.Structs.HookList: instance (info Data.Type.Equality.~ GI.GLib.Structs.HookList.ResolveHookListMethod t GI.GLib.Structs.HookList.HookList, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.HookList.HookList p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.HookList.HookList -> p)
- GI.GLib.Structs.HookList: instance (info Data.Type.Equality.~ GI.GLib.Structs.HookList.ResolveHookListMethod t GI.GLib.Structs.HookList.HookList, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.HookList.HookList p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.HookList.HookList -> p)
- GI.GLib.Structs.HookList: instance (signature Data.Type.Equality.~ (GHC.Types.Bool -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.HookList.HookListInvokeCheckMethodInfo GI.GLib.Structs.HookList.HookList signature
- GI.GLib.Structs.HookList: instance (signature Data.Type.Equality.~ (GHC.Types.Bool -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.HookList.HookListInvokeMethodInfo GI.GLib.Structs.HookList.HookList signature
- GI.GLib.Structs.HookList: instance (signature Data.Type.Equality.~ (GHC.Word.Word32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.HookList.HookListInitMethodInfo GI.GLib.Structs.HookList.HookList signature
- GI.GLib.Structs.HookList: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.HookList.HookListClearMethodInfo GI.GLib.Structs.HookList.HookList signature
- GI.GLib.Structs.IConv: instance (info Data.Type.Equality.~ GI.GLib.Structs.IConv.ResolveIConvMethod t GI.GLib.Structs.IConv.IConv, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.IConv.IConv p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.IConv.IConv -> p)
- GI.GLib.Structs.IConv: instance (info Data.Type.Equality.~ GI.GLib.Structs.IConv.ResolveIConvMethod t GI.GLib.Structs.IConv.IConv, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.IConv.IConv p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.IConv.IConv -> p)
- GI.GLib.Structs.IConv: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IConv.IConvCloseMethodInfo GI.GLib.Structs.IConv.IConv signature
- GI.GLib.Structs.IOChannel: instance (info Data.Type.Equality.~ GI.GLib.Structs.IOChannel.ResolveIOChannelMethod t GI.GLib.Structs.IOChannel.IOChannel, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.IOChannel.IOChannel p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.IOChannel.IOChannel -> p)
- GI.GLib.Structs.IOChannel: instance (info Data.Type.Equality.~ GI.GLib.Structs.IOChannel.ResolveIOChannelMethod t GI.GLib.Structs.IOChannel.IOChannel, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.IOChannel.IOChannel p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.IOChannel.IOChannel -> p)
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ (Data.ByteString.Internal.ByteString -> m (GI.GLib.Enums.IOStatus, Data.ByteString.Internal.ByteString, GHC.Word.Word64)), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelReadCharsMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> GHC.Word.Word64 -> GHC.Word.Word64 -> m GI.GLib.Enums.IOError), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelReadMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> GHC.Word.Word64 -> GHC.Word.Word64 -> m GI.GLib.Enums.IOError), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelWriteMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ (GHC.Base.Maybe Data.Text.Internal.Text -> GHC.Int.Int32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelSetLineTermMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ (GHC.Base.Maybe Data.Text.Internal.Text -> m GI.GLib.Enums.IOStatus), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelSetEncodingMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> m Data.Text.Internal.Text), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelGetLineTermMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ (GHC.Int.Int64 -> GI.GLib.Enums.SeekType -> m GI.GLib.Enums.IOError), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelSeekMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ (GHC.Int.Int64 -> GI.GLib.Enums.SeekType -> m GI.GLib.Enums.IOStatus), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelSeekPositionMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr GHC.Word.Word8 -> GHC.Int.Int64 -> m (GI.GLib.Enums.IOStatus, GHC.Word.Word64)), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelWriteCharsMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ (GHC.Types.Bool -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelSetBufferedMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ (GHC.Types.Bool -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelSetCloseOnUnrefMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ (GHC.Types.Bool -> m GI.GLib.Enums.IOStatus), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelShutdownMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ (GHC.Types.Char -> m GI.GLib.Enums.IOStatus), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelWriteUnicharMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ (GHC.Word.Word64 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelSetBufferSizeMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ ([GI.GLib.Flags.IOFlags] -> m GI.GLib.Enums.IOStatus), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelSetFlagsMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelCloseMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelInitMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelUnrefMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ m (GI.GLib.Enums.IOStatus, Data.ByteString.Internal.ByteString), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelReadToEndMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ m (GI.GLib.Enums.IOStatus, Data.Text.Internal.Text, GHC.Word.Word64, GHC.Word.Word64), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelReadLineMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ m (GI.GLib.Enums.IOStatus, GHC.Types.Char), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelReadUnicharMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ m Data.Text.Internal.Text, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelGetEncodingMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelUnixGetFdMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelGetBufferedMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelGetCloseOnUnrefMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ m GHC.Word.Word64, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelGetBufferSizeMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ m GI.GLib.Enums.IOStatus, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelFlushMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.IOChannel.IOChannel, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelRefMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ m [GI.GLib.Flags.IOCondition], Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelGetBufferConditionMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance (signature Data.Type.Equality.~ m [GI.GLib.Flags.IOFlags], Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.IOChannel.IOChannelGetFlagsMethodInfo GI.GLib.Structs.IOChannel.IOChannel signature
- GI.GLib.Structs.IOChannel: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.IOChannel.IOChannel
- GI.GLib.Structs.IOFuncs: instance (info Data.Type.Equality.~ GI.GLib.Structs.IOFuncs.ResolveIOFuncsMethod t GI.GLib.Structs.IOFuncs.IOFuncs, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.IOFuncs.IOFuncs p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.IOFuncs.IOFuncs -> p)
- GI.GLib.Structs.IOFuncs: instance (info Data.Type.Equality.~ GI.GLib.Structs.IOFuncs.ResolveIOFuncsMethod t GI.GLib.Structs.IOFuncs.IOFuncs, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.IOFuncs.IOFuncs p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.IOFuncs.IOFuncs -> p)
- GI.GLib.Structs.KeyFile: instance (info Data.Type.Equality.~ GI.GLib.Structs.KeyFile.ResolveKeyFileMethod t GI.GLib.Structs.KeyFile.KeyFile, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.KeyFile.KeyFile p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.KeyFile.KeyFile -> p)
- GI.GLib.Structs.KeyFile: instance (info Data.Type.Equality.~ GI.GLib.Structs.KeyFile.ResolveKeyFileMethod t GI.GLib.Structs.KeyFile.KeyFile, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.KeyFile.KeyFile p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.KeyFile.KeyFile -> p)
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> Data.Text.Internal.Text -> Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileSetLocaleStringMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> Data.Text.Internal.Text -> [Data.Text.Internal.Text] -> GHC.Word.Word64 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileSetLocaleStringListMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileSetStringMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileSetValueMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> GHC.Base.Maybe Data.Text.Internal.Text -> m ([Data.Text.Internal.Text], GHC.Word.Word64)), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileGetLocaleStringListMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> GHC.Base.Maybe Data.Text.Internal.Text -> m Data.Text.Internal.Text), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileGetLocaleStringMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> GHC.Int.Int32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileSetIntegerMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> GHC.Int.Int64 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileSetInt64MethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> GHC.Types.Bool -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileSetBooleanMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> GHC.Types.Double -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileSetDoubleMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> GHC.Word.Word64 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileSetUint64MethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> [Data.Text.Internal.Text] -> GHC.Word.Word64 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileSetStringListMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> [GHC.Int.Int32] -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileSetIntegerListMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> [GHC.Types.Bool] -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileSetBooleanListMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> [GHC.Types.Double] -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileSetDoubleListMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileGetBooleanMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileRemoveKeyMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> m ([Data.Text.Internal.Text], GHC.Word.Word64)), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileGetStringListMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> m Data.Text.Internal.Text), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileGetStringMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> m Data.Text.Internal.Text), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileGetValueMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> m GHC.Int.Int32), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileGetIntegerMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> m GHC.Int.Int64), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileGetInt64MethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> m GHC.Types.Double), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileGetDoubleMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> m GHC.Word.Word64), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileGetUint64MethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> m [GHC.Int.Int32]), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileGetIntegerListMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> m [GHC.Types.Bool]), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileGetBooleanListMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> m [GHC.Types.Double]), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileGetDoubleListMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> GHC.Word.Word64 -> [GI.GLib.Flags.KeyFileFlags] -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileLoadFromDataMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileRemoveGroupMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileSaveToFileMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m ([Data.Text.Internal.Text], GHC.Word.Word64)), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileGetKeysMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileHasGroupMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (GHC.Base.Maybe Data.Text.Internal.Text -> Data.Text.Internal.Text -> m Data.Text.Internal.Text), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileGetCommentMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (GHC.Base.Maybe Data.Text.Internal.Text -> GHC.Base.Maybe Data.Text.Internal.Text -> Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileSetCommentMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (GHC.Base.Maybe Data.Text.Internal.Text -> GHC.Base.Maybe Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileRemoveCommentMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ (GHC.Int.Int8 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileSetListSeparatorMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ ([GHC.Types.Char] -> [GI.GLib.Flags.KeyFileFlags] -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileLoadFromFileMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ ([GHC.Types.Char] -> [GI.GLib.Flags.KeyFileFlags] -> m [GHC.Types.Char]), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileLoadFromDataDirsMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ ([GHC.Types.Char] -> [[GHC.Types.Char]] -> [GI.GLib.Flags.KeyFileFlags] -> m [GHC.Types.Char]), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileLoadFromDirsMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileUnrefMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ m (Data.Text.Internal.Text, GHC.Word.Word64), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileToDataMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ m ([Data.Text.Internal.Text], GHC.Word.Word64), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileGetGroupsMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance (signature Data.Type.Equality.~ m Data.Text.Internal.Text, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.KeyFile.KeyFileGetStartGroupMethodInfo GI.GLib.Structs.KeyFile.KeyFile signature
- GI.GLib.Structs.KeyFile: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.KeyFile.KeyFile
- GI.GLib.Structs.MainContext: instance (info Data.Type.Equality.~ GI.GLib.Structs.MainContext.ResolveMainContextMethod t GI.GLib.Structs.MainContext.MainContext, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.MainContext.MainContext p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.MainContext.MainContext -> p)
- GI.GLib.Structs.MainContext: instance (info Data.Type.Equality.~ GI.GLib.Structs.MainContext.ResolveMainContextMethod t GI.GLib.Structs.MainContext.MainContext, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.MainContext.MainContext p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.MainContext.MainContext -> p)
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> GI.GLib.Callbacks.SourceFunc -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextInvokeFullMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> [GI.GLib.Structs.PollFD.PollFD] -> m (GHC.Int.Int32, GHC.Int.Int32, [GI.GLib.Structs.PollFD.PollFD])), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextQueryMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> [GI.GLib.Structs.PollFD.PollFD] -> m GHC.Int.Int32), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextCheckMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextPrepareMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m GI.GLib.Structs.Source.Source), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextFindSourceByUserDataMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ (GHC.Types.Bool -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextIterationMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ (GHC.Word.Word32 -> m GI.GLib.Structs.Source.Source), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextFindSourceByIdMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.Cond.Cond -> GI.GLib.Unions.Mutex.Mutex -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextWaitMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.PollFD.PollFD -> GHC.Int.Int32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextAddPollMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.PollFD.PollFD -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextRemovePollMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.SourceFuncs.SourceFuncs -> GHC.Ptr.Ptr () -> m GI.GLib.Structs.Source.Source), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextFindSourceByFuncsUserDataMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextDispatchMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextPopThreadDefaultMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextPushThreadDefaultMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextReleaseMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextUnrefMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextWakeupMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextAcquireMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextIsOwnerMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextPendingMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.MainContext.MainContext, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainContext.MainContextRefMethodInfo GI.GLib.Structs.MainContext.MainContext signature
- GI.GLib.Structs.MainContext: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.MainContext.MainContext
- GI.GLib.Structs.MainLoop: instance (info Data.Type.Equality.~ GI.GLib.Structs.MainLoop.ResolveMainLoopMethod t GI.GLib.Structs.MainLoop.MainLoop, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.MainLoop.MainLoop p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.MainLoop.MainLoop -> p)
- GI.GLib.Structs.MainLoop: instance (info Data.Type.Equality.~ GI.GLib.Structs.MainLoop.ResolveMainLoopMethod t GI.GLib.Structs.MainLoop.MainLoop, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.MainLoop.MainLoop p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.MainLoop.MainLoop -> p)
- GI.GLib.Structs.MainLoop: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainLoop.MainLoopQuitMethodInfo GI.GLib.Structs.MainLoop.MainLoop signature
- GI.GLib.Structs.MainLoop: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainLoop.MainLoopRunMethodInfo GI.GLib.Structs.MainLoop.MainLoop signature
- GI.GLib.Structs.MainLoop: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainLoop.MainLoopUnrefMethodInfo GI.GLib.Structs.MainLoop.MainLoop signature
- GI.GLib.Structs.MainLoop: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainLoop.MainLoopIsRunningMethodInfo GI.GLib.Structs.MainLoop.MainLoop signature
- GI.GLib.Structs.MainLoop: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.MainContext.MainContext, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainLoop.MainLoopGetContextMethodInfo GI.GLib.Structs.MainLoop.MainLoop signature
- GI.GLib.Structs.MainLoop: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.MainLoop.MainLoop, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MainLoop.MainLoopRefMethodInfo GI.GLib.Structs.MainLoop.MainLoop signature
- GI.GLib.Structs.MainLoop: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.MainLoop.MainLoop
- GI.GLib.Structs.MappedFile: instance (info Data.Type.Equality.~ GI.GLib.Structs.MappedFile.ResolveMappedFileMethod t GI.GLib.Structs.MappedFile.MappedFile, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.MappedFile.MappedFile p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.MappedFile.MappedFile -> p)
- GI.GLib.Structs.MappedFile: instance (info Data.Type.Equality.~ GI.GLib.Structs.MappedFile.ResolveMappedFileMethod t GI.GLib.Structs.MappedFile.MappedFile, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.MappedFile.MappedFile p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.MappedFile.MappedFile -> p)
- GI.GLib.Structs.MappedFile: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MappedFile.MappedFileFreeMethodInfo GI.GLib.Structs.MappedFile.MappedFile signature
- GI.GLib.Structs.MappedFile: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MappedFile.MappedFileUnrefMethodInfo GI.GLib.Structs.MappedFile.MappedFile signature
- GI.GLib.Structs.MappedFile: instance (signature Data.Type.Equality.~ m Data.Text.Internal.Text, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MappedFile.MappedFileGetContentsMethodInfo GI.GLib.Structs.MappedFile.MappedFile signature
- GI.GLib.Structs.MappedFile: instance (signature Data.Type.Equality.~ m GHC.Word.Word64, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MappedFile.MappedFileGetLengthMethodInfo GI.GLib.Structs.MappedFile.MappedFile signature
- GI.GLib.Structs.MappedFile: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.Bytes.Bytes, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MappedFile.MappedFileGetBytesMethodInfo GI.GLib.Structs.MappedFile.MappedFile signature
- GI.GLib.Structs.MappedFile: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.MappedFile.MappedFile, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MappedFile.MappedFileRefMethodInfo GI.GLib.Structs.MappedFile.MappedFile signature
- GI.GLib.Structs.MappedFile: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.MappedFile.MappedFile
- GI.GLib.Structs.MarkupParseContext: instance (info Data.Type.Equality.~ GI.GLib.Structs.MarkupParseContext.ResolveMarkupParseContextMethod t GI.GLib.Structs.MarkupParseContext.MarkupParseContext, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.MarkupParseContext.MarkupParseContext p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.MarkupParseContext.MarkupParseContext -> p)
- GI.GLib.Structs.MarkupParseContext: instance (info Data.Type.Equality.~ GI.GLib.Structs.MarkupParseContext.ResolveMarkupParseContextMethod t GI.GLib.Structs.MarkupParseContext.MarkupParseContext, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.MarkupParseContext.MarkupParseContext p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.MarkupParseContext.MarkupParseContext -> p)
- GI.GLib.Structs.MarkupParseContext: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> GHC.Int.Int64 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MarkupParseContext.MarkupParseContextParseMethodInfo GI.GLib.Structs.MarkupParseContext.MarkupParseContext signature
- GI.GLib.Structs.MarkupParseContext: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.MarkupParser.MarkupParser -> GHC.Ptr.Ptr () -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MarkupParseContext.MarkupParseContextPushMethodInfo GI.GLib.Structs.MarkupParseContext.MarkupParseContext signature
- GI.GLib.Structs.MarkupParseContext: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MarkupParseContext.MarkupParseContextEndParseMethodInfo GI.GLib.Structs.MarkupParseContext.MarkupParseContext signature
- GI.GLib.Structs.MarkupParseContext: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MarkupParseContext.MarkupParseContextFreeMethodInfo GI.GLib.Structs.MarkupParseContext.MarkupParseContext signature
- GI.GLib.Structs.MarkupParseContext: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MarkupParseContext.MarkupParseContextUnrefMethodInfo GI.GLib.Structs.MarkupParseContext.MarkupParseContext signature
- GI.GLib.Structs.MarkupParseContext: instance (signature Data.Type.Equality.~ m Data.Text.Internal.Text, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MarkupParseContext.MarkupParseContextGetElementMethodInfo GI.GLib.Structs.MarkupParseContext.MarkupParseContext signature
- GI.GLib.Structs.MarkupParseContext: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.MarkupParseContext.MarkupParseContext, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MarkupParseContext.MarkupParseContextRefMethodInfo GI.GLib.Structs.MarkupParseContext.MarkupParseContext signature
- GI.GLib.Structs.MarkupParseContext: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.MarkupParseContext.MarkupParseContext
- GI.GLib.Structs.MarkupParser: instance (info Data.Type.Equality.~ GI.GLib.Structs.MarkupParser.ResolveMarkupParserMethod t GI.GLib.Structs.MarkupParser.MarkupParser, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.MarkupParser.MarkupParser p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.MarkupParser.MarkupParser -> p)
- GI.GLib.Structs.MarkupParser: instance (info Data.Type.Equality.~ GI.GLib.Structs.MarkupParser.ResolveMarkupParserMethod t GI.GLib.Structs.MarkupParser.MarkupParser, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.MarkupParser.MarkupParser p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.MarkupParser.MarkupParser -> p)
- GI.GLib.Structs.MatchInfo: instance (info Data.Type.Equality.~ GI.GLib.Structs.MatchInfo.ResolveMatchInfoMethod t GI.GLib.Structs.MatchInfo.MatchInfo, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.MatchInfo.MatchInfo p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.MatchInfo.MatchInfo -> p)
- GI.GLib.Structs.MatchInfo: instance (info Data.Type.Equality.~ GI.GLib.Structs.MatchInfo.ResolveMatchInfoMethod t GI.GLib.Structs.MatchInfo.MatchInfo, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.MatchInfo.MatchInfo p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.MatchInfo.MatchInfo -> p)
- GI.GLib.Structs.MatchInfo: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m (GHC.Types.Bool, GHC.Int.Int32, GHC.Int.Int32)), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MatchInfo.MatchInfoFetchNamedPosMethodInfo GI.GLib.Structs.MatchInfo.MatchInfo signature
- GI.GLib.Structs.MatchInfo: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m Data.Text.Internal.Text), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MatchInfo.MatchInfoExpandReferencesMethodInfo GI.GLib.Structs.MatchInfo.MatchInfo signature
- GI.GLib.Structs.MatchInfo: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m Data.Text.Internal.Text), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MatchInfo.MatchInfoFetchNamedMethodInfo GI.GLib.Structs.MatchInfo.MatchInfo signature
- GI.GLib.Structs.MatchInfo: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> m (GHC.Types.Bool, GHC.Int.Int32, GHC.Int.Int32)), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MatchInfo.MatchInfoFetchPosMethodInfo GI.GLib.Structs.MatchInfo.MatchInfo signature
- GI.GLib.Structs.MatchInfo: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> m Data.Text.Internal.Text), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MatchInfo.MatchInfoFetchMethodInfo GI.GLib.Structs.MatchInfo.MatchInfo signature
- GI.GLib.Structs.MatchInfo: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MatchInfo.MatchInfoFreeMethodInfo GI.GLib.Structs.MatchInfo.MatchInfo signature
- GI.GLib.Structs.MatchInfo: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MatchInfo.MatchInfoNextMethodInfo GI.GLib.Structs.MatchInfo.MatchInfo signature
- GI.GLib.Structs.MatchInfo: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MatchInfo.MatchInfoUnrefMethodInfo GI.GLib.Structs.MatchInfo.MatchInfo signature
- GI.GLib.Structs.MatchInfo: instance (signature Data.Type.Equality.~ m Data.Text.Internal.Text, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MatchInfo.MatchInfoGetStringMethodInfo GI.GLib.Structs.MatchInfo.MatchInfo signature
- GI.GLib.Structs.MatchInfo: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MatchInfo.MatchInfoGetMatchCountMethodInfo GI.GLib.Structs.MatchInfo.MatchInfo signature
- GI.GLib.Structs.MatchInfo: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MatchInfo.MatchInfoIsPartialMatchMethodInfo GI.GLib.Structs.MatchInfo.MatchInfo signature
- GI.GLib.Structs.MatchInfo: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MatchInfo.MatchInfoMatchesMethodInfo GI.GLib.Structs.MatchInfo.MatchInfo signature
- GI.GLib.Structs.MatchInfo: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.MatchInfo.MatchInfo, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MatchInfo.MatchInfoRefMethodInfo GI.GLib.Structs.MatchInfo.MatchInfo signature
- GI.GLib.Structs.MatchInfo: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.Regex.Regex, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MatchInfo.MatchInfoGetRegexMethodInfo GI.GLib.Structs.MatchInfo.MatchInfo signature
- GI.GLib.Structs.MatchInfo: instance (signature Data.Type.Equality.~ m [Data.Text.Internal.Text], Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.MatchInfo.MatchInfoFetchAllMethodInfo GI.GLib.Structs.MatchInfo.MatchInfo signature
- GI.GLib.Structs.MatchInfo: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.MatchInfo.MatchInfo
- GI.GLib.Structs.MemVTable: instance (info Data.Type.Equality.~ GI.GLib.Structs.MemVTable.ResolveMemVTableMethod t GI.GLib.Structs.MemVTable.MemVTable, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.MemVTable.MemVTable p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.MemVTable.MemVTable -> p)
- GI.GLib.Structs.MemVTable: instance (info Data.Type.Equality.~ GI.GLib.Structs.MemVTable.ResolveMemVTableMethod t GI.GLib.Structs.MemVTable.MemVTable, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.MemVTable.MemVTable p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.MemVTable.MemVTable -> p)
- GI.GLib.Structs.Node: instance (info Data.Type.Equality.~ GI.GLib.Structs.Node.ResolveNodeMethod t GI.GLib.Structs.Node.Node, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Node.Node p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.Node.Node -> p)
- GI.GLib.Structs.Node: instance (info Data.Type.Equality.~ GI.GLib.Structs.Node.ResolveNodeMethod t GI.GLib.Structs.Node.Node, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Node.Node p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.Node.Node -> p)
- GI.GLib.Structs.Node: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m GHC.Int.Int32), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Node.NodeChildIndexMethodInfo GI.GLib.Structs.Node.Node signature
- GI.GLib.Structs.Node: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.Node.Node -> m GHC.Int.Int32), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Node.NodeChildPositionMethodInfo GI.GLib.Structs.Node.Node signature
- GI.GLib.Structs.Node: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.Node.Node -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Node.NodeIsAncestorMethodInfo GI.GLib.Structs.Node.Node signature
- GI.GLib.Structs.Node: instance (signature Data.Type.Equality.~ ([GI.GLib.Flags.TraverseFlags] -> m GHC.Word.Word32), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Node.NodeNNodesMethodInfo GI.GLib.Structs.Node.Node signature
- GI.GLib.Structs.Node: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Node.NodeDestroyMethodInfo GI.GLib.Structs.Node.Node signature
- GI.GLib.Structs.Node: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Node.NodeReverseChildrenMethodInfo GI.GLib.Structs.Node.Node signature
- GI.GLib.Structs.Node: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Node.NodeUnlinkMethodInfo GI.GLib.Structs.Node.Node signature
- GI.GLib.Structs.Node: instance (signature Data.Type.Equality.~ m GHC.Word.Word32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Node.NodeDepthMethodInfo GI.GLib.Structs.Node.Node signature
- GI.GLib.Structs.Node: instance (signature Data.Type.Equality.~ m GHC.Word.Word32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Node.NodeMaxHeightMethodInfo GI.GLib.Structs.Node.Node signature
- GI.GLib.Structs.Node: instance (signature Data.Type.Equality.~ m GHC.Word.Word32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Node.NodeNChildrenMethodInfo GI.GLib.Structs.Node.Node signature
- GI.GLib.Structs.Once: instance (info Data.Type.Equality.~ GI.GLib.Structs.Once.ResolveOnceMethod t GI.GLib.Structs.Once.Once, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Once.Once p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.Once.Once -> p)
- GI.GLib.Structs.Once: instance (info Data.Type.Equality.~ GI.GLib.Structs.Once.ResolveOnceMethod t GI.GLib.Structs.Once.Once, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Once.Once p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.Once.Once -> p)
- GI.GLib.Structs.OptionContext: instance (info Data.Type.Equality.~ GI.GLib.Structs.OptionContext.ResolveOptionContextMethod t GI.GLib.Structs.OptionContext.OptionContext, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.OptionContext.OptionContext p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.OptionContext.OptionContext -> p)
- GI.GLib.Structs.OptionContext: instance (info Data.Type.Equality.~ GI.GLib.Structs.OptionContext.ResolveOptionContextMethod t GI.GLib.Structs.OptionContext.OptionContext, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.OptionContext.OptionContext p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.OptionContext.OptionContext -> p)
- GI.GLib.Structs.OptionContext: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionContext.OptionContextSetTranslationDomainMethodInfo GI.GLib.Structs.OptionContext.OptionContext signature
- GI.GLib.Structs.OptionContext: instance (signature Data.Type.Equality.~ (GHC.Base.Maybe Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionContext.OptionContextSetDescriptionMethodInfo GI.GLib.Structs.OptionContext.OptionContext signature
- GI.GLib.Structs.OptionContext: instance (signature Data.Type.Equality.~ (GHC.Base.Maybe Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionContext.OptionContextSetSummaryMethodInfo GI.GLib.Structs.OptionContext.OptionContext signature
- GI.GLib.Structs.OptionContext: instance (signature Data.Type.Equality.~ (GHC.Base.Maybe GI.GLib.Callbacks.TranslateFunc -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionContext.OptionContextSetTranslateFuncMethodInfo GI.GLib.Structs.OptionContext.OptionContext signature
- GI.GLib.Structs.OptionContext: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr Foreign.C.String.CString -> m (GHC.Ptr.Ptr Foreign.C.String.CString)), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionContext.OptionContextParseStrvMethodInfo GI.GLib.Structs.OptionContext.OptionContext signature
- GI.GLib.Structs.OptionContext: instance (signature Data.Type.Equality.~ (GHC.Types.Bool -> GHC.Base.Maybe GI.GLib.Structs.OptionGroup.OptionGroup -> m Data.Text.Internal.Text), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionContext.OptionContextGetHelpMethodInfo GI.GLib.Structs.OptionContext.OptionContext signature
- GI.GLib.Structs.OptionContext: instance (signature Data.Type.Equality.~ (GHC.Types.Bool -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionContext.OptionContextSetHelpEnabledMethodInfo GI.GLib.Structs.OptionContext.OptionContext signature
- GI.GLib.Structs.OptionContext: instance (signature Data.Type.Equality.~ (GHC.Types.Bool -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionContext.OptionContextSetIgnoreUnknownOptionsMethodInfo GI.GLib.Structs.OptionContext.OptionContext signature
- GI.GLib.Structs.OptionContext: instance (signature Data.Type.Equality.~ (GHC.Types.Bool -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionContext.OptionContextSetStrictPosixMethodInfo GI.GLib.Structs.OptionContext.OptionContext signature
- GI.GLib.Structs.OptionContext: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.OptionEntry.OptionEntry -> GHC.Base.Maybe Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionContext.OptionContextAddMainEntriesMethodInfo GI.GLib.Structs.OptionContext.OptionContext signature
- GI.GLib.Structs.OptionContext: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.OptionGroup.OptionGroup -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionContext.OptionContextAddGroupMethodInfo GI.GLib.Structs.OptionContext.OptionContext signature
- GI.GLib.Structs.OptionContext: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.OptionGroup.OptionGroup -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionContext.OptionContextSetMainGroupMethodInfo GI.GLib.Structs.OptionContext.OptionContext signature
- GI.GLib.Structs.OptionContext: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionContext.OptionContextFreeMethodInfo GI.GLib.Structs.OptionContext.OptionContext signature
- GI.GLib.Structs.OptionContext: instance (signature Data.Type.Equality.~ m Data.Text.Internal.Text, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionContext.OptionContextGetDescriptionMethodInfo GI.GLib.Structs.OptionContext.OptionContext signature
- GI.GLib.Structs.OptionContext: instance (signature Data.Type.Equality.~ m Data.Text.Internal.Text, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionContext.OptionContextGetSummaryMethodInfo GI.GLib.Structs.OptionContext.OptionContext signature
- GI.GLib.Structs.OptionContext: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionContext.OptionContextGetHelpEnabledMethodInfo GI.GLib.Structs.OptionContext.OptionContext signature
- GI.GLib.Structs.OptionContext: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionContext.OptionContextGetIgnoreUnknownOptionsMethodInfo GI.GLib.Structs.OptionContext.OptionContext signature
- GI.GLib.Structs.OptionContext: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionContext.OptionContextGetStrictPosixMethodInfo GI.GLib.Structs.OptionContext.OptionContext signature
- GI.GLib.Structs.OptionContext: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.OptionGroup.OptionGroup, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionContext.OptionContextGetMainGroupMethodInfo GI.GLib.Structs.OptionContext.OptionContext signature
- GI.GLib.Structs.OptionEntry: instance (info Data.Type.Equality.~ GI.GLib.Structs.OptionEntry.ResolveOptionEntryMethod t GI.GLib.Structs.OptionEntry.OptionEntry, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.OptionEntry.OptionEntry p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.OptionEntry.OptionEntry -> p)
- GI.GLib.Structs.OptionEntry: instance (info Data.Type.Equality.~ GI.GLib.Structs.OptionEntry.ResolveOptionEntryMethod t GI.GLib.Structs.OptionEntry.OptionEntry, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.OptionEntry.OptionEntry p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.OptionEntry.OptionEntry -> p)
- GI.GLib.Structs.OptionGroup: instance (info Data.Type.Equality.~ GI.GLib.Structs.OptionGroup.ResolveOptionGroupMethod t GI.GLib.Structs.OptionGroup.OptionGroup, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.OptionGroup.OptionGroup p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.OptionGroup.OptionGroup -> p)
- GI.GLib.Structs.OptionGroup: instance (info Data.Type.Equality.~ GI.GLib.Structs.OptionGroup.ResolveOptionGroupMethod t GI.GLib.Structs.OptionGroup.OptionGroup, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.OptionGroup.OptionGroup p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.OptionGroup.OptionGroup -> p)
- GI.GLib.Structs.OptionGroup: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionGroup.OptionGroupSetTranslationDomainMethodInfo GI.GLib.Structs.OptionGroup.OptionGroup signature
- GI.GLib.Structs.OptionGroup: instance (signature Data.Type.Equality.~ (GHC.Base.Maybe GI.GLib.Callbacks.TranslateFunc -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionGroup.OptionGroupSetTranslateFuncMethodInfo GI.GLib.Structs.OptionGroup.OptionGroup signature
- GI.GLib.Structs.OptionGroup: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.OptionEntry.OptionEntry -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionGroup.OptionGroupAddEntriesMethodInfo GI.GLib.Structs.OptionGroup.OptionGroup signature
- GI.GLib.Structs.OptionGroup: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionGroup.OptionGroupFreeMethodInfo GI.GLib.Structs.OptionGroup.OptionGroup signature
- GI.GLib.Structs.OptionGroup: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionGroup.OptionGroupUnrefMethodInfo GI.GLib.Structs.OptionGroup.OptionGroup signature
- GI.GLib.Structs.OptionGroup: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.OptionGroup.OptionGroup, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.OptionGroup.OptionGroupRefMethodInfo GI.GLib.Structs.OptionGroup.OptionGroup signature
- GI.GLib.Structs.OptionGroup: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.OptionGroup.OptionGroup
- GI.GLib.Structs.PatternSpec: instance (info Data.Type.Equality.~ GI.GLib.Structs.PatternSpec.ResolvePatternSpecMethod t GI.GLib.Structs.PatternSpec.PatternSpec, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.PatternSpec.PatternSpec p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.PatternSpec.PatternSpec -> p)
- GI.GLib.Structs.PatternSpec: instance (info Data.Type.Equality.~ GI.GLib.Structs.PatternSpec.ResolvePatternSpecMethod t GI.GLib.Structs.PatternSpec.PatternSpec, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.PatternSpec.PatternSpec p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.PatternSpec.PatternSpec -> p)
- GI.GLib.Structs.PatternSpec: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.PatternSpec.PatternSpec -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.PatternSpec.PatternSpecEqualMethodInfo GI.GLib.Structs.PatternSpec.PatternSpec signature
- GI.GLib.Structs.PatternSpec: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.PatternSpec.PatternSpecFreeMethodInfo GI.GLib.Structs.PatternSpec.PatternSpec signature
- GI.GLib.Structs.PollFD: instance (info Data.Type.Equality.~ GI.GLib.Structs.PollFD.ResolvePollFDMethod t GI.GLib.Structs.PollFD.PollFD, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.PollFD.PollFD p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.PollFD.PollFD -> p)
- GI.GLib.Structs.PollFD: instance (info Data.Type.Equality.~ GI.GLib.Structs.PollFD.ResolvePollFDMethod t GI.GLib.Structs.PollFD.PollFD, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.PollFD.PollFD p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.PollFD.PollFD -> p)
- GI.GLib.Structs.PollFD: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.PollFD.PollFD
- GI.GLib.Structs.PtrArray: instance (info Data.Type.Equality.~ GI.GLib.Structs.PtrArray.ResolvePtrArrayMethod t GI.GLib.Structs.PtrArray.PtrArray, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.PtrArray.PtrArray p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.PtrArray.PtrArray -> p)
- GI.GLib.Structs.PtrArray: instance (info Data.Type.Equality.~ GI.GLib.Structs.PtrArray.ResolvePtrArrayMethod t GI.GLib.Structs.PtrArray.PtrArray, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.PtrArray.PtrArray p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.PtrArray.PtrArray -> p)
- GI.GLib.Structs.PtrArray: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.PtrArray.PtrArray
- GI.GLib.Structs.Queue: instance (info Data.Type.Equality.~ GI.GLib.Structs.Queue.ResolveQueueMethod t GI.GLib.Structs.Queue.Queue, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Queue.Queue p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.Queue.Queue -> p)
- GI.GLib.Structs.Queue: instance (info Data.Type.Equality.~ GI.GLib.Structs.Queue.ResolveQueueMethod t GI.GLib.Structs.Queue.Queue, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Queue.Queue p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.Queue.Queue -> p)
- GI.GLib.Structs.Queue: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> GHC.Int.Int32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Queue.QueuePushNthMethodInfo GI.GLib.Structs.Queue.Queue signature
- GI.GLib.Structs.Queue: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Queue.QueuePushHeadMethodInfo GI.GLib.Structs.Queue.Queue signature
- GI.GLib.Structs.Queue: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Queue.QueuePushTailMethodInfo GI.GLib.Structs.Queue.Queue signature
- GI.GLib.Structs.Queue: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m GHC.Int.Int32), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Queue.QueueIndexMethodInfo GI.GLib.Structs.Queue.Queue signature
- GI.GLib.Structs.Queue: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Queue.QueueRemoveMethodInfo GI.GLib.Structs.Queue.Queue signature
- GI.GLib.Structs.Queue: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m GHC.Word.Word32), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Queue.QueueRemoveAllMethodInfo GI.GLib.Structs.Queue.Queue signature
- GI.GLib.Structs.Queue: instance (signature Data.Type.Equality.~ (GI.GLib.Callbacks.DestroyNotify -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Queue.QueueFreeFullMethodInfo GI.GLib.Structs.Queue.Queue signature
- GI.GLib.Structs.Queue: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Queue.QueueClearMethodInfo GI.GLib.Structs.Queue.Queue signature
- GI.GLib.Structs.Queue: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Queue.QueueFreeMethodInfo GI.GLib.Structs.Queue.Queue signature
- GI.GLib.Structs.Queue: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Queue.QueueInitMethodInfo GI.GLib.Structs.Queue.Queue signature
- GI.GLib.Structs.Queue: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Queue.QueueReverseMethodInfo GI.GLib.Structs.Queue.Queue signature
- GI.GLib.Structs.Queue: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Queue.QueueIsEmptyMethodInfo GI.GLib.Structs.Queue.Queue signature
- GI.GLib.Structs.Queue: instance (signature Data.Type.Equality.~ m GHC.Word.Word32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Queue.QueueGetLengthMethodInfo GI.GLib.Structs.Queue.Queue signature
- GI.GLib.Structs.RWLock: instance (info Data.Type.Equality.~ GI.GLib.Structs.RWLock.ResolveRWLockMethod t GI.GLib.Structs.RWLock.RWLock, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.RWLock.RWLock p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.RWLock.RWLock -> p)
- GI.GLib.Structs.RWLock: instance (info Data.Type.Equality.~ GI.GLib.Structs.RWLock.ResolveRWLockMethod t GI.GLib.Structs.RWLock.RWLock, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.RWLock.RWLock p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.RWLock.RWLock -> p)
- GI.GLib.Structs.RWLock: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.RWLock.RWLockClearMethodInfo GI.GLib.Structs.RWLock.RWLock signature
- GI.GLib.Structs.RWLock: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.RWLock.RWLockInitMethodInfo GI.GLib.Structs.RWLock.RWLock signature
- GI.GLib.Structs.RWLock: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.RWLock.RWLockReaderLockMethodInfo GI.GLib.Structs.RWLock.RWLock signature
- GI.GLib.Structs.RWLock: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.RWLock.RWLockReaderUnlockMethodInfo GI.GLib.Structs.RWLock.RWLock signature
- GI.GLib.Structs.RWLock: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.RWLock.RWLockWriterLockMethodInfo GI.GLib.Structs.RWLock.RWLock signature
- GI.GLib.Structs.RWLock: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.RWLock.RWLockWriterUnlockMethodInfo GI.GLib.Structs.RWLock.RWLock signature
- GI.GLib.Structs.RWLock: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.RWLock.RWLockReaderTrylockMethodInfo GI.GLib.Structs.RWLock.RWLock signature
- GI.GLib.Structs.RWLock: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.RWLock.RWLockWriterTrylockMethodInfo GI.GLib.Structs.RWLock.RWLock signature
- GI.GLib.Structs.Rand: instance (info Data.Type.Equality.~ GI.GLib.Structs.Rand.ResolveRandMethod t GI.GLib.Structs.Rand.Rand, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Rand.Rand p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.Rand.Rand -> p)
- GI.GLib.Structs.Rand: instance (info Data.Type.Equality.~ GI.GLib.Structs.Rand.ResolveRandMethod t GI.GLib.Structs.Rand.Rand, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Rand.Rand p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.Rand.Rand -> p)
- GI.GLib.Structs.Rand: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> GHC.Int.Int32 -> m GHC.Int.Int32), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Rand.RandIntRangeMethodInfo GI.GLib.Structs.Rand.Rand signature
- GI.GLib.Structs.Rand: instance (signature Data.Type.Equality.~ (GHC.Types.Double -> GHC.Types.Double -> m GHC.Types.Double), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Rand.RandDoubleRangeMethodInfo GI.GLib.Structs.Rand.Rand signature
- GI.GLib.Structs.Rand: instance (signature Data.Type.Equality.~ (GHC.Word.Word32 -> GHC.Word.Word32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Rand.RandSetSeedArrayMethodInfo GI.GLib.Structs.Rand.Rand signature
- GI.GLib.Structs.Rand: instance (signature Data.Type.Equality.~ (GHC.Word.Word32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Rand.RandSetSeedMethodInfo GI.GLib.Structs.Rand.Rand signature
- GI.GLib.Structs.Rand: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Rand.RandFreeMethodInfo GI.GLib.Structs.Rand.Rand signature
- GI.GLib.Structs.Rand: instance (signature Data.Type.Equality.~ m GHC.Types.Double, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Rand.RandDoubleMethodInfo GI.GLib.Structs.Rand.Rand signature
- GI.GLib.Structs.Rand: instance (signature Data.Type.Equality.~ m GHC.Word.Word32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Rand.RandIntMethodInfo GI.GLib.Structs.Rand.Rand signature
- GI.GLib.Structs.RecMutex: instance (info Data.Type.Equality.~ GI.GLib.Structs.RecMutex.ResolveRecMutexMethod t GI.GLib.Structs.RecMutex.RecMutex, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.RecMutex.RecMutex p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.RecMutex.RecMutex -> p)
- GI.GLib.Structs.RecMutex: instance (info Data.Type.Equality.~ GI.GLib.Structs.RecMutex.ResolveRecMutexMethod t GI.GLib.Structs.RecMutex.RecMutex, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.RecMutex.RecMutex p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.RecMutex.RecMutex -> p)
- GI.GLib.Structs.RecMutex: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.RecMutex.RecMutexClearMethodInfo GI.GLib.Structs.RecMutex.RecMutex signature
- GI.GLib.Structs.RecMutex: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.RecMutex.RecMutexInitMethodInfo GI.GLib.Structs.RecMutex.RecMutex signature
- GI.GLib.Structs.RecMutex: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.RecMutex.RecMutexLockMethodInfo GI.GLib.Structs.RecMutex.RecMutex signature
- GI.GLib.Structs.RecMutex: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.RecMutex.RecMutexUnlockMethodInfo GI.GLib.Structs.RecMutex.RecMutex signature
- GI.GLib.Structs.RecMutex: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.RecMutex.RecMutexTrylockMethodInfo GI.GLib.Structs.RecMutex.RecMutex signature
- GI.GLib.Structs.Regex: instance (info Data.Type.Equality.~ GI.GLib.Structs.Regex.ResolveRegexMethod t GI.GLib.Structs.Regex.Regex, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Regex.Regex p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.Regex.Regex -> p)
- GI.GLib.Structs.Regex: instance (info Data.Type.Equality.~ GI.GLib.Structs.Regex.ResolveRegexMethod t GI.GLib.Structs.Regex.Regex, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Regex.Regex p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.Regex.Regex -> p)
- GI.GLib.Structs.Regex: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> [GI.GLib.Flags.RegexMatchFlags] -> m (GHC.Types.Bool, GI.GLib.Structs.MatchInfo.MatchInfo)), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Regex.RegexMatchAllMethodInfo GI.GLib.Structs.Regex.Regex signature
- GI.GLib.Structs.Regex: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> [GI.GLib.Flags.RegexMatchFlags] -> m (GHC.Types.Bool, GI.GLib.Structs.MatchInfo.MatchInfo)), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Regex.RegexMatchMethodInfo GI.GLib.Structs.Regex.Regex signature
- GI.GLib.Structs.Regex: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> [GI.GLib.Flags.RegexMatchFlags] -> m [Data.Text.Internal.Text]), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Regex.RegexSplitMethodInfo GI.GLib.Structs.Regex.Regex signature
- GI.GLib.Structs.Regex: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m GHC.Int.Int32), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Regex.RegexGetStringNumberMethodInfo GI.GLib.Structs.Regex.Regex signature
- GI.GLib.Structs.Regex: instance (signature Data.Type.Equality.~ ([Data.Text.Internal.Text] -> GHC.Int.Int32 -> Data.Text.Internal.Text -> [GI.GLib.Flags.RegexMatchFlags] -> m Data.Text.Internal.Text), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Regex.RegexReplaceLiteralMethodInfo GI.GLib.Structs.Regex.Regex signature
- GI.GLib.Structs.Regex: instance (signature Data.Type.Equality.~ ([Data.Text.Internal.Text] -> GHC.Int.Int32 -> Data.Text.Internal.Text -> [GI.GLib.Flags.RegexMatchFlags] -> m Data.Text.Internal.Text), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Regex.RegexReplaceMethodInfo GI.GLib.Structs.Regex.Regex signature
- GI.GLib.Structs.Regex: instance (signature Data.Type.Equality.~ ([Data.Text.Internal.Text] -> GHC.Int.Int32 -> [GI.GLib.Flags.RegexMatchFlags] -> GHC.Int.Int32 -> m [Data.Text.Internal.Text]), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Regex.RegexSplitFullMethodInfo GI.GLib.Structs.Regex.Regex signature
- GI.GLib.Structs.Regex: instance (signature Data.Type.Equality.~ ([Data.Text.Internal.Text] -> GHC.Int.Int32 -> [GI.GLib.Flags.RegexMatchFlags] -> m GI.GLib.Structs.MatchInfo.MatchInfo), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Regex.RegexMatchAllFullMethodInfo GI.GLib.Structs.Regex.Regex signature
- GI.GLib.Structs.Regex: instance (signature Data.Type.Equality.~ ([Data.Text.Internal.Text] -> GHC.Int.Int32 -> [GI.GLib.Flags.RegexMatchFlags] -> m GI.GLib.Structs.MatchInfo.MatchInfo), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Regex.RegexMatchFullMethodInfo GI.GLib.Structs.Regex.Regex signature
- GI.GLib.Structs.Regex: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Regex.RegexUnrefMethodInfo GI.GLib.Structs.Regex.Regex signature
- GI.GLib.Structs.Regex: instance (signature Data.Type.Equality.~ m Data.Text.Internal.Text, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Regex.RegexGetPatternMethodInfo GI.GLib.Structs.Regex.Regex signature
- GI.GLib.Structs.Regex: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Regex.RegexGetCaptureCountMethodInfo GI.GLib.Structs.Regex.Regex signature
- GI.GLib.Structs.Regex: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Regex.RegexGetMaxBackrefMethodInfo GI.GLib.Structs.Regex.Regex signature
- GI.GLib.Structs.Regex: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Regex.RegexGetMaxLookbehindMethodInfo GI.GLib.Structs.Regex.Regex signature
- GI.GLib.Structs.Regex: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Regex.RegexGetHasCrOrLfMethodInfo GI.GLib.Structs.Regex.Regex signature
- GI.GLib.Structs.Regex: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.Regex.Regex, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Regex.RegexRefMethodInfo GI.GLib.Structs.Regex.Regex signature
- GI.GLib.Structs.Regex: instance (signature Data.Type.Equality.~ m [GI.GLib.Flags.RegexCompileFlags], Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Regex.RegexGetCompileFlagsMethodInfo GI.GLib.Structs.Regex.Regex signature
- GI.GLib.Structs.Regex: instance (signature Data.Type.Equality.~ m [GI.GLib.Flags.RegexMatchFlags], Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Regex.RegexGetMatchFlagsMethodInfo GI.GLib.Structs.Regex.Regex signature
- GI.GLib.Structs.Regex: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.Regex.Regex
- GI.GLib.Structs.Scanner: instance (info Data.Type.Equality.~ GI.GLib.Structs.Scanner.ResolveScannerMethod t GI.GLib.Structs.Scanner.Scanner, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Scanner.Scanner p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.Scanner.Scanner -> p)
- GI.GLib.Structs.Scanner: instance (info Data.Type.Equality.~ GI.GLib.Structs.Scanner.ResolveScannerMethod t GI.GLib.Structs.Scanner.Scanner, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Scanner.Scanner p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.Scanner.Scanner -> p)
- GI.GLib.Structs.Scanner: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> GHC.Word.Word32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Scanner.ScannerInputTextMethodInfo GI.GLib.Structs.Scanner.Scanner signature
- GI.GLib.Structs.Scanner: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Scanner.ScannerInputFileMethodInfo GI.GLib.Structs.Scanner.Scanner signature
- GI.GLib.Structs.Scanner: instance (signature Data.Type.Equality.~ (GHC.Word.Word32 -> Data.Text.Internal.Text -> GHC.Ptr.Ptr () -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Scanner.ScannerScopeAddSymbolMethodInfo GI.GLib.Structs.Scanner.Scanner signature
- GI.GLib.Structs.Scanner: instance (signature Data.Type.Equality.~ (GHC.Word.Word32 -> Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Scanner.ScannerScopeRemoveSymbolMethodInfo GI.GLib.Structs.Scanner.Scanner signature
- GI.GLib.Structs.Scanner: instance (signature Data.Type.Equality.~ (GHC.Word.Word32 -> m GHC.Word.Word32), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Scanner.ScannerSetScopeMethodInfo GI.GLib.Structs.Scanner.Scanner signature
- GI.GLib.Structs.Scanner: instance (signature Data.Type.Equality.~ (GI.GLib.Enums.TokenType -> Data.Text.Internal.Text -> Data.Text.Internal.Text -> Data.Text.Internal.Text -> Data.Text.Internal.Text -> GHC.Int.Int32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Scanner.ScannerUnexpTokenMethodInfo GI.GLib.Structs.Scanner.Scanner signature
- GI.GLib.Structs.Scanner: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Scanner.ScannerDestroyMethodInfo GI.GLib.Structs.Scanner.Scanner signature
- GI.GLib.Structs.Scanner: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Scanner.ScannerSyncFileOffsetMethodInfo GI.GLib.Structs.Scanner.Scanner signature
- GI.GLib.Structs.Scanner: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Scanner.ScannerEofMethodInfo GI.GLib.Structs.Scanner.Scanner signature
- GI.GLib.Structs.Scanner: instance (signature Data.Type.Equality.~ m GHC.Word.Word32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Scanner.ScannerCurLineMethodInfo GI.GLib.Structs.Scanner.Scanner signature
- GI.GLib.Structs.Scanner: instance (signature Data.Type.Equality.~ m GHC.Word.Word32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Scanner.ScannerCurPositionMethodInfo GI.GLib.Structs.Scanner.Scanner signature
- GI.GLib.Structs.Scanner: instance (signature Data.Type.Equality.~ m GI.GLib.Enums.TokenType, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Scanner.ScannerCurTokenMethodInfo GI.GLib.Structs.Scanner.Scanner signature
- GI.GLib.Structs.Scanner: instance (signature Data.Type.Equality.~ m GI.GLib.Enums.TokenType, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Scanner.ScannerGetNextTokenMethodInfo GI.GLib.Structs.Scanner.Scanner signature
- GI.GLib.Structs.Scanner: instance (signature Data.Type.Equality.~ m GI.GLib.Enums.TokenType, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Scanner.ScannerPeekNextTokenMethodInfo GI.GLib.Structs.Scanner.Scanner signature
- GI.GLib.Structs.ScannerConfig: instance (info Data.Type.Equality.~ GI.GLib.Structs.ScannerConfig.ResolveScannerConfigMethod t GI.GLib.Structs.ScannerConfig.ScannerConfig, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.ScannerConfig.ScannerConfig p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.ScannerConfig.ScannerConfig -> p)
- GI.GLib.Structs.ScannerConfig: instance (info Data.Type.Equality.~ GI.GLib.Structs.ScannerConfig.ResolveScannerConfigMethod t GI.GLib.Structs.ScannerConfig.ScannerConfig, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.ScannerConfig.ScannerConfig p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.ScannerConfig.ScannerConfig -> p)
- GI.GLib.Structs.Sequence: instance (info Data.Type.Equality.~ GI.GLib.Structs.Sequence.ResolveSequenceMethod t GI.GLib.Structs.Sequence.Sequence, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Sequence.Sequence p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.Sequence.Sequence -> p)
- GI.GLib.Structs.Sequence: instance (info Data.Type.Equality.~ GI.GLib.Structs.Sequence.ResolveSequenceMethod t GI.GLib.Structs.Sequence.Sequence, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Sequence.Sequence p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.Sequence.Sequence -> p)
- GI.GLib.Structs.Sequence: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Sequence.SequenceFreeMethodInfo GI.GLib.Structs.Sequence.Sequence signature
- GI.GLib.Structs.Sequence: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Sequence.SequenceGetLengthMethodInfo GI.GLib.Structs.Sequence.Sequence signature
- GI.GLib.Structs.SequenceIter: instance (info Data.Type.Equality.~ GI.GLib.Structs.SequenceIter.ResolveSequenceIterMethod t GI.GLib.Structs.SequenceIter.SequenceIter, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.SequenceIter.SequenceIter p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.SequenceIter.SequenceIter -> p)
- GI.GLib.Structs.SequenceIter: instance (info Data.Type.Equality.~ GI.GLib.Structs.SequenceIter.ResolveSequenceIterMethod t GI.GLib.Structs.SequenceIter.SequenceIter, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.SequenceIter.SequenceIter p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.SequenceIter.SequenceIter -> p)
- GI.GLib.Structs.SequenceIter: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.SequenceIter.SequenceIter -> m GHC.Int.Int32), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.SequenceIter.SequenceIterCompareMethodInfo GI.GLib.Structs.SequenceIter.SequenceIter signature
- GI.GLib.Structs.SequenceIter: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.SequenceIter.SequenceIterGetPositionMethodInfo GI.GLib.Structs.SequenceIter.SequenceIter signature
- GI.GLib.Structs.SequenceIter: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.SequenceIter.SequenceIterIsBeginMethodInfo GI.GLib.Structs.SequenceIter.SequenceIter signature
- GI.GLib.Structs.SequenceIter: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.SequenceIter.SequenceIterIsEndMethodInfo GI.GLib.Structs.SequenceIter.SequenceIter signature
- GI.GLib.Structs.Source: instance (info Data.Type.Equality.~ GI.GLib.Structs.Source.ResolveSourceMethod t GI.GLib.Structs.Source.Source, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Source.Source p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.Source.Source -> p)
- GI.GLib.Structs.Source: instance (info Data.Type.Equality.~ GI.GLib.Structs.Source.ResolveSourceMethod t GI.GLib.Structs.Source.Source, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Source.Source p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.Source.Source -> p)
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceSetNameMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ (GHC.Base.Maybe GI.GLib.Structs.MainContext.MainContext -> m GHC.Word.Word32), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceAttachMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceSetPriorityMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ (GHC.Int.Int64 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceSetReadyTimeMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> GI.GLib.Structs.SourceCallbackFuncs.SourceCallbackFuncs -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceSetCallbackIndirectMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> [GI.GLib.Flags.IOCondition] -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceModifyUnixFdMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceRemoveUnixFdMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m [GI.GLib.Flags.IOCondition]), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceQueryUnixFdMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ (GHC.Types.Bool -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceSetCanRecurseMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ (GI.GLib.Callbacks.SourceFunc -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceSetCallbackMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.PollFD.PollFD -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceAddPollMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.PollFD.PollFD -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceRemovePollMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.Source.Source -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceAddChildSourceMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.Source.Source -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceRemoveChildSourceMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.SourceFuncs.SourceFuncs -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceSetFuncsMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.TimeVal.TimeVal -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceGetCurrentTimeMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceDestroyMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceUnrefMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ m Data.Text.Internal.Text, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceGetNameMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceGetPriorityMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ m GHC.Int.Int64, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceGetReadyTimeMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ m GHC.Int.Int64, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceGetTimeMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceGetCanRecurseMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceIsDestroyedMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ m GHC.Word.Word32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceGetIdMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.MainContext.MainContext, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceGetContextMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.Source.Source, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Source.SourceRefMethodInfo GI.GLib.Structs.Source.Source signature
- GI.GLib.Structs.Source: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.Source.Source
- GI.GLib.Structs.SourceCallbackFuncs: instance (info Data.Type.Equality.~ GI.GLib.Structs.SourceCallbackFuncs.ResolveSourceCallbackFuncsMethod t GI.GLib.Structs.SourceCallbackFuncs.SourceCallbackFuncs, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.SourceCallbackFuncs.SourceCallbackFuncs p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.SourceCallbackFuncs.SourceCallbackFuncs -> p)
- GI.GLib.Structs.SourceCallbackFuncs: instance (info Data.Type.Equality.~ GI.GLib.Structs.SourceCallbackFuncs.ResolveSourceCallbackFuncsMethod t GI.GLib.Structs.SourceCallbackFuncs.SourceCallbackFuncs, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.SourceCallbackFuncs.SourceCallbackFuncs p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.SourceCallbackFuncs.SourceCallbackFuncs -> p)
- GI.GLib.Structs.SourceFuncs: instance (info Data.Type.Equality.~ GI.GLib.Structs.SourceFuncs.ResolveSourceFuncsMethod t GI.GLib.Structs.SourceFuncs.SourceFuncs, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.SourceFuncs.SourceFuncs p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.SourceFuncs.SourceFuncs -> p)
- GI.GLib.Structs.SourceFuncs: instance (info Data.Type.Equality.~ GI.GLib.Structs.SourceFuncs.ResolveSourceFuncsMethod t GI.GLib.Structs.SourceFuncs.SourceFuncs, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.SourceFuncs.SourceFuncs p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.SourceFuncs.SourceFuncs -> p)
- GI.GLib.Structs.StatBuf: instance (info Data.Type.Equality.~ GI.GLib.Structs.StatBuf.ResolveStatBufMethod t GI.GLib.Structs.StatBuf.StatBuf, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.StatBuf.StatBuf p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.StatBuf.StatBuf -> p)
- GI.GLib.Structs.StatBuf: instance (info Data.Type.Equality.~ GI.GLib.Structs.StatBuf.ResolveStatBufMethod t GI.GLib.Structs.StatBuf.StatBuf, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.StatBuf.StatBuf p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.StatBuf.StatBuf -> p)
- GI.GLib.Structs.String: instance (info Data.Type.Equality.~ GI.GLib.Structs.String.ResolveStringMethod t GI.GLib.Structs.String.String, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.String.String p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.String.String -> p)
- GI.GLib.Structs.String: instance (info Data.Type.Equality.~ GI.GLib.Structs.String.ResolveStringMethod t GI.GLib.Structs.String.String, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.String.String p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.String.String -> p)
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.Text.Internal.Text -> GHC.Types.Bool -> m GI.GLib.Structs.String.String), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringAppendUriEscapedMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> GHC.Int.Int64 -> m GI.GLib.Structs.String.String), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringAppendLenMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> GHC.Int.Int64 -> m GI.GLib.Structs.String.String), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringPrependLenMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m GI.GLib.Structs.String.String), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringAppendMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m GI.GLib.Structs.String.String), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringAssignMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m GI.GLib.Structs.String.String), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringPrependMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (GHC.Int.Int64 -> Data.Text.Internal.Text -> GHC.Int.Int64 -> m GI.GLib.Structs.String.String), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringInsertLenMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (GHC.Int.Int64 -> Data.Text.Internal.Text -> m GI.GLib.Structs.String.String), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringInsertMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (GHC.Int.Int64 -> GHC.Int.Int64 -> m GI.GLib.Structs.String.String), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringEraseMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (GHC.Int.Int64 -> GHC.Int.Int8 -> m GI.GLib.Structs.String.String), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringInsertCMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (GHC.Int.Int64 -> GHC.Types.Char -> m GI.GLib.Structs.String.String), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringInsertUnicharMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (GHC.Int.Int8 -> m GI.GLib.Structs.String.String), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringAppendCMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (GHC.Int.Int8 -> m GI.GLib.Structs.String.String), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringPrependCMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (GHC.Types.Bool -> m Data.Text.Internal.Text), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringFreeMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (GHC.Types.Char -> m GI.GLib.Structs.String.String), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringAppendUnicharMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (GHC.Types.Char -> m GI.GLib.Structs.String.String), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringPrependUnicharMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (GHC.Word.Word64 -> Data.Text.Internal.Text -> GHC.Int.Int64 -> m GI.GLib.Structs.String.String), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringOverwriteLenMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (GHC.Word.Word64 -> Data.Text.Internal.Text -> m GI.GLib.Structs.String.String), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringOverwriteMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (GHC.Word.Word64 -> m GI.GLib.Structs.String.String), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringSetSizeMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (GHC.Word.Word64 -> m GI.GLib.Structs.String.String), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringTruncateMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.String.String -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringEqualMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ m GHC.Word.Word32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringHashMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.Bytes.Bytes, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringFreeToBytesMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.String.String, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringAsciiDownMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.String.String, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringAsciiUpMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.String.String, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringDownMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.String.String, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.String.StringUpMethodInfo GI.GLib.Structs.String.String signature
- GI.GLib.Structs.String: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.String.String
- GI.GLib.Structs.StringChunk: instance (info Data.Type.Equality.~ GI.GLib.Structs.StringChunk.ResolveStringChunkMethod t GI.GLib.Structs.StringChunk.StringChunk, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.StringChunk.StringChunk p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.StringChunk.StringChunk -> p)
- GI.GLib.Structs.StringChunk: instance (info Data.Type.Equality.~ GI.GLib.Structs.StringChunk.ResolveStringChunkMethod t GI.GLib.Structs.StringChunk.StringChunk, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.StringChunk.StringChunk p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.StringChunk.StringChunk -> p)
- GI.GLib.Structs.StringChunk: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> GHC.Int.Int64 -> m Data.Text.Internal.Text), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.StringChunk.StringChunkInsertLenMethodInfo GI.GLib.Structs.StringChunk.StringChunk signature
- GI.GLib.Structs.StringChunk: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m Data.Text.Internal.Text), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.StringChunk.StringChunkInsertConstMethodInfo GI.GLib.Structs.StringChunk.StringChunk signature
- GI.GLib.Structs.StringChunk: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m Data.Text.Internal.Text), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.StringChunk.StringChunkInsertMethodInfo GI.GLib.Structs.StringChunk.StringChunk signature
- GI.GLib.Structs.StringChunk: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.StringChunk.StringChunkClearMethodInfo GI.GLib.Structs.StringChunk.StringChunk signature
- GI.GLib.Structs.StringChunk: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.StringChunk.StringChunkFreeMethodInfo GI.GLib.Structs.StringChunk.StringChunk signature
- GI.GLib.Structs.TestCase: instance (info Data.Type.Equality.~ GI.GLib.Structs.TestCase.ResolveTestCaseMethod t GI.GLib.Structs.TestCase.TestCase, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.TestCase.TestCase p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.TestCase.TestCase -> p)
- GI.GLib.Structs.TestCase: instance (info Data.Type.Equality.~ GI.GLib.Structs.TestCase.ResolveTestCaseMethod t GI.GLib.Structs.TestCase.TestCase, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.TestCase.TestCase p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.TestCase.TestCase -> p)
- GI.GLib.Structs.TestConfig: instance (info Data.Type.Equality.~ GI.GLib.Structs.TestConfig.ResolveTestConfigMethod t GI.GLib.Structs.TestConfig.TestConfig, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.TestConfig.TestConfig p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.TestConfig.TestConfig -> p)
- GI.GLib.Structs.TestConfig: instance (info Data.Type.Equality.~ GI.GLib.Structs.TestConfig.ResolveTestConfigMethod t GI.GLib.Structs.TestConfig.TestConfig, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.TestConfig.TestConfig p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.TestConfig.TestConfig -> p)
- GI.GLib.Structs.TestLogBuffer: instance (info Data.Type.Equality.~ GI.GLib.Structs.TestLogBuffer.ResolveTestLogBufferMethod t GI.GLib.Structs.TestLogBuffer.TestLogBuffer, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.TestLogBuffer.TestLogBuffer p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.TestLogBuffer.TestLogBuffer -> p)
- GI.GLib.Structs.TestLogBuffer: instance (info Data.Type.Equality.~ GI.GLib.Structs.TestLogBuffer.ResolveTestLogBufferMethod t GI.GLib.Structs.TestLogBuffer.TestLogBuffer, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.TestLogBuffer.TestLogBuffer p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.TestLogBuffer.TestLogBuffer -> p)
- GI.GLib.Structs.TestLogBuffer: instance (signature Data.Type.Equality.~ (GHC.Word.Word32 -> GHC.Word.Word8 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.TestLogBuffer.TestLogBufferPushMethodInfo GI.GLib.Structs.TestLogBuffer.TestLogBuffer signature
- GI.GLib.Structs.TestLogBuffer: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.TestLogBuffer.TestLogBufferFreeMethodInfo GI.GLib.Structs.TestLogBuffer.TestLogBuffer signature
- GI.GLib.Structs.TestLogMsg: instance (info Data.Type.Equality.~ GI.GLib.Structs.TestLogMsg.ResolveTestLogMsgMethod t GI.GLib.Structs.TestLogMsg.TestLogMsg, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.TestLogMsg.TestLogMsg p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.TestLogMsg.TestLogMsg -> p)
- GI.GLib.Structs.TestLogMsg: instance (info Data.Type.Equality.~ GI.GLib.Structs.TestLogMsg.ResolveTestLogMsgMethod t GI.GLib.Structs.TestLogMsg.TestLogMsg, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.TestLogMsg.TestLogMsg p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.TestLogMsg.TestLogMsg -> p)
- GI.GLib.Structs.TestLogMsg: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.TestLogMsg.TestLogMsgFreeMethodInfo GI.GLib.Structs.TestLogMsg.TestLogMsg signature
- GI.GLib.Structs.TestSuite: instance (info Data.Type.Equality.~ GI.GLib.Structs.TestSuite.ResolveTestSuiteMethod t GI.GLib.Structs.TestSuite.TestSuite, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.TestSuite.TestSuite p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.TestSuite.TestSuite -> p)
- GI.GLib.Structs.TestSuite: instance (info Data.Type.Equality.~ GI.GLib.Structs.TestSuite.ResolveTestSuiteMethod t GI.GLib.Structs.TestSuite.TestSuite, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.TestSuite.TestSuite p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.TestSuite.TestSuite -> p)
- GI.GLib.Structs.TestSuite: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.TestCase.TestCase -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.TestSuite.TestSuiteAddMethodInfo GI.GLib.Structs.TestSuite.TestSuite signature
- GI.GLib.Structs.TestSuite: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.TestSuite.TestSuite -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.TestSuite.TestSuiteAddSuiteMethodInfo GI.GLib.Structs.TestSuite.TestSuite signature
- GI.GLib.Structs.Thread: instance (info Data.Type.Equality.~ GI.GLib.Structs.Thread.ResolveThreadMethod t GI.GLib.Structs.Thread.Thread, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Thread.Thread p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.Thread.Thread -> p)
- GI.GLib.Structs.Thread: instance (info Data.Type.Equality.~ GI.GLib.Structs.Thread.ResolveThreadMethod t GI.GLib.Structs.Thread.Thread, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Thread.Thread p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.Thread.Thread -> p)
- GI.GLib.Structs.Thread: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Thread.ThreadUnrefMethodInfo GI.GLib.Structs.Thread.Thread signature
- GI.GLib.Structs.Thread: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.Thread.Thread, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Thread.ThreadRefMethodInfo GI.GLib.Structs.Thread.Thread signature
- GI.GLib.Structs.Thread: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.Thread.Thread
- GI.GLib.Structs.ThreadPool: instance (info Data.Type.Equality.~ GI.GLib.Structs.ThreadPool.ResolveThreadPoolMethod t GI.GLib.Structs.ThreadPool.ThreadPool, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.ThreadPool.ThreadPool p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.ThreadPool.ThreadPool -> p)
- GI.GLib.Structs.ThreadPool: instance (info Data.Type.Equality.~ GI.GLib.Structs.ThreadPool.ResolveThreadPoolMethod t GI.GLib.Structs.ThreadPool.ThreadPool, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.ThreadPool.ThreadPool p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.ThreadPool.ThreadPool -> p)
- GI.GLib.Structs.ThreadPool: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.ThreadPool.ThreadPoolSetMaxThreadsMethodInfo GI.GLib.Structs.ThreadPool.ThreadPool signature
- GI.GLib.Structs.ThreadPool: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.ThreadPool.ThreadPoolPushMethodInfo GI.GLib.Structs.ThreadPool.ThreadPool signature
- GI.GLib.Structs.ThreadPool: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.ThreadPool.ThreadPoolMoveToFrontMethodInfo GI.GLib.Structs.ThreadPool.ThreadPool signature
- GI.GLib.Structs.ThreadPool: instance (signature Data.Type.Equality.~ (GHC.Types.Bool -> GHC.Types.Bool -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.ThreadPool.ThreadPoolFreeMethodInfo GI.GLib.Structs.ThreadPool.ThreadPool signature
- GI.GLib.Structs.ThreadPool: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.ThreadPool.ThreadPoolGetMaxThreadsMethodInfo GI.GLib.Structs.ThreadPool.ThreadPool signature
- GI.GLib.Structs.ThreadPool: instance (signature Data.Type.Equality.~ m GHC.Word.Word32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.ThreadPool.ThreadPoolGetNumThreadsMethodInfo GI.GLib.Structs.ThreadPool.ThreadPool signature
- GI.GLib.Structs.ThreadPool: instance (signature Data.Type.Equality.~ m GHC.Word.Word32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.ThreadPool.ThreadPoolUnprocessedMethodInfo GI.GLib.Structs.ThreadPool.ThreadPool signature
- GI.GLib.Structs.TimeVal: instance (info Data.Type.Equality.~ GI.GLib.Structs.TimeVal.ResolveTimeValMethod t GI.GLib.Structs.TimeVal.TimeVal, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.TimeVal.TimeVal p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.TimeVal.TimeVal -> p)
- GI.GLib.Structs.TimeVal: instance (info Data.Type.Equality.~ GI.GLib.Structs.TimeVal.ResolveTimeValMethod t GI.GLib.Structs.TimeVal.TimeVal, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.TimeVal.TimeVal p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.TimeVal.TimeVal -> p)
- GI.GLib.Structs.TimeVal: instance (signature Data.Type.Equality.~ (GHC.Int.Int64 -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.TimeVal.TimeValAddMethodInfo GI.GLib.Structs.TimeVal.TimeVal signature
- GI.GLib.Structs.TimeVal: instance (signature Data.Type.Equality.~ m Data.Text.Internal.Text, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.TimeVal.TimeValToIso8601MethodInfo GI.GLib.Structs.TimeVal.TimeVal signature
- GI.GLib.Structs.TimeZone: instance (info Data.Type.Equality.~ GI.GLib.Structs.TimeZone.ResolveTimeZoneMethod t GI.GLib.Structs.TimeZone.TimeZone, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.TimeZone.TimeZone p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.TimeZone.TimeZone -> p)
- GI.GLib.Structs.TimeZone: instance (info Data.Type.Equality.~ GI.GLib.Structs.TimeZone.ResolveTimeZoneMethod t GI.GLib.Structs.TimeZone.TimeZone, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.TimeZone.TimeZone p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.TimeZone.TimeZone -> p)
- GI.GLib.Structs.TimeZone: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> m Data.Text.Internal.Text), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.TimeZone.TimeZoneGetAbbreviationMethodInfo GI.GLib.Structs.TimeZone.TimeZone signature
- GI.GLib.Structs.TimeZone: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> m GHC.Int.Int32), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.TimeZone.TimeZoneGetOffsetMethodInfo GI.GLib.Structs.TimeZone.TimeZone signature
- GI.GLib.Structs.TimeZone: instance (signature Data.Type.Equality.~ (GHC.Int.Int32 -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.TimeZone.TimeZoneIsDstMethodInfo GI.GLib.Structs.TimeZone.TimeZone signature
- GI.GLib.Structs.TimeZone: instance (signature Data.Type.Equality.~ (GI.GLib.Enums.TimeType -> GHC.Int.Int64 -> m GHC.Int.Int32), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.TimeZone.TimeZoneAdjustTimeMethodInfo GI.GLib.Structs.TimeZone.TimeZone signature
- GI.GLib.Structs.TimeZone: instance (signature Data.Type.Equality.~ (GI.GLib.Enums.TimeType -> GHC.Int.Int64 -> m GHC.Int.Int32), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.TimeZone.TimeZoneFindIntervalMethodInfo GI.GLib.Structs.TimeZone.TimeZone signature
- GI.GLib.Structs.TimeZone: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.TimeZone.TimeZoneUnrefMethodInfo GI.GLib.Structs.TimeZone.TimeZone signature
- GI.GLib.Structs.TimeZone: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.TimeZone.TimeZone, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.TimeZone.TimeZoneRefMethodInfo GI.GLib.Structs.TimeZone.TimeZone signature
- GI.GLib.Structs.TimeZone: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.TimeZone.TimeZone
- GI.GLib.Structs.Timer: instance (info Data.Type.Equality.~ GI.GLib.Structs.Timer.ResolveTimerMethod t GI.GLib.Structs.Timer.Timer, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Timer.Timer p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.Timer.Timer -> p)
- GI.GLib.Structs.Timer: instance (info Data.Type.Equality.~ GI.GLib.Structs.Timer.ResolveTimerMethod t GI.GLib.Structs.Timer.Timer, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Timer.Timer p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.Timer.Timer -> p)
- GI.GLib.Structs.Timer: instance (signature Data.Type.Equality.~ (GHC.Word.Word64 -> m GHC.Types.Double), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Timer.TimerElapsedMethodInfo GI.GLib.Structs.Timer.Timer signature
- GI.GLib.Structs.Timer: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Timer.TimerContinueMethodInfo GI.GLib.Structs.Timer.Timer signature
- GI.GLib.Structs.Timer: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Timer.TimerDestroyMethodInfo GI.GLib.Structs.Timer.Timer signature
- GI.GLib.Structs.Timer: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Timer.TimerResetMethodInfo GI.GLib.Structs.Timer.Timer signature
- GI.GLib.Structs.Timer: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Timer.TimerStartMethodInfo GI.GLib.Structs.Timer.Timer signature
- GI.GLib.Structs.Timer: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Timer.TimerStopMethodInfo GI.GLib.Structs.Timer.Timer signature
- GI.GLib.Structs.TrashStack: instance (info Data.Type.Equality.~ GI.GLib.Structs.TrashStack.ResolveTrashStackMethod t GI.GLib.Structs.TrashStack.TrashStack, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.TrashStack.TrashStack p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.TrashStack.TrashStack -> p)
- GI.GLib.Structs.TrashStack: instance (info Data.Type.Equality.~ GI.GLib.Structs.TrashStack.ResolveTrashStackMethod t GI.GLib.Structs.TrashStack.TrashStack, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.TrashStack.TrashStack p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.TrashStack.TrashStack -> p)
- GI.GLib.Structs.Tree: instance (info Data.Type.Equality.~ GI.GLib.Structs.Tree.ResolveTreeMethod t GI.GLib.Structs.Tree.Tree, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Tree.Tree p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.Tree.Tree -> p)
- GI.GLib.Structs.Tree: instance (info Data.Type.Equality.~ GI.GLib.Structs.Tree.ResolveTreeMethod t GI.GLib.Structs.Tree.Tree, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.Tree.Tree p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.Tree.Tree -> p)
- GI.GLib.Structs.Tree: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> GHC.Ptr.Ptr () -> GHC.Ptr.Ptr () -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Tree.TreeLookupExtendedMethodInfo GI.GLib.Structs.Tree.Tree signature
- GI.GLib.Structs.Tree: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> GHC.Ptr.Ptr () -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Tree.TreeInsertMethodInfo GI.GLib.Structs.Tree.Tree signature
- GI.GLib.Structs.Tree: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> GHC.Ptr.Ptr () -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Tree.TreeReplaceMethodInfo GI.GLib.Structs.Tree.Tree signature
- GI.GLib.Structs.Tree: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Tree.TreeRemoveMethodInfo GI.GLib.Structs.Tree.Tree signature
- GI.GLib.Structs.Tree: instance (signature Data.Type.Equality.~ (GHC.Ptr.Ptr () -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Tree.TreeStealMethodInfo GI.GLib.Structs.Tree.Tree signature
- GI.GLib.Structs.Tree: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Tree.TreeDestroyMethodInfo GI.GLib.Structs.Tree.Tree signature
- GI.GLib.Structs.Tree: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Tree.TreeUnrefMethodInfo GI.GLib.Structs.Tree.Tree signature
- GI.GLib.Structs.Tree: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Tree.TreeHeightMethodInfo GI.GLib.Structs.Tree.Tree signature
- GI.GLib.Structs.Tree: instance (signature Data.Type.Equality.~ m GHC.Int.Int32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.Tree.TreeNnodesMethodInfo GI.GLib.Structs.Tree.Tree signature
- GI.GLib.Structs.VariantBuilder: instance (info Data.Type.Equality.~ GI.GLib.Structs.VariantBuilder.ResolveVariantBuilderMethod t GI.GLib.Structs.VariantBuilder.VariantBuilder, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.VariantBuilder.VariantBuilder p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.VariantBuilder.VariantBuilder -> p)
- GI.GLib.Structs.VariantBuilder: instance (info Data.Type.Equality.~ GI.GLib.Structs.VariantBuilder.ResolveVariantBuilderMethod t GI.GLib.Structs.VariantBuilder.VariantBuilder, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.VariantBuilder.VariantBuilder p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.VariantBuilder.VariantBuilder -> p)
- GI.GLib.Structs.VariantBuilder: instance (signature Data.Type.Equality.~ (Data.GI.Base.BasicTypes.GVariant -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantBuilder.VariantBuilderAddValueMethodInfo GI.GLib.Structs.VariantBuilder.VariantBuilder signature
- GI.GLib.Structs.VariantBuilder: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.VariantType.VariantType -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantBuilder.VariantBuilderOpenMethodInfo GI.GLib.Structs.VariantBuilder.VariantBuilder signature
- GI.GLib.Structs.VariantBuilder: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantBuilder.VariantBuilderCloseMethodInfo GI.GLib.Structs.VariantBuilder.VariantBuilder signature
- GI.GLib.Structs.VariantBuilder: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantBuilder.VariantBuilderUnrefMethodInfo GI.GLib.Structs.VariantBuilder.VariantBuilder signature
- GI.GLib.Structs.VariantBuilder: instance (signature Data.Type.Equality.~ m Data.GI.Base.BasicTypes.GVariant, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantBuilder.VariantBuilderEndMethodInfo GI.GLib.Structs.VariantBuilder.VariantBuilder signature
- GI.GLib.Structs.VariantBuilder: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.VariantBuilder.VariantBuilder, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantBuilder.VariantBuilderRefMethodInfo GI.GLib.Structs.VariantBuilder.VariantBuilder signature
- GI.GLib.Structs.VariantBuilder: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.VariantBuilder.VariantBuilder
- GI.GLib.Structs.VariantDict: instance (info Data.Type.Equality.~ GI.GLib.Structs.VariantDict.ResolveVariantDictMethod t GI.GLib.Structs.VariantDict.VariantDict, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.VariantDict.VariantDict p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.VariantDict.VariantDict -> p)
- GI.GLib.Structs.VariantDict: instance (info Data.Type.Equality.~ GI.GLib.Structs.VariantDict.ResolveVariantDictMethod t GI.GLib.Structs.VariantDict.VariantDict, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.VariantDict.VariantDict p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.VariantDict.VariantDict -> p)
- GI.GLib.Structs.VariantDict: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> Data.GI.Base.BasicTypes.GVariant -> m ()), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantDict.VariantDictInsertValueMethodInfo GI.GLib.Structs.VariantDict.VariantDict signature
- GI.GLib.Structs.VariantDict: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> GHC.Base.Maybe GI.GLib.Structs.VariantType.VariantType -> m Data.GI.Base.BasicTypes.GVariant), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantDict.VariantDictLookupValueMethodInfo GI.GLib.Structs.VariantDict.VariantDict signature
- GI.GLib.Structs.VariantDict: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantDict.VariantDictContainsMethodInfo GI.GLib.Structs.VariantDict.VariantDict signature
- GI.GLib.Structs.VariantDict: instance (signature Data.Type.Equality.~ (Data.Text.Internal.Text -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantDict.VariantDictRemoveMethodInfo GI.GLib.Structs.VariantDict.VariantDict signature
- GI.GLib.Structs.VariantDict: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantDict.VariantDictClearMethodInfo GI.GLib.Structs.VariantDict.VariantDict signature
- GI.GLib.Structs.VariantDict: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantDict.VariantDictUnrefMethodInfo GI.GLib.Structs.VariantDict.VariantDict signature
- GI.GLib.Structs.VariantDict: instance (signature Data.Type.Equality.~ m Data.GI.Base.BasicTypes.GVariant, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantDict.VariantDictEndMethodInfo GI.GLib.Structs.VariantDict.VariantDict signature
- GI.GLib.Structs.VariantDict: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.VariantDict.VariantDict, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantDict.VariantDictRefMethodInfo GI.GLib.Structs.VariantDict.VariantDict signature
- GI.GLib.Structs.VariantDict: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.VariantDict.VariantDict
- GI.GLib.Structs.VariantType: instance (info Data.Type.Equality.~ GI.GLib.Structs.VariantType.ResolveVariantTypeMethod t GI.GLib.Structs.VariantType.VariantType, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.VariantType.VariantType p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Structs.VariantType.VariantType -> p)
- GI.GLib.Structs.VariantType: instance (info Data.Type.Equality.~ GI.GLib.Structs.VariantType.ResolveVariantTypeMethod t GI.GLib.Structs.VariantType.VariantType, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Structs.VariantType.VariantType p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Structs.VariantType.VariantType -> p)
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.VariantType.VariantType -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeEqualMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ (GI.GLib.Structs.VariantType.VariantType -> m GHC.Types.Bool), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeIsSubtypeOfMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeFreeMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ m Data.Text.Internal.Text, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeDupStringMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeIsArrayMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeIsBasicMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeIsContainerMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeIsDefiniteMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeIsDictEntryMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeIsMaybeMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeIsTupleMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeIsVariantMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ m GHC.Word.Word32, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeHashMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ m GHC.Word.Word64, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeGetStringLengthMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ m GHC.Word.Word64, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeNItemsMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.VariantType.VariantType, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeCopyMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.VariantType.VariantType, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeElementMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.VariantType.VariantType, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeFirstMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.VariantType.VariantType, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeKeyMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.VariantType.VariantType, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeNextMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance (signature Data.Type.Equality.~ m GI.GLib.Structs.VariantType.VariantType, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Structs.VariantType.VariantTypeValueMethodInfo GI.GLib.Structs.VariantType.VariantType signature
- GI.GLib.Structs.VariantType: instance Data.GI.Base.BasicTypes.BoxedObject GI.GLib.Structs.VariantType.VariantType
- GI.GLib.Unions.DoubleIEEE754: instance (info Data.Type.Equality.~ GI.GLib.Unions.DoubleIEEE754.ResolveDoubleIEEE754Method t GI.GLib.Unions.DoubleIEEE754.DoubleIEEE754, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Unions.DoubleIEEE754.DoubleIEEE754 p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Unions.DoubleIEEE754.DoubleIEEE754 -> p)
- GI.GLib.Unions.DoubleIEEE754: instance (info Data.Type.Equality.~ GI.GLib.Unions.DoubleIEEE754.ResolveDoubleIEEE754Method t GI.GLib.Unions.DoubleIEEE754.DoubleIEEE754, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Unions.DoubleIEEE754.DoubleIEEE754 p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Unions.DoubleIEEE754.DoubleIEEE754 -> p)
- GI.GLib.Unions.FloatIEEE754: instance (info Data.Type.Equality.~ GI.GLib.Unions.FloatIEEE754.ResolveFloatIEEE754Method t GI.GLib.Unions.FloatIEEE754.FloatIEEE754, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Unions.FloatIEEE754.FloatIEEE754 p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Unions.FloatIEEE754.FloatIEEE754 -> p)
- GI.GLib.Unions.FloatIEEE754: instance (info Data.Type.Equality.~ GI.GLib.Unions.FloatIEEE754.ResolveFloatIEEE754Method t GI.GLib.Unions.FloatIEEE754.FloatIEEE754, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Unions.FloatIEEE754.FloatIEEE754 p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Unions.FloatIEEE754.FloatIEEE754 -> p)
- GI.GLib.Unions.Mutex: instance (info Data.Type.Equality.~ GI.GLib.Unions.Mutex.ResolveMutexMethod t GI.GLib.Unions.Mutex.Mutex, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Unions.Mutex.Mutex p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Unions.Mutex.Mutex -> p)
- GI.GLib.Unions.Mutex: instance (info Data.Type.Equality.~ GI.GLib.Unions.Mutex.ResolveMutexMethod t GI.GLib.Unions.Mutex.Mutex, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Unions.Mutex.Mutex p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Unions.Mutex.Mutex -> p)
- GI.GLib.Unions.Mutex: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Unions.Mutex.MutexClearMethodInfo GI.GLib.Unions.Mutex.Mutex signature
- GI.GLib.Unions.Mutex: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Unions.Mutex.MutexInitMethodInfo GI.GLib.Unions.Mutex.Mutex signature
- GI.GLib.Unions.Mutex: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Unions.Mutex.MutexLockMethodInfo GI.GLib.Unions.Mutex.Mutex signature
- GI.GLib.Unions.Mutex: instance (signature Data.Type.Equality.~ m (), Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Unions.Mutex.MutexUnlockMethodInfo GI.GLib.Unions.Mutex.Mutex signature
- GI.GLib.Unions.Mutex: instance (signature Data.Type.Equality.~ m GHC.Types.Bool, Control.Monad.IO.Class.MonadIO m) => Data.GI.Base.Overloading.MethodInfo GI.GLib.Unions.Mutex.MutexTrylockMethodInfo GI.GLib.Unions.Mutex.Mutex signature
- GI.GLib.Unions.TokenValue: instance (info Data.Type.Equality.~ GI.GLib.Unions.TokenValue.ResolveTokenValueMethod t GI.GLib.Unions.TokenValue.TokenValue, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Unions.TokenValue.TokenValue p) => Data.GI.Base.Overloading.IsLabelProxy t (GI.GLib.Unions.TokenValue.TokenValue -> p)
- GI.GLib.Unions.TokenValue: instance (info Data.Type.Equality.~ GI.GLib.Unions.TokenValue.ResolveTokenValueMethod t GI.GLib.Unions.TokenValue.TokenValue, Data.GI.Base.Overloading.MethodInfo info GI.GLib.Unions.TokenValue.TokenValue p) => GHC.OverloadedLabels.IsLabel t (GI.GLib.Unions.TokenValue.TokenValue -> p)
+ GI.GLib.Enums: instance Enum BookmarkFileError
+ GI.GLib.Enums: instance Enum ChecksumType
+ GI.GLib.Enums: instance Enum ConvertError
+ GI.GLib.Enums: instance Enum DateDMY
+ GI.GLib.Enums: instance Enum DateMonth
+ GI.GLib.Enums: instance Enum DateWeekday
+ GI.GLib.Enums: instance Enum ErrorType
+ GI.GLib.Enums: instance Enum FileError
+ GI.GLib.Enums: instance Enum IOChannelError
+ GI.GLib.Enums: instance Enum IOError
+ GI.GLib.Enums: instance Enum IOStatus
+ GI.GLib.Enums: instance Enum KeyFileError
+ GI.GLib.Enums: instance Enum MarkupError
+ GI.GLib.Enums: instance Enum NormalizeMode
+ GI.GLib.Enums: instance Enum OnceStatus
+ GI.GLib.Enums: instance Enum OptionArg
+ GI.GLib.Enums: instance Enum OptionError
+ GI.GLib.Enums: instance Enum RegexError
+ GI.GLib.Enums: instance Enum SeekType
+ GI.GLib.Enums: instance Enum ShellError
+ GI.GLib.Enums: instance Enum SliceConfig
+ GI.GLib.Enums: instance Enum SpawnError
+ GI.GLib.Enums: instance Enum TestFileType
+ GI.GLib.Enums: instance Enum TestLogType
+ GI.GLib.Enums: instance Enum ThreadError
+ GI.GLib.Enums: instance Enum TimeType
+ GI.GLib.Enums: instance Enum TokenType
+ GI.GLib.Enums: instance Enum TraverseType
+ GI.GLib.Enums: instance Enum UnicodeBreakType
+ GI.GLib.Enums: instance Enum UnicodeScript
+ GI.GLib.Enums: instance Enum UnicodeType
+ GI.GLib.Enums: instance Enum UserDirectory
+ GI.GLib.Enums: instance Enum VariantClass
+ GI.GLib.Enums: instance Enum VariantParseError
+ GI.GLib.Enums: instance Eq BookmarkFileError
+ GI.GLib.Enums: instance Eq ChecksumType
+ GI.GLib.Enums: instance Eq ConvertError
+ GI.GLib.Enums: instance Eq DateDMY
+ GI.GLib.Enums: instance Eq DateMonth
+ GI.GLib.Enums: instance Eq DateWeekday
+ GI.GLib.Enums: instance Eq ErrorType
+ GI.GLib.Enums: instance Eq FileError
+ GI.GLib.Enums: instance Eq IOChannelError
+ GI.GLib.Enums: instance Eq IOError
+ GI.GLib.Enums: instance Eq IOStatus
+ GI.GLib.Enums: instance Eq KeyFileError
+ GI.GLib.Enums: instance Eq MarkupError
+ GI.GLib.Enums: instance Eq NormalizeMode
+ GI.GLib.Enums: instance Eq OnceStatus
+ GI.GLib.Enums: instance Eq OptionArg
+ GI.GLib.Enums: instance Eq OptionError
+ GI.GLib.Enums: instance Eq RegexError
+ GI.GLib.Enums: instance Eq SeekType
+ GI.GLib.Enums: instance Eq ShellError
+ GI.GLib.Enums: instance Eq SliceConfig
+ GI.GLib.Enums: instance Eq SpawnError
+ GI.GLib.Enums: instance Eq TestFileType
+ GI.GLib.Enums: instance Eq TestLogType
+ GI.GLib.Enums: instance Eq ThreadError
+ GI.GLib.Enums: instance Eq TimeType
+ GI.GLib.Enums: instance Eq TokenType
+ GI.GLib.Enums: instance Eq TraverseType
+ GI.GLib.Enums: instance Eq UnicodeBreakType
+ GI.GLib.Enums: instance Eq UnicodeScript
+ GI.GLib.Enums: instance Eq UnicodeType
+ GI.GLib.Enums: instance Eq UserDirectory
+ GI.GLib.Enums: instance Eq VariantClass
+ GI.GLib.Enums: instance Eq VariantParseError
+ GI.GLib.Enums: instance GErrorClass BookmarkFileError
+ GI.GLib.Enums: instance GErrorClass ConvertError
+ GI.GLib.Enums: instance GErrorClass FileError
+ GI.GLib.Enums: instance GErrorClass IOChannelError
+ GI.GLib.Enums: instance GErrorClass KeyFileError
+ GI.GLib.Enums: instance GErrorClass MarkupError
+ GI.GLib.Enums: instance GErrorClass OptionError
+ GI.GLib.Enums: instance GErrorClass RegexError
+ GI.GLib.Enums: instance GErrorClass ShellError
+ GI.GLib.Enums: instance GErrorClass SpawnError
+ GI.GLib.Enums: instance GErrorClass ThreadError
+ GI.GLib.Enums: instance GErrorClass VariantParseError
+ GI.GLib.Enums: instance Show BookmarkFileError
+ GI.GLib.Enums: instance Show ChecksumType
+ GI.GLib.Enums: instance Show ConvertError
+ GI.GLib.Enums: instance Show DateDMY
+ GI.GLib.Enums: instance Show DateMonth
+ GI.GLib.Enums: instance Show DateWeekday
+ GI.GLib.Enums: instance Show ErrorType
+ GI.GLib.Enums: instance Show FileError
+ GI.GLib.Enums: instance Show IOChannelError
+ GI.GLib.Enums: instance Show IOError
+ GI.GLib.Enums: instance Show IOStatus
+ GI.GLib.Enums: instance Show KeyFileError
+ GI.GLib.Enums: instance Show MarkupError
+ GI.GLib.Enums: instance Show NormalizeMode
+ GI.GLib.Enums: instance Show OnceStatus
+ GI.GLib.Enums: instance Show OptionArg
+ GI.GLib.Enums: instance Show OptionError
+ GI.GLib.Enums: instance Show RegexError
+ GI.GLib.Enums: instance Show SeekType
+ GI.GLib.Enums: instance Show ShellError
+ GI.GLib.Enums: instance Show SliceConfig
+ GI.GLib.Enums: instance Show SpawnError
+ GI.GLib.Enums: instance Show TestFileType
+ GI.GLib.Enums: instance Show TestLogType
+ GI.GLib.Enums: instance Show ThreadError
+ GI.GLib.Enums: instance Show TimeType
+ GI.GLib.Enums: instance Show TokenType
+ GI.GLib.Enums: instance Show TraverseType
+ GI.GLib.Enums: instance Show UnicodeBreakType
+ GI.GLib.Enums: instance Show UnicodeScript
+ GI.GLib.Enums: instance Show UnicodeType
+ GI.GLib.Enums: instance Show UserDirectory
+ GI.GLib.Enums: instance Show VariantClass
+ GI.GLib.Enums: instance Show VariantParseError
+ GI.GLib.Flags: instance BoxedFlags IOCondition
+ GI.GLib.Flags: instance Enum AsciiType
+ GI.GLib.Flags: instance Enum FileTest
+ GI.GLib.Flags: instance Enum FormatSizeFlags
+ GI.GLib.Flags: instance Enum HookFlagMask
+ GI.GLib.Flags: instance Enum IOCondition
+ GI.GLib.Flags: instance Enum IOFlags
+ GI.GLib.Flags: instance Enum KeyFileFlags
+ GI.GLib.Flags: instance Enum LogLevelFlags
+ GI.GLib.Flags: instance Enum MarkupCollectType
+ GI.GLib.Flags: instance Enum MarkupParseFlags
+ GI.GLib.Flags: instance Enum OptionFlags
+ GI.GLib.Flags: instance Enum RegexCompileFlags
+ GI.GLib.Flags: instance Enum RegexMatchFlags
+ GI.GLib.Flags: instance Enum SpawnFlags
+ GI.GLib.Flags: instance Enum TestSubprocessFlags
+ GI.GLib.Flags: instance Enum TestTrapFlags
+ GI.GLib.Flags: instance Enum TraverseFlags
+ GI.GLib.Flags: instance Eq AsciiType
+ GI.GLib.Flags: instance Eq FileTest
+ GI.GLib.Flags: instance Eq FormatSizeFlags
+ GI.GLib.Flags: instance Eq HookFlagMask
+ GI.GLib.Flags: instance Eq IOCondition
+ GI.GLib.Flags: instance Eq IOFlags
+ GI.GLib.Flags: instance Eq KeyFileFlags
+ GI.GLib.Flags: instance Eq LogLevelFlags
+ GI.GLib.Flags: instance Eq MarkupCollectType
+ GI.GLib.Flags: instance Eq MarkupParseFlags
+ GI.GLib.Flags: instance Eq OptionFlags
+ GI.GLib.Flags: instance Eq RegexCompileFlags
+ GI.GLib.Flags: instance Eq RegexMatchFlags
+ GI.GLib.Flags: instance Eq SpawnFlags
+ GI.GLib.Flags: instance Eq TestSubprocessFlags
+ GI.GLib.Flags: instance Eq TestTrapFlags
+ GI.GLib.Flags: instance Eq TraverseFlags
+ GI.GLib.Flags: instance IsGFlag AsciiType
+ GI.GLib.Flags: instance IsGFlag FileTest
+ GI.GLib.Flags: instance IsGFlag FormatSizeFlags
+ GI.GLib.Flags: instance IsGFlag HookFlagMask
+ GI.GLib.Flags: instance IsGFlag IOCondition
+ GI.GLib.Flags: instance IsGFlag IOFlags
+ GI.GLib.Flags: instance IsGFlag KeyFileFlags
+ GI.GLib.Flags: instance IsGFlag LogLevelFlags
+ GI.GLib.Flags: instance IsGFlag MarkupCollectType
+ GI.GLib.Flags: instance IsGFlag MarkupParseFlags
+ GI.GLib.Flags: instance IsGFlag OptionFlags
+ GI.GLib.Flags: instance IsGFlag RegexCompileFlags
+ GI.GLib.Flags: instance IsGFlag RegexMatchFlags
+ GI.GLib.Flags: instance IsGFlag SpawnFlags
+ GI.GLib.Flags: instance IsGFlag TestSubprocessFlags
+ GI.GLib.Flags: instance IsGFlag TestTrapFlags
+ GI.GLib.Flags: instance IsGFlag TraverseFlags
+ GI.GLib.Flags: instance Show AsciiType
+ GI.GLib.Flags: instance Show FileTest
+ GI.GLib.Flags: instance Show FormatSizeFlags
+ GI.GLib.Flags: instance Show HookFlagMask
+ GI.GLib.Flags: instance Show IOCondition
+ GI.GLib.Flags: instance Show IOFlags
+ GI.GLib.Flags: instance Show KeyFileFlags
+ GI.GLib.Flags: instance Show LogLevelFlags
+ GI.GLib.Flags: instance Show MarkupCollectType
+ GI.GLib.Flags: instance Show MarkupParseFlags
+ GI.GLib.Flags: instance Show OptionFlags
+ GI.GLib.Flags: instance Show RegexCompileFlags
+ GI.GLib.Flags: instance Show RegexMatchFlags
+ GI.GLib.Flags: instance Show SpawnFlags
+ GI.GLib.Flags: instance Show TestSubprocessFlags
+ GI.GLib.Flags: instance Show TestTrapFlags
+ GI.GLib.Flags: instance Show TraverseFlags
+ GI.GLib.Structs.AsyncQueue: instance (info ~ ResolveAsyncQueueMethod t AsyncQueue, MethodInfo info AsyncQueue p) => IsLabelProxy t (AsyncQueue -> p)
+ GI.GLib.Structs.AsyncQueue: instance (signature ~ (Ptr () -> m ()), MonadIO m) => MethodInfo AsyncQueuePushFrontMethodInfo AsyncQueue signature
+ GI.GLib.Structs.AsyncQueue: instance (signature ~ (Ptr () -> m ()), MonadIO m) => MethodInfo AsyncQueuePushFrontUnlockedMethodInfo AsyncQueue signature
+ GI.GLib.Structs.AsyncQueue: instance (signature ~ (Ptr () -> m ()), MonadIO m) => MethodInfo AsyncQueuePushMethodInfo AsyncQueue signature
+ GI.GLib.Structs.AsyncQueue: instance (signature ~ (Ptr () -> m ()), MonadIO m) => MethodInfo AsyncQueuePushUnlockedMethodInfo AsyncQueue signature
+ GI.GLib.Structs.AsyncQueue: instance (signature ~ (Ptr () -> m Bool), MonadIO m) => MethodInfo AsyncQueueRemoveMethodInfo AsyncQueue signature
+ GI.GLib.Structs.AsyncQueue: instance (signature ~ (Ptr () -> m Bool), MonadIO m) => MethodInfo AsyncQueueRemoveUnlockedMethodInfo AsyncQueue signature
+ GI.GLib.Structs.AsyncQueue: instance (signature ~ m (), MonadIO m) => MethodInfo AsyncQueueLockMethodInfo AsyncQueue signature
+ GI.GLib.Structs.AsyncQueue: instance (signature ~ m (), MonadIO m) => MethodInfo AsyncQueueRefUnlockedMethodInfo AsyncQueue signature
+ GI.GLib.Structs.AsyncQueue: instance (signature ~ m (), MonadIO m) => MethodInfo AsyncQueueUnlockMethodInfo AsyncQueue signature
+ GI.GLib.Structs.AsyncQueue: instance (signature ~ m (), MonadIO m) => MethodInfo AsyncQueueUnrefAndUnlockMethodInfo AsyncQueue signature
+ GI.GLib.Structs.AsyncQueue: instance (signature ~ m (), MonadIO m) => MethodInfo AsyncQueueUnrefMethodInfo AsyncQueue signature
+ GI.GLib.Structs.AsyncQueue: instance (signature ~ m Int32, MonadIO m) => MethodInfo AsyncQueueLengthMethodInfo AsyncQueue signature
+ GI.GLib.Structs.AsyncQueue: instance (signature ~ m Int32, MonadIO m) => MethodInfo AsyncQueueLengthUnlockedMethodInfo AsyncQueue signature
+ GI.GLib.Structs.BookmarkFile: instance (info ~ ResolveBookmarkFileMethod t BookmarkFile, MethodInfo info BookmarkFile p) => IsLabelProxy t (BookmarkFile -> p)
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Maybe Text -> Text -> m ()), MonadIO m) => MethodInfo BookmarkFileSetDescriptionMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Maybe Text -> Text -> m ()), MonadIO m) => MethodInfo BookmarkFileSetTitleMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Maybe Text -> m Text), MonadIO m) => MethodInfo BookmarkFileGetTitleMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> Bool -> m ()), MonadIO m) => MethodInfo BookmarkFileSetIsPrivateMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> CLong -> m ()), MonadIO m) => MethodInfo BookmarkFileSetAddedMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> CLong -> m ()), MonadIO m) => MethodInfo BookmarkFileSetModifiedMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> CLong -> m ()), MonadIO m) => MethodInfo BookmarkFileSetVisitedMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> Maybe Text -> Maybe Text -> m ()), MonadIO m) => MethodInfo BookmarkFileAddApplicationMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> Maybe Text -> Text -> m ()), MonadIO m) => MethodInfo BookmarkFileSetIconMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> Maybe Text -> Word64 -> m ()), MonadIO m) => MethodInfo BookmarkFileSetGroupsMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> Maybe Text -> m ()), MonadIO m) => MethodInfo BookmarkFileLoadFromDataDirsMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> Maybe Text -> m ()), MonadIO m) => MethodInfo BookmarkFileMoveItemMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> Text -> Text -> Int32 -> CLong -> m ()), MonadIO m) => MethodInfo BookmarkFileSetAppInfoMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> Text -> m ()), MonadIO m) => MethodInfo BookmarkFileAddGroupMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> Text -> m ()), MonadIO m) => MethodInfo BookmarkFileHasApplicationMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> Text -> m ()), MonadIO m) => MethodInfo BookmarkFileHasGroupMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> Text -> m ()), MonadIO m) => MethodInfo BookmarkFileRemoveApplicationMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> Text -> m ()), MonadIO m) => MethodInfo BookmarkFileRemoveGroupMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> Text -> m ()), MonadIO m) => MethodInfo BookmarkFileSetMimeTypeMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> Text -> m (Text, Word32, CLong)), MonadIO m) => MethodInfo BookmarkFileGetAppInfoMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> Word64 -> m ()), MonadIO m) => MethodInfo BookmarkFileLoadFromDataMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> m ()), MonadIO m) => MethodInfo BookmarkFileGetIsPrivateMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> m ()), MonadIO m) => MethodInfo BookmarkFileLoadFromFileMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> m ()), MonadIO m) => MethodInfo BookmarkFileRemoveItemMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> m ()), MonadIO m) => MethodInfo BookmarkFileToFileMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> m (Text, Text)), MonadIO m) => MethodInfo BookmarkFileGetIconMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> m Bool), MonadIO m) => MethodInfo BookmarkFileHasItemMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> m CLong), MonadIO m) => MethodInfo BookmarkFileGetAddedMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> m CLong), MonadIO m) => MethodInfo BookmarkFileGetModifiedMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> m CLong), MonadIO m) => MethodInfo BookmarkFileGetVisitedMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> m Text), MonadIO m) => MethodInfo BookmarkFileGetDescriptionMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> m Text), MonadIO m) => MethodInfo BookmarkFileGetMimeTypeMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> m [Text]), MonadIO m) => MethodInfo BookmarkFileGetApplicationsMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ (Text -> m [Text]), MonadIO m) => MethodInfo BookmarkFileGetGroupsMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ m (), MonadIO m) => MethodInfo BookmarkFileFreeMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ m (Text, Word64), MonadIO m) => MethodInfo BookmarkFileToDataMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ m Int32, MonadIO m) => MethodInfo BookmarkFileGetSizeMethodInfo BookmarkFile signature
+ GI.GLib.Structs.BookmarkFile: instance (signature ~ m [Text], MonadIO m) => MethodInfo BookmarkFileGetUrisMethodInfo BookmarkFile signature
+ GI.GLib.Structs.ByteArray: byteArrayData :: AttrLabelProxy "data"
+ GI.GLib.Structs.ByteArray: byteArrayLen :: AttrLabelProxy "len"
+ GI.GLib.Structs.ByteArray: byteArrayWriteData :: MonadIO m => ByteArray -> Word8 -> m ()
+ GI.GLib.Structs.ByteArray: byteArrayWriteLen :: MonadIO m => ByteArray -> Word32 -> m ()
+ GI.GLib.Structs.ByteArray: instance (info ~ ResolveByteArrayMethod t ByteArray, MethodInfo info ByteArray p) => IsLabelProxy t (ByteArray -> p)
+ GI.GLib.Structs.ByteArray: instance AttrInfo ByteArrayDataFieldInfo
+ GI.GLib.Structs.ByteArray: instance AttrInfo ByteArrayLenFieldInfo
+ GI.GLib.Structs.ByteArray: instance BoxedObject ByteArray
+ GI.GLib.Structs.ByteArray: instance tag ~ 'AttrSet => Constructible ByteArray tag
+ GI.GLib.Structs.Bytes: instance (info ~ ResolveBytesMethod t Bytes, MethodInfo info Bytes p) => IsLabelProxy t (Bytes -> p)
+ GI.GLib.Structs.Bytes: instance (signature ~ (Bytes -> m Bool), MonadIO m) => MethodInfo BytesEqualMethodInfo Bytes signature
+ GI.GLib.Structs.Bytes: instance (signature ~ (Bytes -> m Int32), MonadIO m) => MethodInfo BytesCompareMethodInfo Bytes signature
+ GI.GLib.Structs.Bytes: instance (signature ~ (Word64 -> Word64 -> m Bytes), MonadIO m) => MethodInfo BytesNewFromBytesMethodInfo Bytes signature
+ GI.GLib.Structs.Bytes: instance (signature ~ (Word64 -> m (Ptr ())), MonadIO m) => MethodInfo BytesUnrefToDataMethodInfo Bytes signature
+ GI.GLib.Structs.Bytes: instance (signature ~ m (), MonadIO m) => MethodInfo BytesUnrefMethodInfo Bytes signature
+ GI.GLib.Structs.Bytes: instance (signature ~ m ByteString, MonadIO m) => MethodInfo BytesGetDataMethodInfo Bytes signature
+ GI.GLib.Structs.Bytes: instance (signature ~ m ByteString, MonadIO m) => MethodInfo BytesUnrefToArrayMethodInfo Bytes signature
+ GI.GLib.Structs.Bytes: instance (signature ~ m Bytes, MonadIO m) => MethodInfo BytesRefMethodInfo Bytes signature
+ GI.GLib.Structs.Bytes: instance (signature ~ m Word32, MonadIO m) => MethodInfo BytesHashMethodInfo Bytes signature
+ GI.GLib.Structs.Bytes: instance (signature ~ m Word64, MonadIO m) => MethodInfo BytesGetSizeMethodInfo Bytes signature
+ GI.GLib.Structs.Bytes: instance BoxedObject Bytes
+ GI.GLib.Structs.Checksum: instance (info ~ ResolveChecksumMethod t Checksum, MethodInfo info Checksum p) => IsLabelProxy t (Checksum -> p)
+ GI.GLib.Structs.Checksum: instance (signature ~ (ByteString -> m ()), MonadIO m) => MethodInfo ChecksumUpdateMethodInfo Checksum signature
+ GI.GLib.Structs.Checksum: instance (signature ~ m (), MonadIO m) => MethodInfo ChecksumFreeMethodInfo Checksum signature
+ GI.GLib.Structs.Checksum: instance (signature ~ m (), MonadIO m) => MethodInfo ChecksumResetMethodInfo Checksum signature
+ GI.GLib.Structs.Checksum: instance (signature ~ m Checksum, MonadIO m) => MethodInfo ChecksumCopyMethodInfo Checksum signature
+ GI.GLib.Structs.Checksum: instance (signature ~ m Text, MonadIO m) => MethodInfo ChecksumGetStringMethodInfo Checksum signature
+ GI.GLib.Structs.Checksum: instance BoxedObject Checksum
+ GI.GLib.Structs.Cond: instance (info ~ ResolveCondMethod t Cond, MethodInfo info Cond p) => IsLabelProxy t (Cond -> p)
+ GI.GLib.Structs.Cond: instance (signature ~ (Mutex -> Int64 -> m Bool), MonadIO m) => MethodInfo CondWaitUntilMethodInfo Cond signature
+ GI.GLib.Structs.Cond: instance (signature ~ (Mutex -> m ()), MonadIO m) => MethodInfo CondWaitMethodInfo Cond signature
+ GI.GLib.Structs.Cond: instance (signature ~ m (), MonadIO m) => MethodInfo CondBroadcastMethodInfo Cond signature
+ GI.GLib.Structs.Cond: instance (signature ~ m (), MonadIO m) => MethodInfo CondClearMethodInfo Cond signature
+ GI.GLib.Structs.Cond: instance (signature ~ m (), MonadIO m) => MethodInfo CondInitMethodInfo Cond signature
+ GI.GLib.Structs.Cond: instance (signature ~ m (), MonadIO m) => MethodInfo CondSignalMethodInfo Cond signature
+ GI.GLib.Structs.Cond: instance tag ~ 'AttrSet => Constructible Cond tag
+ GI.GLib.Structs.Data: instance (info ~ ResolveDataMethod t Data, MethodInfo info Data p) => IsLabelProxy t (Data -> p)
+ GI.GLib.Structs.Date: dateDay :: AttrLabelProxy "day"
+ GI.GLib.Structs.Date: dateDmy :: AttrLabelProxy "dmy"
+ GI.GLib.Structs.Date: dateJulian :: AttrLabelProxy "julian"
+ GI.GLib.Structs.Date: dateJulianDays :: AttrLabelProxy "julianDays"
+ GI.GLib.Structs.Date: dateMonth :: AttrLabelProxy "month"
+ GI.GLib.Structs.Date: dateWriteDay :: MonadIO m => Date -> Word32 -> m ()
+ GI.GLib.Structs.Date: dateWriteDmy :: MonadIO m => Date -> Word32 -> m ()
+ GI.GLib.Structs.Date: dateWriteJulian :: MonadIO m => Date -> Word32 -> m ()
+ GI.GLib.Structs.Date: dateWriteJulianDays :: MonadIO m => Date -> Word32 -> m ()
+ GI.GLib.Structs.Date: dateWriteMonth :: MonadIO m => Date -> Word32 -> m ()
+ GI.GLib.Structs.Date: dateWriteYear :: MonadIO m => Date -> Word32 -> m ()
+ GI.GLib.Structs.Date: dateYear :: AttrLabelProxy "year"
+ GI.GLib.Structs.Date: instance (info ~ ResolveDateMethod t Date, MethodInfo info Date p) => IsLabelProxy t (Date -> p)
+ GI.GLib.Structs.Date: instance (signature ~ (CLong -> m ()), MonadIO m) => MethodInfo DateSetTimeTMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ (Date -> Date -> m ()), MonadIO m) => MethodInfo DateClampMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ (Date -> m ()), MonadIO m) => MethodInfo DateOrderMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ (Date -> m Int32), MonadIO m) => MethodInfo DateCompareMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ (Date -> m Int32), MonadIO m) => MethodInfo DateDaysBetweenMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ (DateMonth -> m ()), MonadIO m) => MethodInfo DateSetMonthMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ (Int32 -> m ()), MonadIO m) => MethodInfo DateSetTimeMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ (Ptr () -> m ()), MonadIO m) => MethodInfo DateToStructTmMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ (Text -> m ()), MonadIO m) => MethodInfo DateSetParseMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ (TimeVal -> m ()), MonadIO m) => MethodInfo DateSetTimeValMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ (Word16 -> m ()), MonadIO m) => MethodInfo DateSetYearMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ (Word32 -> m ()), MonadIO m) => MethodInfo DateAddDaysMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ (Word32 -> m ()), MonadIO m) => MethodInfo DateAddMonthsMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ (Word32 -> m ()), MonadIO m) => MethodInfo DateAddYearsMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ (Word32 -> m ()), MonadIO m) => MethodInfo DateClearMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ (Word32 -> m ()), MonadIO m) => MethodInfo DateSetJulianMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ (Word32 -> m ()), MonadIO m) => MethodInfo DateSubtractDaysMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ (Word32 -> m ()), MonadIO m) => MethodInfo DateSubtractMonthsMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ (Word32 -> m ()), MonadIO m) => MethodInfo DateSubtractYearsMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ (Word8 -> DateMonth -> Word16 -> m ()), MonadIO m) => MethodInfo DateSetDmyMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ (Word8 -> m ()), MonadIO m) => MethodInfo DateSetDayMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ m (), MonadIO m) => MethodInfo DateFreeMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ m Bool, MonadIO m) => MethodInfo DateIsFirstOfMonthMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ m Bool, MonadIO m) => MethodInfo DateIsLastOfMonthMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ m Bool, MonadIO m) => MethodInfo DateValidMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ m DateMonth, MonadIO m) => MethodInfo DateGetMonthMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ m DateWeekday, MonadIO m) => MethodInfo DateGetWeekdayMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ m Word16, MonadIO m) => MethodInfo DateGetYearMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ m Word32, MonadIO m) => MethodInfo DateGetDayOfYearMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ m Word32, MonadIO m) => MethodInfo DateGetIso8601WeekOfYearMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ m Word32, MonadIO m) => MethodInfo DateGetJulianMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ m Word32, MonadIO m) => MethodInfo DateGetMondayWeekOfYearMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ m Word32, MonadIO m) => MethodInfo DateGetSundayWeekOfYearMethodInfo Date signature
+ GI.GLib.Structs.Date: instance (signature ~ m Word8, MonadIO m) => MethodInfo DateGetDayMethodInfo Date signature
+ GI.GLib.Structs.Date: instance AttrInfo DateDayFieldInfo
+ GI.GLib.Structs.Date: instance AttrInfo DateDmyFieldInfo
+ GI.GLib.Structs.Date: instance AttrInfo DateJulianDaysFieldInfo
+ GI.GLib.Structs.Date: instance AttrInfo DateJulianFieldInfo
+ GI.GLib.Structs.Date: instance AttrInfo DateMonthFieldInfo
+ GI.GLib.Structs.Date: instance AttrInfo DateYearFieldInfo
+ GI.GLib.Structs.Date: instance BoxedObject Date
+ GI.GLib.Structs.Date: instance tag ~ 'AttrSet => Constructible Date tag
+ GI.GLib.Structs.DateTime: instance (info ~ ResolveDateTimeMethod t DateTime, MethodInfo info DateTime p) => IsLabelProxy t (DateTime -> p)
+ GI.GLib.Structs.DateTime: instance (signature ~ (DateTime -> m Int64), MonadIO m) => MethodInfo DateTimeDifferenceMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ (Double -> m DateTime), MonadIO m) => MethodInfo DateTimeAddSecondsMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ (Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> Double -> m DateTime), MonadIO m) => MethodInfo DateTimeAddFullMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ (Int32 -> m DateTime), MonadIO m) => MethodInfo DateTimeAddDaysMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ (Int32 -> m DateTime), MonadIO m) => MethodInfo DateTimeAddHoursMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ (Int32 -> m DateTime), MonadIO m) => MethodInfo DateTimeAddMinutesMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ (Int32 -> m DateTime), MonadIO m) => MethodInfo DateTimeAddMonthsMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ (Int32 -> m DateTime), MonadIO m) => MethodInfo DateTimeAddWeeksMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ (Int32 -> m DateTime), MonadIO m) => MethodInfo DateTimeAddYearsMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ (Int64 -> m DateTime), MonadIO m) => MethodInfo DateTimeAddMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ (Text -> m Text), MonadIO m) => MethodInfo DateTimeFormatMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ (TimeVal -> m Bool), MonadIO m) => MethodInfo DateTimeToTimevalMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ (TimeZone -> m DateTime), MonadIO m) => MethodInfo DateTimeToTimezoneMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m (), MonadIO m) => MethodInfo DateTimeUnrefMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m (Int32, Int32, Int32), MonadIO m) => MethodInfo DateTimeGetYmdMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m Bool, MonadIO m) => MethodInfo DateTimeIsDaylightSavingsMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m DateTime, MonadIO m) => MethodInfo DateTimeRefMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m DateTime, MonadIO m) => MethodInfo DateTimeToLocalMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m DateTime, MonadIO m) => MethodInfo DateTimeToUtcMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m Double, MonadIO m) => MethodInfo DateTimeGetSecondsMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m Int32, MonadIO m) => MethodInfo DateTimeGetDayOfMonthMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m Int32, MonadIO m) => MethodInfo DateTimeGetDayOfWeekMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m Int32, MonadIO m) => MethodInfo DateTimeGetDayOfYearMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m Int32, MonadIO m) => MethodInfo DateTimeGetHourMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m Int32, MonadIO m) => MethodInfo DateTimeGetMicrosecondMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m Int32, MonadIO m) => MethodInfo DateTimeGetMinuteMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m Int32, MonadIO m) => MethodInfo DateTimeGetMonthMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m Int32, MonadIO m) => MethodInfo DateTimeGetSecondMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m Int32, MonadIO m) => MethodInfo DateTimeGetWeekNumberingYearMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m Int32, MonadIO m) => MethodInfo DateTimeGetWeekOfYearMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m Int32, MonadIO m) => MethodInfo DateTimeGetYearMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m Int64, MonadIO m) => MethodInfo DateTimeGetUtcOffsetMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m Int64, MonadIO m) => MethodInfo DateTimeToUnixMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance (signature ~ m Text, MonadIO m) => MethodInfo DateTimeGetTimezoneAbbreviationMethodInfo DateTime signature
+ GI.GLib.Structs.DateTime: instance BoxedObject DateTime
+ GI.GLib.Structs.DebugKey: debugKeyClearKey :: MonadIO m => DebugKey -> m ()
+ GI.GLib.Structs.DebugKey: debugKeyKey :: AttrLabelProxy "key"
+ GI.GLib.Structs.DebugKey: debugKeyValue :: AttrLabelProxy "value"
+ GI.GLib.Structs.DebugKey: debugKeyWriteKey :: MonadIO m => DebugKey -> CString -> m ()
+ GI.GLib.Structs.DebugKey: debugKeyWriteValue :: MonadIO m => DebugKey -> Word32 -> m ()
+ GI.GLib.Structs.DebugKey: instance (info ~ ResolveDebugKeyMethod t DebugKey, MethodInfo info DebugKey p) => IsLabelProxy t (DebugKey -> p)
+ GI.GLib.Structs.DebugKey: instance AttrInfo DebugKeyKeyFieldInfo
+ GI.GLib.Structs.DebugKey: instance AttrInfo DebugKeyValueFieldInfo
+ GI.GLib.Structs.DebugKey: instance tag ~ 'AttrSet => Constructible DebugKey tag
+ GI.GLib.Structs.Dir: instance (info ~ ResolveDirMethod t Dir, MethodInfo info Dir p) => IsLabelProxy t (Dir -> p)
+ GI.GLib.Structs.Dir: instance (signature ~ m (), MonadIO m) => MethodInfo DirCloseMethodInfo Dir signature
+ GI.GLib.Structs.Dir: instance (signature ~ m (), MonadIO m) => MethodInfo DirRewindMethodInfo Dir signature
+ GI.GLib.Structs.Dir: instance (signature ~ m Text, MonadIO m) => MethodInfo DirReadNameMethodInfo Dir signature
+ GI.GLib.Structs.HashTableIter: instance (info ~ ResolveHashTableIterMethod t HashTableIter, MethodInfo info HashTableIter p) => IsLabelProxy t (HashTableIter -> p)
+ GI.GLib.Structs.HashTableIter: instance (signature ~ (Map (Ptr ()) (Ptr ()) -> m ()), MonadIO m) => MethodInfo HashTableIterInitMethodInfo HashTableIter signature
+ GI.GLib.Structs.HashTableIter: instance (signature ~ (Ptr () -> Ptr () -> m Bool), MonadIO m) => MethodInfo HashTableIterNextMethodInfo HashTableIter signature
+ GI.GLib.Structs.HashTableIter: instance (signature ~ (Ptr () -> m ()), MonadIO m) => MethodInfo HashTableIterReplaceMethodInfo HashTableIter signature
+ GI.GLib.Structs.HashTableIter: instance (signature ~ m (), MonadIO m) => MethodInfo HashTableIterRemoveMethodInfo HashTableIter signature
+ GI.GLib.Structs.HashTableIter: instance (signature ~ m (), MonadIO m) => MethodInfo HashTableIterStealMethodInfo HashTableIter signature
+ GI.GLib.Structs.HashTableIter: instance tag ~ 'AttrSet => Constructible HashTableIter tag
+ GI.GLib.Structs.Hmac: instance (info ~ ResolveHmacMethod t Hmac, MethodInfo info Hmac p) => IsLabelProxy t (Hmac -> p)
+ GI.GLib.Structs.Hmac: instance (signature ~ (ByteString -> m ()), MonadIO m) => MethodInfo HmacUpdateMethodInfo Hmac signature
+ GI.GLib.Structs.Hmac: instance (signature ~ (Word8 -> Word64 -> m ()), MonadIO m) => MethodInfo HmacGetDigestMethodInfo Hmac signature
+ GI.GLib.Structs.Hmac: instance (signature ~ m (), MonadIO m) => MethodInfo HmacUnrefMethodInfo Hmac signature
+ GI.GLib.Structs.Hmac: instance (signature ~ m Text, MonadIO m) => MethodInfo HmacGetStringMethodInfo Hmac signature
+ GI.GLib.Structs.Hook: hookClearData :: MonadIO m => Hook -> m ()
+ GI.GLib.Structs.Hook: hookClearFunc :: MonadIO m => Hook -> m ()
+ GI.GLib.Structs.Hook: hookClearNext :: MonadIO m => Hook -> m ()
+ GI.GLib.Structs.Hook: hookClearPrev :: MonadIO m => Hook -> m ()
+ GI.GLib.Structs.Hook: hookData :: AttrLabelProxy "data"
+ GI.GLib.Structs.Hook: hookFlags :: AttrLabelProxy "flags"
+ GI.GLib.Structs.Hook: hookFunc :: AttrLabelProxy "func"
+ GI.GLib.Structs.Hook: hookHookId :: AttrLabelProxy "hookId"
+ GI.GLib.Structs.Hook: hookNext :: AttrLabelProxy "next"
+ GI.GLib.Structs.Hook: hookPrev :: AttrLabelProxy "prev"
+ GI.GLib.Structs.Hook: hookRefCount :: AttrLabelProxy "refCount"
+ GI.GLib.Structs.Hook: hookWriteData :: MonadIO m => Hook -> Ptr () -> m ()
+ GI.GLib.Structs.Hook: hookWriteFlags :: MonadIO m => Hook -> Word32 -> m ()
+ GI.GLib.Structs.Hook: hookWriteFunc :: MonadIO m => Hook -> Ptr () -> m ()
+ GI.GLib.Structs.Hook: hookWriteHookId :: MonadIO m => Hook -> CULong -> m ()
+ GI.GLib.Structs.Hook: hookWriteNext :: MonadIO m => Hook -> Ptr Hook -> m ()
+ GI.GLib.Structs.Hook: hookWritePrev :: MonadIO m => Hook -> Ptr Hook -> m ()
+ GI.GLib.Structs.Hook: hookWriteRefCount :: MonadIO m => Hook -> Word32 -> m ()
+ GI.GLib.Structs.Hook: instance (info ~ ResolveHookMethod t Hook, MethodInfo info Hook p) => IsLabelProxy t (Hook -> p)
+ GI.GLib.Structs.Hook: instance (signature ~ (Hook -> m Int32), MonadIO m) => MethodInfo HookCompareIdsMethodInfo Hook signature
+ GI.GLib.Structs.Hook: instance AttrInfo HookDataFieldInfo
+ GI.GLib.Structs.Hook: instance AttrInfo HookFlagsFieldInfo
+ GI.GLib.Structs.Hook: instance AttrInfo HookFuncFieldInfo
+ GI.GLib.Structs.Hook: instance AttrInfo HookHookIdFieldInfo
+ GI.GLib.Structs.Hook: instance AttrInfo HookNextFieldInfo
+ GI.GLib.Structs.Hook: instance AttrInfo HookPrevFieldInfo
+ GI.GLib.Structs.Hook: instance AttrInfo HookRefCountFieldInfo
+ GI.GLib.Structs.Hook: instance tag ~ 'AttrSet => Constructible Hook tag
+ GI.GLib.Structs.HookList: hookListClearDummy3 :: MonadIO m => HookList -> m ()
+ GI.GLib.Structs.HookList: hookListClearHooks :: MonadIO m => HookList -> m ()
+ GI.GLib.Structs.HookList: hookListDummy3 :: AttrLabelProxy "dummy3"
+ GI.GLib.Structs.HookList: hookListHookSize :: AttrLabelProxy "hookSize"
+ GI.GLib.Structs.HookList: hookListHooks :: AttrLabelProxy "hooks"
+ GI.GLib.Structs.HookList: hookListIsSetup :: AttrLabelProxy "isSetup"
+ GI.GLib.Structs.HookList: hookListSeqId :: AttrLabelProxy "seqId"
+ GI.GLib.Structs.HookList: hookListWriteDummy3 :: MonadIO m => HookList -> Ptr () -> m ()
+ GI.GLib.Structs.HookList: hookListWriteHookSize :: MonadIO m => HookList -> Word32 -> m ()
+ GI.GLib.Structs.HookList: hookListWriteHooks :: MonadIO m => HookList -> Ptr Hook -> m ()
+ GI.GLib.Structs.HookList: hookListWriteIsSetup :: MonadIO m => HookList -> Word32 -> m ()
+ GI.GLib.Structs.HookList: hookListWriteSeqId :: MonadIO m => HookList -> CULong -> m ()
+ GI.GLib.Structs.HookList: instance (info ~ ResolveHookListMethod t HookList, MethodInfo info HookList p) => IsLabelProxy t (HookList -> p)
+ GI.GLib.Structs.HookList: instance (signature ~ (Bool -> m ()), MonadIO m) => MethodInfo HookListInvokeCheckMethodInfo HookList signature
+ GI.GLib.Structs.HookList: instance (signature ~ (Bool -> m ()), MonadIO m) => MethodInfo HookListInvokeMethodInfo HookList signature
+ GI.GLib.Structs.HookList: instance (signature ~ (Word32 -> m ()), MonadIO m) => MethodInfo HookListInitMethodInfo HookList signature
+ GI.GLib.Structs.HookList: instance (signature ~ m (), MonadIO m) => MethodInfo HookListClearMethodInfo HookList signature
+ GI.GLib.Structs.HookList: instance AttrInfo HookListDummy3FieldInfo
+ GI.GLib.Structs.HookList: instance AttrInfo HookListHookSizeFieldInfo
+ GI.GLib.Structs.HookList: instance AttrInfo HookListHooksFieldInfo
+ GI.GLib.Structs.HookList: instance AttrInfo HookListIsSetupFieldInfo
+ GI.GLib.Structs.HookList: instance AttrInfo HookListSeqIdFieldInfo
+ GI.GLib.Structs.HookList: instance tag ~ 'AttrSet => Constructible HookList tag
+ GI.GLib.Structs.IConv: instance (info ~ ResolveIConvMethod t IConv, MethodInfo info IConv p) => IsLabelProxy t (IConv -> p)
+ GI.GLib.Structs.IConv: instance (signature ~ m Int32, MonadIO m) => MethodInfo IConvCloseMethodInfo IConv signature
+ GI.GLib.Structs.IOChannel: instance (info ~ ResolveIOChannelMethod t IOChannel, MethodInfo info IOChannel p) => IsLabelProxy t (IOChannel -> p)
+ GI.GLib.Structs.IOChannel: instance (signature ~ (Bool -> m ()), MonadIO m) => MethodInfo IOChannelSetBufferedMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ (Bool -> m ()), MonadIO m) => MethodInfo IOChannelSetCloseOnUnrefMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ (Bool -> m IOStatus), MonadIO m) => MethodInfo IOChannelShutdownMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ (ByteString -> m (IOStatus, ByteString, Word64)), MonadIO m) => MethodInfo IOChannelReadCharsMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ (Char -> m IOStatus), MonadIO m) => MethodInfo IOChannelWriteUnicharMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ (Int32 -> m Text), MonadIO m) => MethodInfo IOChannelGetLineTermMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ (Int64 -> SeekType -> m IOError), MonadIO m) => MethodInfo IOChannelSeekMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ (Int64 -> SeekType -> m IOStatus), MonadIO m) => MethodInfo IOChannelSeekPositionMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ (Maybe Text -> Int32 -> m ()), MonadIO m) => MethodInfo IOChannelSetLineTermMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ (Maybe Text -> m IOStatus), MonadIO m) => MethodInfo IOChannelSetEncodingMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ (Ptr Word8 -> Int64 -> m (IOStatus, Word64)), MonadIO m) => MethodInfo IOChannelWriteCharsMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ (Text -> Word64 -> Word64 -> m IOError), MonadIO m) => MethodInfo IOChannelReadMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ (Text -> Word64 -> Word64 -> m IOError), MonadIO m) => MethodInfo IOChannelWriteMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ (Word64 -> m ()), MonadIO m) => MethodInfo IOChannelSetBufferSizeMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ ([IOFlags] -> m IOStatus), MonadIO m) => MethodInfo IOChannelSetFlagsMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ m (), MonadIO m) => MethodInfo IOChannelCloseMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ m (), MonadIO m) => MethodInfo IOChannelInitMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ m (), MonadIO m) => MethodInfo IOChannelUnrefMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ m (IOStatus, ByteString), MonadIO m) => MethodInfo IOChannelReadToEndMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ m (IOStatus, Char), MonadIO m) => MethodInfo IOChannelReadUnicharMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ m (IOStatus, Text, Word64, Word64), MonadIO m) => MethodInfo IOChannelReadLineMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ m Bool, MonadIO m) => MethodInfo IOChannelGetBufferedMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ m Bool, MonadIO m) => MethodInfo IOChannelGetCloseOnUnrefMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ m IOChannel, MonadIO m) => MethodInfo IOChannelRefMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ m IOStatus, MonadIO m) => MethodInfo IOChannelFlushMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ m Int32, MonadIO m) => MethodInfo IOChannelUnixGetFdMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ m Text, MonadIO m) => MethodInfo IOChannelGetEncodingMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ m Word64, MonadIO m) => MethodInfo IOChannelGetBufferSizeMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ m [IOCondition], MonadIO m) => MethodInfo IOChannelGetBufferConditionMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance (signature ~ m [IOFlags], MonadIO m) => MethodInfo IOChannelGetFlagsMethodInfo IOChannel signature
+ GI.GLib.Structs.IOChannel: instance BoxedObject IOChannel
+ GI.GLib.Structs.IOChannel: instance tag ~ 'AttrSet => Constructible IOChannel tag
+ GI.GLib.Structs.IOFuncs: instance (info ~ ResolveIOFuncsMethod t IOFuncs, MethodInfo info IOFuncs p) => IsLabelProxy t (IOFuncs -> p)
+ GI.GLib.Structs.IOFuncs: instance tag ~ 'AttrSet => Constructible IOFuncs tag
+ GI.GLib.Structs.KeyFile: instance (info ~ ResolveKeyFileMethod t KeyFile, MethodInfo info KeyFile p) => IsLabelProxy t (KeyFile -> p)
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Int8 -> m ()), MonadIO m) => MethodInfo KeyFileSetListSeparatorMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Maybe Text -> Maybe Text -> Text -> m ()), MonadIO m) => MethodInfo KeyFileSetCommentMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Maybe Text -> Maybe Text -> m ()), MonadIO m) => MethodInfo KeyFileRemoveCommentMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Maybe Text -> Text -> m Text), MonadIO m) => MethodInfo KeyFileGetCommentMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> Bool -> m ()), MonadIO m) => MethodInfo KeyFileSetBooleanMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> Double -> m ()), MonadIO m) => MethodInfo KeyFileSetDoubleMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> Int32 -> m ()), MonadIO m) => MethodInfo KeyFileSetIntegerMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> Int64 -> m ()), MonadIO m) => MethodInfo KeyFileSetInt64MethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> Maybe Text -> m ([Text], Word64)), MonadIO m) => MethodInfo KeyFileGetLocaleStringListMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> Maybe Text -> m Text), MonadIO m) => MethodInfo KeyFileGetLocaleStringMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> Text -> Text -> m ()), MonadIO m) => MethodInfo KeyFileSetLocaleStringMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> Text -> [Text] -> Word64 -> m ()), MonadIO m) => MethodInfo KeyFileSetLocaleStringListMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> Text -> m ()), MonadIO m) => MethodInfo KeyFileSetStringMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> Text -> m ()), MonadIO m) => MethodInfo KeyFileSetValueMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> Word64 -> m ()), MonadIO m) => MethodInfo KeyFileSetUint64MethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> [Bool] -> m ()), MonadIO m) => MethodInfo KeyFileSetBooleanListMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> [Double] -> m ()), MonadIO m) => MethodInfo KeyFileSetDoubleListMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> [Int32] -> m ()), MonadIO m) => MethodInfo KeyFileSetIntegerListMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> [Text] -> Word64 -> m ()), MonadIO m) => MethodInfo KeyFileSetStringListMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> m ()), MonadIO m) => MethodInfo KeyFileGetBooleanMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> m ()), MonadIO m) => MethodInfo KeyFileRemoveKeyMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> m ([Text], Word64)), MonadIO m) => MethodInfo KeyFileGetStringListMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> m Double), MonadIO m) => MethodInfo KeyFileGetDoubleMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> m Int32), MonadIO m) => MethodInfo KeyFileGetIntegerMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> m Int64), MonadIO m) => MethodInfo KeyFileGetInt64MethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> m Text), MonadIO m) => MethodInfo KeyFileGetStringMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> m Text), MonadIO m) => MethodInfo KeyFileGetValueMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> m Word64), MonadIO m) => MethodInfo KeyFileGetUint64MethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> m [Bool]), MonadIO m) => MethodInfo KeyFileGetBooleanListMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> m [Double]), MonadIO m) => MethodInfo KeyFileGetDoubleListMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Text -> m [Int32]), MonadIO m) => MethodInfo KeyFileGetIntegerListMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> Word64 -> [KeyFileFlags] -> m ()), MonadIO m) => MethodInfo KeyFileLoadFromDataMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> m ()), MonadIO m) => MethodInfo KeyFileRemoveGroupMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> m ()), MonadIO m) => MethodInfo KeyFileSaveToFileMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> m ([Text], Word64)), MonadIO m) => MethodInfo KeyFileGetKeysMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ (Text -> m Bool), MonadIO m) => MethodInfo KeyFileHasGroupMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ ([Char] -> [KeyFileFlags] -> m ()), MonadIO m) => MethodInfo KeyFileLoadFromFileMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ ([Char] -> [KeyFileFlags] -> m [Char]), MonadIO m) => MethodInfo KeyFileLoadFromDataDirsMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ ([Char] -> [[Char]] -> [KeyFileFlags] -> m [Char]), MonadIO m) => MethodInfo KeyFileLoadFromDirsMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ m (), MonadIO m) => MethodInfo KeyFileUnrefMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ m (Text, Word64), MonadIO m) => MethodInfo KeyFileToDataMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ m ([Text], Word64), MonadIO m) => MethodInfo KeyFileGetGroupsMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance (signature ~ m Text, MonadIO m) => MethodInfo KeyFileGetStartGroupMethodInfo KeyFile signature
+ GI.GLib.Structs.KeyFile: instance BoxedObject KeyFile
+ GI.GLib.Structs.MainContext: instance (info ~ ResolveMainContextMethod t MainContext, MethodInfo info MainContext p) => IsLabelProxy t (MainContext -> p)
+ GI.GLib.Structs.MainContext: instance (signature ~ (Bool -> m Bool), MonadIO m) => MethodInfo MainContextIterationMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance (signature ~ (Cond -> Mutex -> m Bool), MonadIO m) => MethodInfo MainContextWaitMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance (signature ~ (Int32 -> SourceFunc -> m ()), MonadIO m) => MethodInfo MainContextInvokeFullMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance (signature ~ (Int32 -> [PollFD] -> m (Int32, Int32, [PollFD])), MonadIO m) => MethodInfo MainContextQueryMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance (signature ~ (Int32 -> [PollFD] -> m Int32), MonadIO m) => MethodInfo MainContextCheckMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance (signature ~ (Int32 -> m Bool), MonadIO m) => MethodInfo MainContextPrepareMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance (signature ~ (PollFD -> Int32 -> m ()), MonadIO m) => MethodInfo MainContextAddPollMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance (signature ~ (PollFD -> m ()), MonadIO m) => MethodInfo MainContextRemovePollMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance (signature ~ (Ptr () -> m Source), MonadIO m) => MethodInfo MainContextFindSourceByUserDataMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance (signature ~ (SourceFuncs -> Ptr () -> m Source), MonadIO m) => MethodInfo MainContextFindSourceByFuncsUserDataMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance (signature ~ (Word32 -> m Source), MonadIO m) => MethodInfo MainContextFindSourceByIdMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance (signature ~ m (), MonadIO m) => MethodInfo MainContextDispatchMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance (signature ~ m (), MonadIO m) => MethodInfo MainContextPopThreadDefaultMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance (signature ~ m (), MonadIO m) => MethodInfo MainContextPushThreadDefaultMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance (signature ~ m (), MonadIO m) => MethodInfo MainContextReleaseMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance (signature ~ m (), MonadIO m) => MethodInfo MainContextUnrefMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance (signature ~ m (), MonadIO m) => MethodInfo MainContextWakeupMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance (signature ~ m Bool, MonadIO m) => MethodInfo MainContextAcquireMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance (signature ~ m Bool, MonadIO m) => MethodInfo MainContextIsOwnerMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance (signature ~ m Bool, MonadIO m) => MethodInfo MainContextPendingMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance (signature ~ m MainContext, MonadIO m) => MethodInfo MainContextRefMethodInfo MainContext signature
+ GI.GLib.Structs.MainContext: instance BoxedObject MainContext
+ GI.GLib.Structs.MainLoop: instance (info ~ ResolveMainLoopMethod t MainLoop, MethodInfo info MainLoop p) => IsLabelProxy t (MainLoop -> p)
+ GI.GLib.Structs.MainLoop: instance (signature ~ m (), MonadIO m) => MethodInfo MainLoopQuitMethodInfo MainLoop signature
+ GI.GLib.Structs.MainLoop: instance (signature ~ m (), MonadIO m) => MethodInfo MainLoopRunMethodInfo MainLoop signature
+ GI.GLib.Structs.MainLoop: instance (signature ~ m (), MonadIO m) => MethodInfo MainLoopUnrefMethodInfo MainLoop signature
+ GI.GLib.Structs.MainLoop: instance (signature ~ m Bool, MonadIO m) => MethodInfo MainLoopIsRunningMethodInfo MainLoop signature
+ GI.GLib.Structs.MainLoop: instance (signature ~ m MainContext, MonadIO m) => MethodInfo MainLoopGetContextMethodInfo MainLoop signature
+ GI.GLib.Structs.MainLoop: instance (signature ~ m MainLoop, MonadIO m) => MethodInfo MainLoopRefMethodInfo MainLoop signature
+ GI.GLib.Structs.MainLoop: instance BoxedObject MainLoop
+ GI.GLib.Structs.MappedFile: instance (info ~ ResolveMappedFileMethod t MappedFile, MethodInfo info MappedFile p) => IsLabelProxy t (MappedFile -> p)
+ GI.GLib.Structs.MappedFile: instance (signature ~ m (), MonadIO m) => MethodInfo MappedFileFreeMethodInfo MappedFile signature
+ GI.GLib.Structs.MappedFile: instance (signature ~ m (), MonadIO m) => MethodInfo MappedFileUnrefMethodInfo MappedFile signature
+ GI.GLib.Structs.MappedFile: instance (signature ~ m Bytes, MonadIO m) => MethodInfo MappedFileGetBytesMethodInfo MappedFile signature
+ GI.GLib.Structs.MappedFile: instance (signature ~ m MappedFile, MonadIO m) => MethodInfo MappedFileRefMethodInfo MappedFile signature
+ GI.GLib.Structs.MappedFile: instance (signature ~ m Text, MonadIO m) => MethodInfo MappedFileGetContentsMethodInfo MappedFile signature
+ GI.GLib.Structs.MappedFile: instance (signature ~ m Word64, MonadIO m) => MethodInfo MappedFileGetLengthMethodInfo MappedFile signature
+ GI.GLib.Structs.MappedFile: instance BoxedObject MappedFile
+ GI.GLib.Structs.MarkupParseContext: instance (info ~ ResolveMarkupParseContextMethod t MarkupParseContext, MethodInfo info MarkupParseContext p) => IsLabelProxy t (MarkupParseContext -> p)
+ GI.GLib.Structs.MarkupParseContext: instance (signature ~ (MarkupParser -> Ptr () -> m ()), MonadIO m) => MethodInfo MarkupParseContextPushMethodInfo MarkupParseContext signature
+ GI.GLib.Structs.MarkupParseContext: instance (signature ~ (Text -> Int64 -> m ()), MonadIO m) => MethodInfo MarkupParseContextParseMethodInfo MarkupParseContext signature
+ GI.GLib.Structs.MarkupParseContext: instance (signature ~ m (), MonadIO m) => MethodInfo MarkupParseContextEndParseMethodInfo MarkupParseContext signature
+ GI.GLib.Structs.MarkupParseContext: instance (signature ~ m (), MonadIO m) => MethodInfo MarkupParseContextFreeMethodInfo MarkupParseContext signature
+ GI.GLib.Structs.MarkupParseContext: instance (signature ~ m (), MonadIO m) => MethodInfo MarkupParseContextUnrefMethodInfo MarkupParseContext signature
+ GI.GLib.Structs.MarkupParseContext: instance (signature ~ m MarkupParseContext, MonadIO m) => MethodInfo MarkupParseContextRefMethodInfo MarkupParseContext signature
+ GI.GLib.Structs.MarkupParseContext: instance (signature ~ m Text, MonadIO m) => MethodInfo MarkupParseContextGetElementMethodInfo MarkupParseContext signature
+ GI.GLib.Structs.MarkupParseContext: instance BoxedObject MarkupParseContext
+ GI.GLib.Structs.MarkupParser: instance (info ~ ResolveMarkupParserMethod t MarkupParser, MethodInfo info MarkupParser p) => IsLabelProxy t (MarkupParser -> p)
+ GI.GLib.Structs.MarkupParser: instance tag ~ 'AttrSet => Constructible MarkupParser tag
+ GI.GLib.Structs.MatchInfo: instance (info ~ ResolveMatchInfoMethod t MatchInfo, MethodInfo info MatchInfo p) => IsLabelProxy t (MatchInfo -> p)
+ GI.GLib.Structs.MatchInfo: instance (signature ~ (Int32 -> m (Bool, Int32, Int32)), MonadIO m) => MethodInfo MatchInfoFetchPosMethodInfo MatchInfo signature
+ GI.GLib.Structs.MatchInfo: instance (signature ~ (Int32 -> m Text), MonadIO m) => MethodInfo MatchInfoFetchMethodInfo MatchInfo signature
+ GI.GLib.Structs.MatchInfo: instance (signature ~ (Text -> m (Bool, Int32, Int32)), MonadIO m) => MethodInfo MatchInfoFetchNamedPosMethodInfo MatchInfo signature
+ GI.GLib.Structs.MatchInfo: instance (signature ~ (Text -> m Text), MonadIO m) => MethodInfo MatchInfoExpandReferencesMethodInfo MatchInfo signature
+ GI.GLib.Structs.MatchInfo: instance (signature ~ (Text -> m Text), MonadIO m) => MethodInfo MatchInfoFetchNamedMethodInfo MatchInfo signature
+ GI.GLib.Structs.MatchInfo: instance (signature ~ m (), MonadIO m) => MethodInfo MatchInfoFreeMethodInfo MatchInfo signature
+ GI.GLib.Structs.MatchInfo: instance (signature ~ m (), MonadIO m) => MethodInfo MatchInfoNextMethodInfo MatchInfo signature
+ GI.GLib.Structs.MatchInfo: instance (signature ~ m (), MonadIO m) => MethodInfo MatchInfoUnrefMethodInfo MatchInfo signature
+ GI.GLib.Structs.MatchInfo: instance (signature ~ m Bool, MonadIO m) => MethodInfo MatchInfoIsPartialMatchMethodInfo MatchInfo signature
+ GI.GLib.Structs.MatchInfo: instance (signature ~ m Bool, MonadIO m) => MethodInfo MatchInfoMatchesMethodInfo MatchInfo signature
+ GI.GLib.Structs.MatchInfo: instance (signature ~ m Int32, MonadIO m) => MethodInfo MatchInfoGetMatchCountMethodInfo MatchInfo signature
+ GI.GLib.Structs.MatchInfo: instance (signature ~ m MatchInfo, MonadIO m) => MethodInfo MatchInfoRefMethodInfo MatchInfo signature
+ GI.GLib.Structs.MatchInfo: instance (signature ~ m Regex, MonadIO m) => MethodInfo MatchInfoGetRegexMethodInfo MatchInfo signature
+ GI.GLib.Structs.MatchInfo: instance (signature ~ m Text, MonadIO m) => MethodInfo MatchInfoGetStringMethodInfo MatchInfo signature
+ GI.GLib.Structs.MatchInfo: instance (signature ~ m [Text], MonadIO m) => MethodInfo MatchInfoFetchAllMethodInfo MatchInfo signature
+ GI.GLib.Structs.MatchInfo: instance BoxedObject MatchInfo
+ GI.GLib.Structs.MemVTable: instance (info ~ ResolveMemVTableMethod t MemVTable, MethodInfo info MemVTable p) => IsLabelProxy t (MemVTable -> p)
+ GI.GLib.Structs.MemVTable: instance tag ~ 'AttrSet => Constructible MemVTable tag
+ GI.GLib.Structs.Node: instance (info ~ ResolveNodeMethod t Node, MethodInfo info Node p) => IsLabelProxy t (Node -> p)
+ GI.GLib.Structs.Node: instance (signature ~ (Node -> m Bool), MonadIO m) => MethodInfo NodeIsAncestorMethodInfo Node signature
+ GI.GLib.Structs.Node: instance (signature ~ (Node -> m Int32), MonadIO m) => MethodInfo NodeChildPositionMethodInfo Node signature
+ GI.GLib.Structs.Node: instance (signature ~ (Ptr () -> m Int32), MonadIO m) => MethodInfo NodeChildIndexMethodInfo Node signature
+ GI.GLib.Structs.Node: instance (signature ~ ([TraverseFlags] -> m Word32), MonadIO m) => MethodInfo NodeNNodesMethodInfo Node signature
+ GI.GLib.Structs.Node: instance (signature ~ m (), MonadIO m) => MethodInfo NodeDestroyMethodInfo Node signature
+ GI.GLib.Structs.Node: instance (signature ~ m (), MonadIO m) => MethodInfo NodeReverseChildrenMethodInfo Node signature
+ GI.GLib.Structs.Node: instance (signature ~ m (), MonadIO m) => MethodInfo NodeUnlinkMethodInfo Node signature
+ GI.GLib.Structs.Node: instance (signature ~ m Word32, MonadIO m) => MethodInfo NodeDepthMethodInfo Node signature
+ GI.GLib.Structs.Node: instance (signature ~ m Word32, MonadIO m) => MethodInfo NodeMaxHeightMethodInfo Node signature
+ GI.GLib.Structs.Node: instance (signature ~ m Word32, MonadIO m) => MethodInfo NodeNChildrenMethodInfo Node signature
+ GI.GLib.Structs.Node: instance AttrInfo NodeChildrenFieldInfo
+ GI.GLib.Structs.Node: instance AttrInfo NodeDataFieldInfo
+ GI.GLib.Structs.Node: instance AttrInfo NodeNextFieldInfo
+ GI.GLib.Structs.Node: instance AttrInfo NodeParentFieldInfo
+ GI.GLib.Structs.Node: instance AttrInfo NodePrevFieldInfo
+ GI.GLib.Structs.Node: instance tag ~ 'AttrSet => Constructible Node tag
+ GI.GLib.Structs.Node: nodeChildren :: AttrLabelProxy "children"
+ GI.GLib.Structs.Node: nodeClearChildren :: MonadIO m => Node -> m ()
+ GI.GLib.Structs.Node: nodeClearData :: MonadIO m => Node -> m ()
+ GI.GLib.Structs.Node: nodeClearNext :: MonadIO m => Node -> m ()
+ GI.GLib.Structs.Node: nodeClearParent :: MonadIO m => Node -> m ()
+ GI.GLib.Structs.Node: nodeClearPrev :: MonadIO m => Node -> m ()
+ GI.GLib.Structs.Node: nodeData :: AttrLabelProxy "data"
+ GI.GLib.Structs.Node: nodeNext :: AttrLabelProxy "next"
+ GI.GLib.Structs.Node: nodeParent :: AttrLabelProxy "parent"
+ GI.GLib.Structs.Node: nodePrev :: AttrLabelProxy "prev"
+ GI.GLib.Structs.Node: nodeWriteChildren :: MonadIO m => Node -> Ptr Node -> m ()
+ GI.GLib.Structs.Node: nodeWriteData :: MonadIO m => Node -> Ptr () -> m ()
+ GI.GLib.Structs.Node: nodeWriteNext :: MonadIO m => Node -> Ptr Node -> m ()
+ GI.GLib.Structs.Node: nodeWriteParent :: MonadIO m => Node -> Ptr Node -> m ()
+ GI.GLib.Structs.Node: nodeWritePrev :: MonadIO m => Node -> Ptr Node -> m ()
+ GI.GLib.Structs.Once: instance (info ~ ResolveOnceMethod t Once, MethodInfo info Once p) => IsLabelProxy t (Once -> p)
+ GI.GLib.Structs.Once: instance AttrInfo OnceRetvalFieldInfo
+ GI.GLib.Structs.Once: instance AttrInfo OnceStatusFieldInfo
+ GI.GLib.Structs.Once: instance tag ~ 'AttrSet => Constructible Once tag
+ GI.GLib.Structs.Once: onceClearRetval :: MonadIO m => Once -> m ()
+ GI.GLib.Structs.Once: onceRetval :: AttrLabelProxy "retval"
+ GI.GLib.Structs.Once: onceStatus :: AttrLabelProxy "status"
+ GI.GLib.Structs.Once: onceWriteRetval :: MonadIO m => Once -> Ptr () -> m ()
+ GI.GLib.Structs.Once: onceWriteStatus :: MonadIO m => Once -> OnceStatus -> m ()
+ GI.GLib.Structs.OptionContext: data OptionContextParseMethodInfo
+ GI.GLib.Structs.OptionContext: instance (info ~ ResolveOptionContextMethod t OptionContext, MethodInfo info OptionContext p) => IsLabelProxy t (OptionContext -> p)
+ GI.GLib.Structs.OptionContext: instance (signature ~ (Bool -> Maybe OptionGroup -> m Text), MonadIO m) => MethodInfo OptionContextGetHelpMethodInfo OptionContext signature
+ GI.GLib.Structs.OptionContext: instance (signature ~ (Bool -> m ()), MonadIO m) => MethodInfo OptionContextSetHelpEnabledMethodInfo OptionContext signature
+ GI.GLib.Structs.OptionContext: instance (signature ~ (Bool -> m ()), MonadIO m) => MethodInfo OptionContextSetIgnoreUnknownOptionsMethodInfo OptionContext signature
+ GI.GLib.Structs.OptionContext: instance (signature ~ (Bool -> m ()), MonadIO m) => MethodInfo OptionContextSetStrictPosixMethodInfo OptionContext signature
+ GI.GLib.Structs.OptionContext: instance (signature ~ (Maybe Text -> m ()), MonadIO m) => MethodInfo OptionContextSetDescriptionMethodInfo OptionContext signature
+ GI.GLib.Structs.OptionContext: instance (signature ~ (Maybe Text -> m ()), MonadIO m) => MethodInfo OptionContextSetSummaryMethodInfo OptionContext signature
+ GI.GLib.Structs.OptionContext: instance (signature ~ (Maybe TranslateFunc -> m ()), MonadIO m) => MethodInfo OptionContextSetTranslateFuncMethodInfo OptionContext signature
+ GI.GLib.Structs.OptionContext: instance (signature ~ (Maybe [Text] -> m (Maybe [Text])), MonadIO m) => MethodInfo OptionContextParseMethodInfo OptionContext signature
+ GI.GLib.Structs.OptionContext: instance (signature ~ (OptionEntry -> Maybe Text -> m ()), MonadIO m) => MethodInfo OptionContextAddMainEntriesMethodInfo OptionContext signature
+ GI.GLib.Structs.OptionContext: instance (signature ~ (OptionGroup -> m ()), MonadIO m) => MethodInfo OptionContextAddGroupMethodInfo OptionContext signature
+ GI.GLib.Structs.OptionContext: instance (signature ~ (OptionGroup -> m ()), MonadIO m) => MethodInfo OptionContextSetMainGroupMethodInfo OptionContext signature
+ GI.GLib.Structs.OptionContext: instance (signature ~ (Ptr CString -> m (Ptr CString)), MonadIO m) => MethodInfo OptionContextParseStrvMethodInfo OptionContext signature
+ GI.GLib.Structs.OptionContext: instance (signature ~ (Text -> m ()), MonadIO m) => MethodInfo OptionContextSetTranslationDomainMethodInfo OptionContext signature
+ GI.GLib.Structs.OptionContext: instance (signature ~ m (), MonadIO m) => MethodInfo OptionContextFreeMethodInfo OptionContext signature
+ GI.GLib.Structs.OptionContext: instance (signature ~ m Bool, MonadIO m) => MethodInfo OptionContextGetHelpEnabledMethodInfo OptionContext signature
+ GI.GLib.Structs.OptionContext: instance (signature ~ m Bool, MonadIO m) => MethodInfo OptionContextGetIgnoreUnknownOptionsMethodInfo OptionContext signature
+ GI.GLib.Structs.OptionContext: instance (signature ~ m Bool, MonadIO m) => MethodInfo OptionContextGetStrictPosixMethodInfo OptionContext signature
+ GI.GLib.Structs.OptionContext: instance (signature ~ m OptionGroup, MonadIO m) => MethodInfo OptionContextGetMainGroupMethodInfo OptionContext signature
+ GI.GLib.Structs.OptionContext: instance (signature ~ m Text, MonadIO m) => MethodInfo OptionContextGetDescriptionMethodInfo OptionContext signature
+ GI.GLib.Structs.OptionContext: instance (signature ~ m Text, MonadIO m) => MethodInfo OptionContextGetSummaryMethodInfo OptionContext signature
+ GI.GLib.Structs.OptionContext: optionContextParse :: MonadIO m => OptionContext -> Maybe ([Text]) -> m ((Maybe [Text]))
+ GI.GLib.Structs.OptionEntry: instance (info ~ ResolveOptionEntryMethod t OptionEntry, MethodInfo info OptionEntry p) => IsLabelProxy t (OptionEntry -> p)
+ GI.GLib.Structs.OptionEntry: instance AttrInfo OptionEntryArgDataFieldInfo
+ GI.GLib.Structs.OptionEntry: instance AttrInfo OptionEntryArgDescriptionFieldInfo
+ GI.GLib.Structs.OptionEntry: instance AttrInfo OptionEntryArgFieldInfo
+ GI.GLib.Structs.OptionEntry: instance AttrInfo OptionEntryDescriptionFieldInfo
+ GI.GLib.Structs.OptionEntry: instance AttrInfo OptionEntryFlagsFieldInfo
+ GI.GLib.Structs.OptionEntry: instance AttrInfo OptionEntryLongNameFieldInfo
+ GI.GLib.Structs.OptionEntry: instance AttrInfo OptionEntryShortNameFieldInfo
+ GI.GLib.Structs.OptionEntry: instance tag ~ 'AttrSet => Constructible OptionEntry tag
+ GI.GLib.Structs.OptionEntry: optionEntryArg :: AttrLabelProxy "arg"
+ GI.GLib.Structs.OptionEntry: optionEntryArgData :: AttrLabelProxy "argData"
+ GI.GLib.Structs.OptionEntry: optionEntryArgDescription :: AttrLabelProxy "argDescription"
+ GI.GLib.Structs.OptionEntry: optionEntryClearArgData :: MonadIO m => OptionEntry -> m ()
+ GI.GLib.Structs.OptionEntry: optionEntryClearArgDescription :: MonadIO m => OptionEntry -> m ()
+ GI.GLib.Structs.OptionEntry: optionEntryClearDescription :: MonadIO m => OptionEntry -> m ()
+ GI.GLib.Structs.OptionEntry: optionEntryClearLongName :: MonadIO m => OptionEntry -> m ()
+ GI.GLib.Structs.OptionEntry: optionEntryDescription :: AttrLabelProxy "description"
+ GI.GLib.Structs.OptionEntry: optionEntryFlags :: AttrLabelProxy "flags"
+ GI.GLib.Structs.OptionEntry: optionEntryLongName :: AttrLabelProxy "longName"
+ GI.GLib.Structs.OptionEntry: optionEntryShortName :: AttrLabelProxy "shortName"
+ GI.GLib.Structs.OptionEntry: optionEntryWriteArg :: MonadIO m => OptionEntry -> OptionArg -> m ()
+ GI.GLib.Structs.OptionEntry: optionEntryWriteArgData :: MonadIO m => OptionEntry -> Ptr () -> m ()
+ GI.GLib.Structs.OptionEntry: optionEntryWriteArgDescription :: MonadIO m => OptionEntry -> CString -> m ()
+ GI.GLib.Structs.OptionEntry: optionEntryWriteDescription :: MonadIO m => OptionEntry -> CString -> m ()
+ GI.GLib.Structs.OptionEntry: optionEntryWriteFlags :: MonadIO m => OptionEntry -> Int32 -> m ()
+ GI.GLib.Structs.OptionEntry: optionEntryWriteLongName :: MonadIO m => OptionEntry -> CString -> m ()
+ GI.GLib.Structs.OptionEntry: optionEntryWriteShortName :: MonadIO m => OptionEntry -> Int8 -> m ()
+ GI.GLib.Structs.OptionGroup: instance (info ~ ResolveOptionGroupMethod t OptionGroup, MethodInfo info OptionGroup p) => IsLabelProxy t (OptionGroup -> p)
+ GI.GLib.Structs.OptionGroup: instance (signature ~ (Maybe TranslateFunc -> m ()), MonadIO m) => MethodInfo OptionGroupSetTranslateFuncMethodInfo OptionGroup signature
+ GI.GLib.Structs.OptionGroup: instance (signature ~ (OptionEntry -> m ()), MonadIO m) => MethodInfo OptionGroupAddEntriesMethodInfo OptionGroup signature
+ GI.GLib.Structs.OptionGroup: instance (signature ~ (Text -> m ()), MonadIO m) => MethodInfo OptionGroupSetTranslationDomainMethodInfo OptionGroup signature
+ GI.GLib.Structs.OptionGroup: instance (signature ~ m (), MonadIO m) => MethodInfo OptionGroupFreeMethodInfo OptionGroup signature
+ GI.GLib.Structs.OptionGroup: instance (signature ~ m (), MonadIO m) => MethodInfo OptionGroupUnrefMethodInfo OptionGroup signature
+ GI.GLib.Structs.OptionGroup: instance (signature ~ m OptionGroup, MonadIO m) => MethodInfo OptionGroupRefMethodInfo OptionGroup signature
+ GI.GLib.Structs.OptionGroup: instance BoxedObject OptionGroup
+ GI.GLib.Structs.PatternSpec: instance (info ~ ResolvePatternSpecMethod t PatternSpec, MethodInfo info PatternSpec p) => IsLabelProxy t (PatternSpec -> p)
+ GI.GLib.Structs.PatternSpec: instance (signature ~ (PatternSpec -> m Bool), MonadIO m) => MethodInfo PatternSpecEqualMethodInfo PatternSpec signature
+ GI.GLib.Structs.PatternSpec: instance (signature ~ m (), MonadIO m) => MethodInfo PatternSpecFreeMethodInfo PatternSpec signature
+ GI.GLib.Structs.PollFD: instance (info ~ ResolvePollFDMethod t PollFD, MethodInfo info PollFD p) => IsLabelProxy t (PollFD -> p)
+ GI.GLib.Structs.PollFD: instance AttrInfo PollFDEventsFieldInfo
+ GI.GLib.Structs.PollFD: instance AttrInfo PollFDFdFieldInfo
+ GI.GLib.Structs.PollFD: instance AttrInfo PollFDReventsFieldInfo
+ GI.GLib.Structs.PollFD: instance BoxedObject PollFD
+ GI.GLib.Structs.PollFD: instance tag ~ 'AttrSet => Constructible PollFD tag
+ GI.GLib.Structs.PollFD: pollFDEvents :: AttrLabelProxy "events"
+ GI.GLib.Structs.PollFD: pollFDFd :: AttrLabelProxy "fd"
+ GI.GLib.Structs.PollFD: pollFDRevents :: AttrLabelProxy "revents"
+ GI.GLib.Structs.PollFD: pollFDWriteEvents :: MonadIO m => PollFD -> Word16 -> m ()
+ GI.GLib.Structs.PollFD: pollFDWriteFd :: MonadIO m => PollFD -> Int32 -> m ()
+ GI.GLib.Structs.PollFD: pollFDWriteRevents :: MonadIO m => PollFD -> Word16 -> m ()
+ GI.GLib.Structs.PtrArray: instance (info ~ ResolvePtrArrayMethod t PtrArray, MethodInfo info PtrArray p) => IsLabelProxy t (PtrArray -> p)
+ GI.GLib.Structs.PtrArray: instance AttrInfo PtrArrayLenFieldInfo
+ GI.GLib.Structs.PtrArray: instance AttrInfo PtrArrayPdataFieldInfo
+ GI.GLib.Structs.PtrArray: instance BoxedObject PtrArray
+ GI.GLib.Structs.PtrArray: instance tag ~ 'AttrSet => Constructible PtrArray tag
+ GI.GLib.Structs.PtrArray: ptrArrayClearPdata :: MonadIO m => PtrArray -> m ()
+ GI.GLib.Structs.PtrArray: ptrArrayLen :: AttrLabelProxy "len"
+ GI.GLib.Structs.PtrArray: ptrArrayPdata :: AttrLabelProxy "pdata"
+ GI.GLib.Structs.PtrArray: ptrArrayWriteLen :: MonadIO m => PtrArray -> Word32 -> m ()
+ GI.GLib.Structs.PtrArray: ptrArrayWritePdata :: MonadIO m => PtrArray -> Ptr () -> m ()
+ GI.GLib.Structs.Queue: instance (info ~ ResolveQueueMethod t Queue, MethodInfo info Queue p) => IsLabelProxy t (Queue -> p)
+ GI.GLib.Structs.Queue: instance (signature ~ (DestroyNotify -> m ()), MonadIO m) => MethodInfo QueueFreeFullMethodInfo Queue signature
+ GI.GLib.Structs.Queue: instance (signature ~ (Ptr () -> Int32 -> m ()), MonadIO m) => MethodInfo QueuePushNthMethodInfo Queue signature
+ GI.GLib.Structs.Queue: instance (signature ~ (Ptr () -> m ()), MonadIO m) => MethodInfo QueuePushHeadMethodInfo Queue signature
+ GI.GLib.Structs.Queue: instance (signature ~ (Ptr () -> m ()), MonadIO m) => MethodInfo QueuePushTailMethodInfo Queue signature
+ GI.GLib.Structs.Queue: instance (signature ~ (Ptr () -> m Bool), MonadIO m) => MethodInfo QueueRemoveMethodInfo Queue signature
+ GI.GLib.Structs.Queue: instance (signature ~ (Ptr () -> m Int32), MonadIO m) => MethodInfo QueueIndexMethodInfo Queue signature
+ GI.GLib.Structs.Queue: instance (signature ~ (Ptr () -> m Word32), MonadIO m) => MethodInfo QueueRemoveAllMethodInfo Queue signature
+ GI.GLib.Structs.Queue: instance (signature ~ m (), MonadIO m) => MethodInfo QueueClearMethodInfo Queue signature
+ GI.GLib.Structs.Queue: instance (signature ~ m (), MonadIO m) => MethodInfo QueueFreeMethodInfo Queue signature
+ GI.GLib.Structs.Queue: instance (signature ~ m (), MonadIO m) => MethodInfo QueueInitMethodInfo Queue signature
+ GI.GLib.Structs.Queue: instance (signature ~ m (), MonadIO m) => MethodInfo QueueReverseMethodInfo Queue signature
+ GI.GLib.Structs.Queue: instance (signature ~ m Bool, MonadIO m) => MethodInfo QueueIsEmptyMethodInfo Queue signature
+ GI.GLib.Structs.Queue: instance (signature ~ m Word32, MonadIO m) => MethodInfo QueueGetLengthMethodInfo Queue signature
+ GI.GLib.Structs.Queue: instance AttrInfo QueueHeadFieldInfo
+ GI.GLib.Structs.Queue: instance AttrInfo QueueLengthFieldInfo
+ GI.GLib.Structs.Queue: instance AttrInfo QueueTailFieldInfo
+ GI.GLib.Structs.Queue: instance tag ~ 'AttrSet => Constructible Queue tag
+ GI.GLib.Structs.Queue: queueClearHead :: MonadIO m => Queue -> m ()
+ GI.GLib.Structs.Queue: queueClearTail :: MonadIO m => Queue -> m ()
+ GI.GLib.Structs.Queue: queueHead :: AttrLabelProxy "head"
+ GI.GLib.Structs.Queue: queueLength :: AttrLabelProxy "length"
+ GI.GLib.Structs.Queue: queueTail :: AttrLabelProxy "tail"
+ GI.GLib.Structs.Queue: queueWriteHead :: MonadIO m => Queue -> Ptr (GList (Ptr ())) -> m ()
+ GI.GLib.Structs.Queue: queueWriteLength :: MonadIO m => Queue -> Word32 -> m ()
+ GI.GLib.Structs.Queue: queueWriteTail :: MonadIO m => Queue -> Ptr (GList (Ptr ())) -> m ()
+ GI.GLib.Structs.RWLock: instance (info ~ ResolveRWLockMethod t RWLock, MethodInfo info RWLock p) => IsLabelProxy t (RWLock -> p)
+ GI.GLib.Structs.RWLock: instance (signature ~ m (), MonadIO m) => MethodInfo RWLockClearMethodInfo RWLock signature
+ GI.GLib.Structs.RWLock: instance (signature ~ m (), MonadIO m) => MethodInfo RWLockInitMethodInfo RWLock signature
+ GI.GLib.Structs.RWLock: instance (signature ~ m (), MonadIO m) => MethodInfo RWLockReaderLockMethodInfo RWLock signature
+ GI.GLib.Structs.RWLock: instance (signature ~ m (), MonadIO m) => MethodInfo RWLockReaderUnlockMethodInfo RWLock signature
+ GI.GLib.Structs.RWLock: instance (signature ~ m (), MonadIO m) => MethodInfo RWLockWriterLockMethodInfo RWLock signature
+ GI.GLib.Structs.RWLock: instance (signature ~ m (), MonadIO m) => MethodInfo RWLockWriterUnlockMethodInfo RWLock signature
+ GI.GLib.Structs.RWLock: instance (signature ~ m Bool, MonadIO m) => MethodInfo RWLockReaderTrylockMethodInfo RWLock signature
+ GI.GLib.Structs.RWLock: instance (signature ~ m Bool, MonadIO m) => MethodInfo RWLockWriterTrylockMethodInfo RWLock signature
+ GI.GLib.Structs.RWLock: instance tag ~ 'AttrSet => Constructible RWLock tag
+ GI.GLib.Structs.Rand: instance (info ~ ResolveRandMethod t Rand, MethodInfo info Rand p) => IsLabelProxy t (Rand -> p)
+ GI.GLib.Structs.Rand: instance (signature ~ (Double -> Double -> m Double), MonadIO m) => MethodInfo RandDoubleRangeMethodInfo Rand signature
+ GI.GLib.Structs.Rand: instance (signature ~ (Int32 -> Int32 -> m Int32), MonadIO m) => MethodInfo RandIntRangeMethodInfo Rand signature
+ GI.GLib.Structs.Rand: instance (signature ~ (Word32 -> Word32 -> m ()), MonadIO m) => MethodInfo RandSetSeedArrayMethodInfo Rand signature
+ GI.GLib.Structs.Rand: instance (signature ~ (Word32 -> m ()), MonadIO m) => MethodInfo RandSetSeedMethodInfo Rand signature
+ GI.GLib.Structs.Rand: instance (signature ~ m (), MonadIO m) => MethodInfo RandFreeMethodInfo Rand signature
+ GI.GLib.Structs.Rand: instance (signature ~ m Double, MonadIO m) => MethodInfo RandDoubleMethodInfo Rand signature
+ GI.GLib.Structs.Rand: instance (signature ~ m Word32, MonadIO m) => MethodInfo RandIntMethodInfo Rand signature
+ GI.GLib.Structs.RecMutex: instance (info ~ ResolveRecMutexMethod t RecMutex, MethodInfo info RecMutex p) => IsLabelProxy t (RecMutex -> p)
+ GI.GLib.Structs.RecMutex: instance (signature ~ m (), MonadIO m) => MethodInfo RecMutexClearMethodInfo RecMutex signature
+ GI.GLib.Structs.RecMutex: instance (signature ~ m (), MonadIO m) => MethodInfo RecMutexInitMethodInfo RecMutex signature
+ GI.GLib.Structs.RecMutex: instance (signature ~ m (), MonadIO m) => MethodInfo RecMutexLockMethodInfo RecMutex signature
+ GI.GLib.Structs.RecMutex: instance (signature ~ m (), MonadIO m) => MethodInfo RecMutexUnlockMethodInfo RecMutex signature
+ GI.GLib.Structs.RecMutex: instance (signature ~ m Bool, MonadIO m) => MethodInfo RecMutexTrylockMethodInfo RecMutex signature
+ GI.GLib.Structs.RecMutex: instance tag ~ 'AttrSet => Constructible RecMutex tag
+ GI.GLib.Structs.Regex: instance (info ~ ResolveRegexMethod t Regex, MethodInfo info Regex p) => IsLabelProxy t (Regex -> p)
+ GI.GLib.Structs.Regex: instance (signature ~ (Text -> [RegexMatchFlags] -> m (Bool, MatchInfo)), MonadIO m) => MethodInfo RegexMatchAllMethodInfo Regex signature
+ GI.GLib.Structs.Regex: instance (signature ~ (Text -> [RegexMatchFlags] -> m (Bool, MatchInfo)), MonadIO m) => MethodInfo RegexMatchMethodInfo Regex signature
+ GI.GLib.Structs.Regex: instance (signature ~ (Text -> [RegexMatchFlags] -> m [Text]), MonadIO m) => MethodInfo RegexSplitMethodInfo Regex signature
+ GI.GLib.Structs.Regex: instance (signature ~ (Text -> m Int32), MonadIO m) => MethodInfo RegexGetStringNumberMethodInfo Regex signature
+ GI.GLib.Structs.Regex: instance (signature ~ ([Text] -> Int32 -> Text -> [RegexMatchFlags] -> m Text), MonadIO m) => MethodInfo RegexReplaceLiteralMethodInfo Regex signature
+ GI.GLib.Structs.Regex: instance (signature ~ ([Text] -> Int32 -> Text -> [RegexMatchFlags] -> m Text), MonadIO m) => MethodInfo RegexReplaceMethodInfo Regex signature
+ GI.GLib.Structs.Regex: instance (signature ~ ([Text] -> Int32 -> [RegexMatchFlags] -> Int32 -> m [Text]), MonadIO m) => MethodInfo RegexSplitFullMethodInfo Regex signature
+ GI.GLib.Structs.Regex: instance (signature ~ ([Text] -> Int32 -> [RegexMatchFlags] -> m MatchInfo), MonadIO m) => MethodInfo RegexMatchAllFullMethodInfo Regex signature
+ GI.GLib.Structs.Regex: instance (signature ~ ([Text] -> Int32 -> [RegexMatchFlags] -> m MatchInfo), MonadIO m) => MethodInfo RegexMatchFullMethodInfo Regex signature
+ GI.GLib.Structs.Regex: instance (signature ~ m (), MonadIO m) => MethodInfo RegexUnrefMethodInfo Regex signature
+ GI.GLib.Structs.Regex: instance (signature ~ m Bool, MonadIO m) => MethodInfo RegexGetHasCrOrLfMethodInfo Regex signature
+ GI.GLib.Structs.Regex: instance (signature ~ m Int32, MonadIO m) => MethodInfo RegexGetCaptureCountMethodInfo Regex signature
+ GI.GLib.Structs.Regex: instance (signature ~ m Int32, MonadIO m) => MethodInfo RegexGetMaxBackrefMethodInfo Regex signature
+ GI.GLib.Structs.Regex: instance (signature ~ m Int32, MonadIO m) => MethodInfo RegexGetMaxLookbehindMethodInfo Regex signature
+ GI.GLib.Structs.Regex: instance (signature ~ m Regex, MonadIO m) => MethodInfo RegexRefMethodInfo Regex signature
+ GI.GLib.Structs.Regex: instance (signature ~ m Text, MonadIO m) => MethodInfo RegexGetPatternMethodInfo Regex signature
+ GI.GLib.Structs.Regex: instance (signature ~ m [RegexCompileFlags], MonadIO m) => MethodInfo RegexGetCompileFlagsMethodInfo Regex signature
+ GI.GLib.Structs.Regex: instance (signature ~ m [RegexMatchFlags], MonadIO m) => MethodInfo RegexGetMatchFlagsMethodInfo Regex signature
+ GI.GLib.Structs.Regex: instance BoxedObject Regex
+ GI.GLib.Structs.Scanner: instance (info ~ ResolveScannerMethod t Scanner, MethodInfo info Scanner p) => IsLabelProxy t (Scanner -> p)
+ GI.GLib.Structs.Scanner: instance (signature ~ (Int32 -> m ()), MonadIO m) => MethodInfo ScannerInputFileMethodInfo Scanner signature
+ GI.GLib.Structs.Scanner: instance (signature ~ (Text -> Word32 -> m ()), MonadIO m) => MethodInfo ScannerInputTextMethodInfo Scanner signature
+ GI.GLib.Structs.Scanner: instance (signature ~ (TokenType -> Text -> Text -> Text -> Text -> Int32 -> m ()), MonadIO m) => MethodInfo ScannerUnexpTokenMethodInfo Scanner signature
+ GI.GLib.Structs.Scanner: instance (signature ~ (Word32 -> Text -> Ptr () -> m ()), MonadIO m) => MethodInfo ScannerScopeAddSymbolMethodInfo Scanner signature
+ GI.GLib.Structs.Scanner: instance (signature ~ (Word32 -> Text -> m ()), MonadIO m) => MethodInfo ScannerScopeRemoveSymbolMethodInfo Scanner signature
+ GI.GLib.Structs.Scanner: instance (signature ~ (Word32 -> m Word32), MonadIO m) => MethodInfo ScannerSetScopeMethodInfo Scanner signature
+ GI.GLib.Structs.Scanner: instance (signature ~ m (), MonadIO m) => MethodInfo ScannerDestroyMethodInfo Scanner signature
+ GI.GLib.Structs.Scanner: instance (signature ~ m (), MonadIO m) => MethodInfo ScannerSyncFileOffsetMethodInfo Scanner signature
+ GI.GLib.Structs.Scanner: instance (signature ~ m Bool, MonadIO m) => MethodInfo ScannerEofMethodInfo Scanner signature
+ GI.GLib.Structs.Scanner: instance (signature ~ m TokenType, MonadIO m) => MethodInfo ScannerCurTokenMethodInfo Scanner signature
+ GI.GLib.Structs.Scanner: instance (signature ~ m TokenType, MonadIO m) => MethodInfo ScannerGetNextTokenMethodInfo Scanner signature
+ GI.GLib.Structs.Scanner: instance (signature ~ m TokenType, MonadIO m) => MethodInfo ScannerPeekNextTokenMethodInfo Scanner signature
+ GI.GLib.Structs.Scanner: instance (signature ~ m Word32, MonadIO m) => MethodInfo ScannerCurLineMethodInfo Scanner signature
+ GI.GLib.Structs.Scanner: instance (signature ~ m Word32, MonadIO m) => MethodInfo ScannerCurPositionMethodInfo Scanner signature
+ GI.GLib.Structs.Scanner: instance AttrInfo ScannerConfigFieldInfo
+ GI.GLib.Structs.Scanner: instance AttrInfo ScannerInputNameFieldInfo
+ GI.GLib.Structs.Scanner: instance AttrInfo ScannerLineFieldInfo
+ GI.GLib.Structs.Scanner: instance AttrInfo ScannerMaxParseErrorsFieldInfo
+ GI.GLib.Structs.Scanner: instance AttrInfo ScannerNextLineFieldInfo
+ GI.GLib.Structs.Scanner: instance AttrInfo ScannerNextPositionFieldInfo
+ GI.GLib.Structs.Scanner: instance AttrInfo ScannerNextTokenFieldInfo
+ GI.GLib.Structs.Scanner: instance AttrInfo ScannerNextValueFieldInfo
+ GI.GLib.Structs.Scanner: instance AttrInfo ScannerParseErrorsFieldInfo
+ GI.GLib.Structs.Scanner: instance AttrInfo ScannerPositionFieldInfo
+ GI.GLib.Structs.Scanner: instance AttrInfo ScannerQdataFieldInfo
+ GI.GLib.Structs.Scanner: instance AttrInfo ScannerTokenFieldInfo
+ GI.GLib.Structs.Scanner: instance AttrInfo ScannerUserDataFieldInfo
+ GI.GLib.Structs.Scanner: instance AttrInfo ScannerValueFieldInfo
+ GI.GLib.Structs.Scanner: instance tag ~ 'AttrSet => Constructible Scanner tag
+ GI.GLib.Structs.Scanner: scannerClearConfig :: MonadIO m => Scanner -> m ()
+ GI.GLib.Structs.Scanner: scannerClearInputName :: MonadIO m => Scanner -> m ()
+ GI.GLib.Structs.Scanner: scannerClearNextValue :: MonadIO m => Scanner -> m ()
+ GI.GLib.Structs.Scanner: scannerClearQdata :: MonadIO m => Scanner -> m ()
+ GI.GLib.Structs.Scanner: scannerClearUserData :: MonadIO m => Scanner -> m ()
+ GI.GLib.Structs.Scanner: scannerClearValue :: MonadIO m => Scanner -> m ()
+ GI.GLib.Structs.Scanner: scannerConfig :: AttrLabelProxy "config"
+ GI.GLib.Structs.Scanner: scannerInputName :: AttrLabelProxy "inputName"
+ GI.GLib.Structs.Scanner: scannerLine :: AttrLabelProxy "line"
+ GI.GLib.Structs.Scanner: scannerMaxParseErrors :: AttrLabelProxy "maxParseErrors"
+ GI.GLib.Structs.Scanner: scannerNextLine :: AttrLabelProxy "nextLine"
+ GI.GLib.Structs.Scanner: scannerNextPosition :: AttrLabelProxy "nextPosition"
+ GI.GLib.Structs.Scanner: scannerNextToken :: AttrLabelProxy "nextToken"
+ GI.GLib.Structs.Scanner: scannerNextValue :: AttrLabelProxy "nextValue"
+ GI.GLib.Structs.Scanner: scannerParseErrors :: AttrLabelProxy "parseErrors"
+ GI.GLib.Structs.Scanner: scannerPosition :: AttrLabelProxy "position"
+ GI.GLib.Structs.Scanner: scannerQdata :: AttrLabelProxy "qdata"
+ GI.GLib.Structs.Scanner: scannerToken :: AttrLabelProxy "token"
+ GI.GLib.Structs.Scanner: scannerUserData :: AttrLabelProxy "userData"
+ GI.GLib.Structs.Scanner: scannerValue :: AttrLabelProxy "value"
+ GI.GLib.Structs.Scanner: scannerWriteConfig :: MonadIO m => Scanner -> Ptr ScannerConfig -> m ()
+ GI.GLib.Structs.Scanner: scannerWriteInputName :: MonadIO m => Scanner -> CString -> m ()
+ GI.GLib.Structs.Scanner: scannerWriteLine :: MonadIO m => Scanner -> Word32 -> m ()
+ GI.GLib.Structs.Scanner: scannerWriteMaxParseErrors :: MonadIO m => Scanner -> Word32 -> m ()
+ GI.GLib.Structs.Scanner: scannerWriteNextLine :: MonadIO m => Scanner -> Word32 -> m ()
+ GI.GLib.Structs.Scanner: scannerWriteNextPosition :: MonadIO m => Scanner -> Word32 -> m ()
+ GI.GLib.Structs.Scanner: scannerWriteNextToken :: MonadIO m => Scanner -> TokenType -> m ()
+ GI.GLib.Structs.Scanner: scannerWriteNextValue :: MonadIO m => Scanner -> Ptr TokenValue -> m ()
+ GI.GLib.Structs.Scanner: scannerWriteParseErrors :: MonadIO m => Scanner -> Word32 -> m ()
+ GI.GLib.Structs.Scanner: scannerWritePosition :: MonadIO m => Scanner -> Word32 -> m ()
+ GI.GLib.Structs.Scanner: scannerWriteQdata :: MonadIO m => Scanner -> Ptr Data -> m ()
+ GI.GLib.Structs.Scanner: scannerWriteToken :: MonadIO m => Scanner -> TokenType -> m ()
+ GI.GLib.Structs.Scanner: scannerWriteUserData :: MonadIO m => Scanner -> Ptr () -> m ()
+ GI.GLib.Structs.Scanner: scannerWriteValue :: MonadIO m => Scanner -> Ptr TokenValue -> m ()
+ GI.GLib.Structs.ScannerConfig: instance (info ~ ResolveScannerConfigMethod t ScannerConfig, MethodInfo info ScannerConfig p) => IsLabelProxy t (ScannerConfig -> p)
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigCaseSensitiveFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigChar2TokenFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigCpairCommentSingleFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigCsetIdentifierFirstFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigCsetIdentifierNthFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigCsetSkipCharactersFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigIdentifier2StringFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigInt2FloatFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigNumbers2IntFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigScanBinaryFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigScanCommentMultiFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigScanFloatFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigScanHexDollarFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigScanHexFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigScanIdentifier1charFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigScanIdentifierFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigScanIdentifierNULLFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigScanOctalFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigScanStringDqFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigScanStringSqFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigScanSymbolsFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigScope0FallbackFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigSkipCommentMultiFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigSkipCommentSingleFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigStoreInt64FieldInfo
+ GI.GLib.Structs.ScannerConfig: instance AttrInfo ScannerConfigSymbol2TokenFieldInfo
+ GI.GLib.Structs.ScannerConfig: instance tag ~ 'AttrSet => Constructible ScannerConfig tag
+ GI.GLib.Structs.ScannerConfig: scannerConfigCaseSensitive :: AttrLabelProxy "caseSensitive"
+ GI.GLib.Structs.ScannerConfig: scannerConfigChar2Token :: AttrLabelProxy "char2Token"
+ GI.GLib.Structs.ScannerConfig: scannerConfigClearCpairCommentSingle :: MonadIO m => ScannerConfig -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigClearCsetIdentifierFirst :: MonadIO m => ScannerConfig -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigClearCsetIdentifierNth :: MonadIO m => ScannerConfig -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigClearCsetSkipCharacters :: MonadIO m => ScannerConfig -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigCpairCommentSingle :: AttrLabelProxy "cpairCommentSingle"
+ GI.GLib.Structs.ScannerConfig: scannerConfigCsetIdentifierFirst :: AttrLabelProxy "csetIdentifierFirst"
+ GI.GLib.Structs.ScannerConfig: scannerConfigCsetIdentifierNth :: AttrLabelProxy "csetIdentifierNth"
+ GI.GLib.Structs.ScannerConfig: scannerConfigCsetSkipCharacters :: AttrLabelProxy "csetSkipCharacters"
+ GI.GLib.Structs.ScannerConfig: scannerConfigIdentifier2String :: AttrLabelProxy "identifier2String"
+ GI.GLib.Structs.ScannerConfig: scannerConfigInt2Float :: AttrLabelProxy "int2Float"
+ GI.GLib.Structs.ScannerConfig: scannerConfigNumbers2Int :: AttrLabelProxy "numbers2Int"
+ GI.GLib.Structs.ScannerConfig: scannerConfigScanBinary :: AttrLabelProxy "scanBinary"
+ GI.GLib.Structs.ScannerConfig: scannerConfigScanCommentMulti :: AttrLabelProxy "scanCommentMulti"
+ GI.GLib.Structs.ScannerConfig: scannerConfigScanFloat :: AttrLabelProxy "scanFloat"
+ GI.GLib.Structs.ScannerConfig: scannerConfigScanHex :: AttrLabelProxy "scanHex"
+ GI.GLib.Structs.ScannerConfig: scannerConfigScanHexDollar :: AttrLabelProxy "scanHexDollar"
+ GI.GLib.Structs.ScannerConfig: scannerConfigScanIdentifier :: AttrLabelProxy "scanIdentifier"
+ GI.GLib.Structs.ScannerConfig: scannerConfigScanIdentifier1char :: AttrLabelProxy "scanIdentifier1char"
+ GI.GLib.Structs.ScannerConfig: scannerConfigScanIdentifierNULL :: AttrLabelProxy "scanIdentifierNULL"
+ GI.GLib.Structs.ScannerConfig: scannerConfigScanOctal :: AttrLabelProxy "scanOctal"
+ GI.GLib.Structs.ScannerConfig: scannerConfigScanStringDq :: AttrLabelProxy "scanStringDq"
+ GI.GLib.Structs.ScannerConfig: scannerConfigScanStringSq :: AttrLabelProxy "scanStringSq"
+ GI.GLib.Structs.ScannerConfig: scannerConfigScanSymbols :: AttrLabelProxy "scanSymbols"
+ GI.GLib.Structs.ScannerConfig: scannerConfigScope0Fallback :: AttrLabelProxy "scope0Fallback"
+ GI.GLib.Structs.ScannerConfig: scannerConfigSkipCommentMulti :: AttrLabelProxy "skipCommentMulti"
+ GI.GLib.Structs.ScannerConfig: scannerConfigSkipCommentSingle :: AttrLabelProxy "skipCommentSingle"
+ GI.GLib.Structs.ScannerConfig: scannerConfigStoreInt64 :: AttrLabelProxy "storeInt64"
+ GI.GLib.Structs.ScannerConfig: scannerConfigSymbol2Token :: AttrLabelProxy "symbol2Token"
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteCaseSensitive :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteChar2Token :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteCpairCommentSingle :: MonadIO m => ScannerConfig -> CString -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteCsetIdentifierFirst :: MonadIO m => ScannerConfig -> CString -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteCsetIdentifierNth :: MonadIO m => ScannerConfig -> CString -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteCsetSkipCharacters :: MonadIO m => ScannerConfig -> CString -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteIdentifier2String :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteInt2Float :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteNumbers2Int :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteScanBinary :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteScanCommentMulti :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteScanFloat :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteScanHex :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteScanHexDollar :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteScanIdentifier :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteScanIdentifier1char :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteScanIdentifierNULL :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteScanOctal :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteScanStringDq :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteScanStringSq :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteScanSymbols :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteScope0Fallback :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteSkipCommentMulti :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteSkipCommentSingle :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteStoreInt64 :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.ScannerConfig: scannerConfigWriteSymbol2Token :: MonadIO m => ScannerConfig -> Word32 -> m ()
+ GI.GLib.Structs.Sequence: instance (info ~ ResolveSequenceMethod t Sequence, MethodInfo info Sequence p) => IsLabelProxy t (Sequence -> p)
+ GI.GLib.Structs.Sequence: instance (signature ~ m (), MonadIO m) => MethodInfo SequenceFreeMethodInfo Sequence signature
+ GI.GLib.Structs.Sequence: instance (signature ~ m Int32, MonadIO m) => MethodInfo SequenceGetLengthMethodInfo Sequence signature
+ GI.GLib.Structs.SequenceIter: instance (info ~ ResolveSequenceIterMethod t SequenceIter, MethodInfo info SequenceIter p) => IsLabelProxy t (SequenceIter -> p)
+ GI.GLib.Structs.SequenceIter: instance (signature ~ (SequenceIter -> m Int32), MonadIO m) => MethodInfo SequenceIterCompareMethodInfo SequenceIter signature
+ GI.GLib.Structs.SequenceIter: instance (signature ~ m Bool, MonadIO m) => MethodInfo SequenceIterIsBeginMethodInfo SequenceIter signature
+ GI.GLib.Structs.SequenceIter: instance (signature ~ m Bool, MonadIO m) => MethodInfo SequenceIterIsEndMethodInfo SequenceIter signature
+ GI.GLib.Structs.SequenceIter: instance (signature ~ m Int32, MonadIO m) => MethodInfo SequenceIterGetPositionMethodInfo SequenceIter signature
+ GI.GLib.Structs.Source: instance (info ~ ResolveSourceMethod t Source, MethodInfo info Source p) => IsLabelProxy t (Source -> p)
+ GI.GLib.Structs.Source: instance (signature ~ (Bool -> m ()), MonadIO m) => MethodInfo SourceSetCanRecurseMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ (Int32 -> m ()), MonadIO m) => MethodInfo SourceSetPriorityMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ (Int64 -> m ()), MonadIO m) => MethodInfo SourceSetReadyTimeMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ (Maybe MainContext -> m Word32), MonadIO m) => MethodInfo SourceAttachMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ (PollFD -> m ()), MonadIO m) => MethodInfo SourceAddPollMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ (PollFD -> m ()), MonadIO m) => MethodInfo SourceRemovePollMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ (Ptr () -> SourceCallbackFuncs -> m ()), MonadIO m) => MethodInfo SourceSetCallbackIndirectMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ (Ptr () -> [IOCondition] -> m ()), MonadIO m) => MethodInfo SourceModifyUnixFdMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ (Ptr () -> m ()), MonadIO m) => MethodInfo SourceRemoveUnixFdMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ (Ptr () -> m [IOCondition]), MonadIO m) => MethodInfo SourceQueryUnixFdMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ (Source -> m ()), MonadIO m) => MethodInfo SourceAddChildSourceMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ (Source -> m ()), MonadIO m) => MethodInfo SourceRemoveChildSourceMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ (SourceFunc -> m ()), MonadIO m) => MethodInfo SourceSetCallbackMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ (SourceFuncs -> m ()), MonadIO m) => MethodInfo SourceSetFuncsMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ (Text -> m ()), MonadIO m) => MethodInfo SourceSetNameMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ (TimeVal -> m ()), MonadIO m) => MethodInfo SourceGetCurrentTimeMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ m (), MonadIO m) => MethodInfo SourceDestroyMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ m (), MonadIO m) => MethodInfo SourceUnrefMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ m Bool, MonadIO m) => MethodInfo SourceGetCanRecurseMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ m Bool, MonadIO m) => MethodInfo SourceIsDestroyedMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ m Int32, MonadIO m) => MethodInfo SourceGetPriorityMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ m Int64, MonadIO m) => MethodInfo SourceGetReadyTimeMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ m Int64, MonadIO m) => MethodInfo SourceGetTimeMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ m MainContext, MonadIO m) => MethodInfo SourceGetContextMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ m Source, MonadIO m) => MethodInfo SourceRefMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ m Text, MonadIO m) => MethodInfo SourceGetNameMethodInfo Source signature
+ GI.GLib.Structs.Source: instance (signature ~ m Word32, MonadIO m) => MethodInfo SourceGetIdMethodInfo Source signature
+ GI.GLib.Structs.Source: instance BoxedObject Source
+ GI.GLib.Structs.Source: instance tag ~ 'AttrSet => Constructible Source tag
+ GI.GLib.Structs.SourceCallbackFuncs: instance (info ~ ResolveSourceCallbackFuncsMethod t SourceCallbackFuncs, MethodInfo info SourceCallbackFuncs p) => IsLabelProxy t (SourceCallbackFuncs -> p)
+ GI.GLib.Structs.SourceCallbackFuncs: instance tag ~ 'AttrSet => Constructible SourceCallbackFuncs tag
+ GI.GLib.Structs.SourceFuncs: instance (info ~ ResolveSourceFuncsMethod t SourceFuncs, MethodInfo info SourceFuncs p) => IsLabelProxy t (SourceFuncs -> p)
+ GI.GLib.Structs.SourceFuncs: instance tag ~ 'AttrSet => Constructible SourceFuncs tag
+ GI.GLib.Structs.StatBuf: instance (info ~ ResolveStatBufMethod t StatBuf, MethodInfo info StatBuf p) => IsLabelProxy t (StatBuf -> p)
+ GI.GLib.Structs.String: instance (info ~ ResolveStringMethod t String, MethodInfo info String p) => IsLabelProxy t (String -> p)
+ GI.GLib.Structs.String: instance (signature ~ (Bool -> m (Maybe Text)), MonadIO m) => MethodInfo StringFreeMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ (Char -> m String), MonadIO m) => MethodInfo StringAppendUnicharMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ (Char -> m String), MonadIO m) => MethodInfo StringPrependUnicharMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ (Int64 -> Char -> m String), MonadIO m) => MethodInfo StringInsertUnicharMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ (Int64 -> Int64 -> m String), MonadIO m) => MethodInfo StringEraseMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ (Int64 -> Int8 -> m String), MonadIO m) => MethodInfo StringInsertCMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ (Int64 -> Text -> Int64 -> m String), MonadIO m) => MethodInfo StringInsertLenMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ (Int64 -> Text -> m String), MonadIO m) => MethodInfo StringInsertMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ (Int8 -> m String), MonadIO m) => MethodInfo StringAppendCMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ (Int8 -> m String), MonadIO m) => MethodInfo StringPrependCMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ (String -> m Bool), MonadIO m) => MethodInfo StringEqualMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ (Text -> Int64 -> m String), MonadIO m) => MethodInfo StringAppendLenMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ (Text -> Int64 -> m String), MonadIO m) => MethodInfo StringPrependLenMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ (Text -> Text -> Bool -> m String), MonadIO m) => MethodInfo StringAppendUriEscapedMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ (Text -> m String), MonadIO m) => MethodInfo StringAppendMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ (Text -> m String), MonadIO m) => MethodInfo StringAssignMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ (Text -> m String), MonadIO m) => MethodInfo StringPrependMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ (Word64 -> Text -> Int64 -> m String), MonadIO m) => MethodInfo StringOverwriteLenMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ (Word64 -> Text -> m String), MonadIO m) => MethodInfo StringOverwriteMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ (Word64 -> m String), MonadIO m) => MethodInfo StringSetSizeMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ (Word64 -> m String), MonadIO m) => MethodInfo StringTruncateMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ m Bytes, MonadIO m) => MethodInfo StringFreeToBytesMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ m String, MonadIO m) => MethodInfo StringAsciiDownMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ m String, MonadIO m) => MethodInfo StringAsciiUpMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ m String, MonadIO m) => MethodInfo StringDownMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ m String, MonadIO m) => MethodInfo StringUpMethodInfo String signature
+ GI.GLib.Structs.String: instance (signature ~ m Word32, MonadIO m) => MethodInfo StringHashMethodInfo String signature
+ GI.GLib.Structs.String: instance AttrInfo StringAllocatedLenFieldInfo
+ GI.GLib.Structs.String: instance AttrInfo StringLenFieldInfo
+ GI.GLib.Structs.String: instance AttrInfo StringStrFieldInfo
+ GI.GLib.Structs.String: instance BoxedObject String
+ GI.GLib.Structs.String: instance tag ~ 'AttrSet => Constructible String tag
+ GI.GLib.Structs.String: stringAllocatedLen :: AttrLabelProxy "allocatedLen"
+ GI.GLib.Structs.String: stringClearStr :: MonadIO m => String -> m ()
+ GI.GLib.Structs.String: stringLen :: AttrLabelProxy "len"
+ GI.GLib.Structs.String: stringStr :: AttrLabelProxy "str"
+ GI.GLib.Structs.String: stringWriteAllocatedLen :: MonadIO m => String -> Word64 -> m ()
+ GI.GLib.Structs.String: stringWriteLen :: MonadIO m => String -> Word64 -> m ()
+ GI.GLib.Structs.String: stringWriteStr :: MonadIO m => String -> CString -> m ()
+ GI.GLib.Structs.StringChunk: instance (info ~ ResolveStringChunkMethod t StringChunk, MethodInfo info StringChunk p) => IsLabelProxy t (StringChunk -> p)
+ GI.GLib.Structs.StringChunk: instance (signature ~ (Text -> Int64 -> m Text), MonadIO m) => MethodInfo StringChunkInsertLenMethodInfo StringChunk signature
+ GI.GLib.Structs.StringChunk: instance (signature ~ (Text -> m Text), MonadIO m) => MethodInfo StringChunkInsertConstMethodInfo StringChunk signature
+ GI.GLib.Structs.StringChunk: instance (signature ~ (Text -> m Text), MonadIO m) => MethodInfo StringChunkInsertMethodInfo StringChunk signature
+ GI.GLib.Structs.StringChunk: instance (signature ~ m (), MonadIO m) => MethodInfo StringChunkClearMethodInfo StringChunk signature
+ GI.GLib.Structs.StringChunk: instance (signature ~ m (), MonadIO m) => MethodInfo StringChunkFreeMethodInfo StringChunk signature
+ GI.GLib.Structs.TestCase: instance (info ~ ResolveTestCaseMethod t TestCase, MethodInfo info TestCase p) => IsLabelProxy t (TestCase -> p)
+ GI.GLib.Structs.TestConfig: instance (info ~ ResolveTestConfigMethod t TestConfig, MethodInfo info TestConfig p) => IsLabelProxy t (TestConfig -> p)
+ GI.GLib.Structs.TestConfig: instance AttrInfo TestConfigTestInitializedFieldInfo
+ GI.GLib.Structs.TestConfig: instance AttrInfo TestConfigTestPerfFieldInfo
+ GI.GLib.Structs.TestConfig: instance AttrInfo TestConfigTestQuickFieldInfo
+ GI.GLib.Structs.TestConfig: instance AttrInfo TestConfigTestQuietFieldInfo
+ GI.GLib.Structs.TestConfig: instance AttrInfo TestConfigTestUndefinedFieldInfo
+ GI.GLib.Structs.TestConfig: instance AttrInfo TestConfigTestVerboseFieldInfo
+ GI.GLib.Structs.TestConfig: instance tag ~ 'AttrSet => Constructible TestConfig tag
+ GI.GLib.Structs.TestConfig: testConfigTestInitialized :: AttrLabelProxy "testInitialized"
+ GI.GLib.Structs.TestConfig: testConfigTestPerf :: AttrLabelProxy "testPerf"
+ GI.GLib.Structs.TestConfig: testConfigTestQuick :: AttrLabelProxy "testQuick"
+ GI.GLib.Structs.TestConfig: testConfigTestQuiet :: AttrLabelProxy "testQuiet"
+ GI.GLib.Structs.TestConfig: testConfigTestUndefined :: AttrLabelProxy "testUndefined"
+ GI.GLib.Structs.TestConfig: testConfigTestVerbose :: AttrLabelProxy "testVerbose"
+ GI.GLib.Structs.TestConfig: testConfigWriteTestInitialized :: MonadIO m => TestConfig -> Bool -> m ()
+ GI.GLib.Structs.TestConfig: testConfigWriteTestPerf :: MonadIO m => TestConfig -> Bool -> m ()
+ GI.GLib.Structs.TestConfig: testConfigWriteTestQuick :: MonadIO m => TestConfig -> Bool -> m ()
+ GI.GLib.Structs.TestConfig: testConfigWriteTestQuiet :: MonadIO m => TestConfig -> Bool -> m ()
+ GI.GLib.Structs.TestConfig: testConfigWriteTestUndefined :: MonadIO m => TestConfig -> Bool -> m ()
+ GI.GLib.Structs.TestConfig: testConfigWriteTestVerbose :: MonadIO m => TestConfig -> Bool -> m ()
+ GI.GLib.Structs.TestLogBuffer: instance (info ~ ResolveTestLogBufferMethod t TestLogBuffer, MethodInfo info TestLogBuffer p) => IsLabelProxy t (TestLogBuffer -> p)
+ GI.GLib.Structs.TestLogBuffer: instance (signature ~ (Word32 -> Word8 -> m ()), MonadIO m) => MethodInfo TestLogBufferPushMethodInfo TestLogBuffer signature
+ GI.GLib.Structs.TestLogBuffer: instance (signature ~ m (), MonadIO m) => MethodInfo TestLogBufferFreeMethodInfo TestLogBuffer signature
+ GI.GLib.Structs.TestLogBuffer: instance tag ~ 'AttrSet => Constructible TestLogBuffer tag
+ GI.GLib.Structs.TestLogMsg: instance (info ~ ResolveTestLogMsgMethod t TestLogMsg, MethodInfo info TestLogMsg p) => IsLabelProxy t (TestLogMsg -> p)
+ GI.GLib.Structs.TestLogMsg: instance (signature ~ m (), MonadIO m) => MethodInfo TestLogMsgFreeMethodInfo TestLogMsg signature
+ GI.GLib.Structs.TestLogMsg: instance AttrInfo TestLogMsgLogTypeFieldInfo
+ GI.GLib.Structs.TestLogMsg: instance AttrInfo TestLogMsgNNumsFieldInfo
+ GI.GLib.Structs.TestLogMsg: instance AttrInfo TestLogMsgNStringsFieldInfo
+ GI.GLib.Structs.TestLogMsg: instance AttrInfo TestLogMsgNumsFieldInfo
+ GI.GLib.Structs.TestLogMsg: instance AttrInfo TestLogMsgStringsFieldInfo
+ GI.GLib.Structs.TestLogMsg: instance tag ~ 'AttrSet => Constructible TestLogMsg tag
+ GI.GLib.Structs.TestLogMsg: testLogMsgClearStrings :: MonadIO m => TestLogMsg -> m ()
+ GI.GLib.Structs.TestLogMsg: testLogMsgLogType :: AttrLabelProxy "logType"
+ GI.GLib.Structs.TestLogMsg: testLogMsgNNums :: AttrLabelProxy "nNums"
+ GI.GLib.Structs.TestLogMsg: testLogMsgNStrings :: AttrLabelProxy "nStrings"
+ GI.GLib.Structs.TestLogMsg: testLogMsgNums :: AttrLabelProxy "nums"
+ GI.GLib.Structs.TestLogMsg: testLogMsgStrings :: AttrLabelProxy "strings"
+ GI.GLib.Structs.TestLogMsg: testLogMsgWriteLogType :: MonadIO m => TestLogMsg -> TestLogType -> m ()
+ GI.GLib.Structs.TestLogMsg: testLogMsgWriteNNums :: MonadIO m => TestLogMsg -> Word32 -> m ()
+ GI.GLib.Structs.TestLogMsg: testLogMsgWriteNStrings :: MonadIO m => TestLogMsg -> Word32 -> m ()
+ GI.GLib.Structs.TestLogMsg: testLogMsgWriteNums :: MonadIO m => TestLogMsg -> CLong -> m ()
+ GI.GLib.Structs.TestLogMsg: testLogMsgWriteStrings :: MonadIO m => TestLogMsg -> CString -> m ()
+ GI.GLib.Structs.TestSuite: instance (info ~ ResolveTestSuiteMethod t TestSuite, MethodInfo info TestSuite p) => IsLabelProxy t (TestSuite -> p)
+ GI.GLib.Structs.TestSuite: instance (signature ~ (TestCase -> m ()), MonadIO m) => MethodInfo TestSuiteAddMethodInfo TestSuite signature
+ GI.GLib.Structs.TestSuite: instance (signature ~ (TestSuite -> m ()), MonadIO m) => MethodInfo TestSuiteAddSuiteMethodInfo TestSuite signature
+ GI.GLib.Structs.Thread: instance (info ~ ResolveThreadMethod t Thread, MethodInfo info Thread p) => IsLabelProxy t (Thread -> p)
+ GI.GLib.Structs.Thread: instance (signature ~ m (), MonadIO m) => MethodInfo ThreadUnrefMethodInfo Thread signature
+ GI.GLib.Structs.Thread: instance (signature ~ m Thread, MonadIO m) => MethodInfo ThreadRefMethodInfo Thread signature
+ GI.GLib.Structs.Thread: instance BoxedObject Thread
+ GI.GLib.Structs.ThreadPool: instance (info ~ ResolveThreadPoolMethod t ThreadPool, MethodInfo info ThreadPool p) => IsLabelProxy t (ThreadPool -> p)
+ GI.GLib.Structs.ThreadPool: instance (signature ~ (Bool -> Bool -> m ()), MonadIO m) => MethodInfo ThreadPoolFreeMethodInfo ThreadPool signature
+ GI.GLib.Structs.ThreadPool: instance (signature ~ (Int32 -> m ()), MonadIO m) => MethodInfo ThreadPoolSetMaxThreadsMethodInfo ThreadPool signature
+ GI.GLib.Structs.ThreadPool: instance (signature ~ (Ptr () -> m ()), MonadIO m) => MethodInfo ThreadPoolPushMethodInfo ThreadPool signature
+ GI.GLib.Structs.ThreadPool: instance (signature ~ (Ptr () -> m Bool), MonadIO m) => MethodInfo ThreadPoolMoveToFrontMethodInfo ThreadPool signature
+ GI.GLib.Structs.ThreadPool: instance (signature ~ m Int32, MonadIO m) => MethodInfo ThreadPoolGetMaxThreadsMethodInfo ThreadPool signature
+ GI.GLib.Structs.ThreadPool: instance (signature ~ m Word32, MonadIO m) => MethodInfo ThreadPoolGetNumThreadsMethodInfo ThreadPool signature
+ GI.GLib.Structs.ThreadPool: instance (signature ~ m Word32, MonadIO m) => MethodInfo ThreadPoolUnprocessedMethodInfo ThreadPool signature
+ GI.GLib.Structs.ThreadPool: instance AttrInfo ThreadPoolExclusiveFieldInfo
+ GI.GLib.Structs.ThreadPool: instance AttrInfo ThreadPoolUserDataFieldInfo
+ GI.GLib.Structs.ThreadPool: instance tag ~ 'AttrSet => Constructible ThreadPool tag
+ GI.GLib.Structs.ThreadPool: threadPoolClearUserData :: MonadIO m => ThreadPool -> m ()
+ GI.GLib.Structs.ThreadPool: threadPoolExclusive :: AttrLabelProxy "exclusive"
+ GI.GLib.Structs.ThreadPool: threadPoolUserData :: AttrLabelProxy "userData"
+ GI.GLib.Structs.ThreadPool: threadPoolWriteExclusive :: MonadIO m => ThreadPool -> Bool -> m ()
+ GI.GLib.Structs.ThreadPool: threadPoolWriteUserData :: MonadIO m => ThreadPool -> Ptr () -> m ()
+ GI.GLib.Structs.TimeVal: instance (info ~ ResolveTimeValMethod t TimeVal, MethodInfo info TimeVal p) => IsLabelProxy t (TimeVal -> p)
+ GI.GLib.Structs.TimeVal: instance (signature ~ (CLong -> m ()), MonadIO m) => MethodInfo TimeValAddMethodInfo TimeVal signature
+ GI.GLib.Structs.TimeVal: instance (signature ~ m Text, MonadIO m) => MethodInfo TimeValToIso8601MethodInfo TimeVal signature
+ GI.GLib.Structs.TimeVal: instance AttrInfo TimeValTvSecFieldInfo
+ GI.GLib.Structs.TimeVal: instance AttrInfo TimeValTvUsecFieldInfo
+ GI.GLib.Structs.TimeVal: instance tag ~ 'AttrSet => Constructible TimeVal tag
+ GI.GLib.Structs.TimeVal: timeValTvSec :: AttrLabelProxy "tvSec"
+ GI.GLib.Structs.TimeVal: timeValTvUsec :: AttrLabelProxy "tvUsec"
+ GI.GLib.Structs.TimeVal: timeValWriteTvSec :: MonadIO m => TimeVal -> CLong -> m ()
+ GI.GLib.Structs.TimeVal: timeValWriteTvUsec :: MonadIO m => TimeVal -> CLong -> m ()
+ GI.GLib.Structs.TimeZone: instance (info ~ ResolveTimeZoneMethod t TimeZone, MethodInfo info TimeZone p) => IsLabelProxy t (TimeZone -> p)
+ GI.GLib.Structs.TimeZone: instance (signature ~ (Int32 -> m Bool), MonadIO m) => MethodInfo TimeZoneIsDstMethodInfo TimeZone signature
+ GI.GLib.Structs.TimeZone: instance (signature ~ (Int32 -> m Int32), MonadIO m) => MethodInfo TimeZoneGetOffsetMethodInfo TimeZone signature
+ GI.GLib.Structs.TimeZone: instance (signature ~ (Int32 -> m Text), MonadIO m) => MethodInfo TimeZoneGetAbbreviationMethodInfo TimeZone signature
+ GI.GLib.Structs.TimeZone: instance (signature ~ (TimeType -> Int64 -> m Int32), MonadIO m) => MethodInfo TimeZoneAdjustTimeMethodInfo TimeZone signature
+ GI.GLib.Structs.TimeZone: instance (signature ~ (TimeType -> Int64 -> m Int32), MonadIO m) => MethodInfo TimeZoneFindIntervalMethodInfo TimeZone signature
+ GI.GLib.Structs.TimeZone: instance (signature ~ m (), MonadIO m) => MethodInfo TimeZoneUnrefMethodInfo TimeZone signature
+ GI.GLib.Structs.TimeZone: instance (signature ~ m TimeZone, MonadIO m) => MethodInfo TimeZoneRefMethodInfo TimeZone signature
+ GI.GLib.Structs.TimeZone: instance BoxedObject TimeZone
+ GI.GLib.Structs.Timer: instance (info ~ ResolveTimerMethod t Timer, MethodInfo info Timer p) => IsLabelProxy t (Timer -> p)
+ GI.GLib.Structs.Timer: instance (signature ~ (CULong -> m Double), MonadIO m) => MethodInfo TimerElapsedMethodInfo Timer signature
+ GI.GLib.Structs.Timer: instance (signature ~ m (), MonadIO m) => MethodInfo TimerContinueMethodInfo Timer signature
+ GI.GLib.Structs.Timer: instance (signature ~ m (), MonadIO m) => MethodInfo TimerDestroyMethodInfo Timer signature
+ GI.GLib.Structs.Timer: instance (signature ~ m (), MonadIO m) => MethodInfo TimerResetMethodInfo Timer signature
+ GI.GLib.Structs.Timer: instance (signature ~ m (), MonadIO m) => MethodInfo TimerStartMethodInfo Timer signature
+ GI.GLib.Structs.Timer: instance (signature ~ m (), MonadIO m) => MethodInfo TimerStopMethodInfo Timer signature
+ GI.GLib.Structs.TrashStack: instance (info ~ ResolveTrashStackMethod t TrashStack, MethodInfo info TrashStack p) => IsLabelProxy t (TrashStack -> p)
+ GI.GLib.Structs.TrashStack: instance AttrInfo TrashStackNextFieldInfo
+ GI.GLib.Structs.TrashStack: instance tag ~ 'AttrSet => Constructible TrashStack tag
+ GI.GLib.Structs.TrashStack: trashStackClearNext :: MonadIO m => TrashStack -> m ()
+ GI.GLib.Structs.TrashStack: trashStackNext :: AttrLabelProxy "next"
+ GI.GLib.Structs.TrashStack: trashStackWriteNext :: MonadIO m => TrashStack -> Ptr TrashStack -> m ()
+ GI.GLib.Structs.Tree: instance (info ~ ResolveTreeMethod t Tree, MethodInfo info Tree p) => IsLabelProxy t (Tree -> p)
+ GI.GLib.Structs.Tree: instance (signature ~ (Ptr () -> Ptr () -> Ptr () -> m Bool), MonadIO m) => MethodInfo TreeLookupExtendedMethodInfo Tree signature
+ GI.GLib.Structs.Tree: instance (signature ~ (Ptr () -> Ptr () -> m ()), MonadIO m) => MethodInfo TreeInsertMethodInfo Tree signature
+ GI.GLib.Structs.Tree: instance (signature ~ (Ptr () -> Ptr () -> m ()), MonadIO m) => MethodInfo TreeReplaceMethodInfo Tree signature
+ GI.GLib.Structs.Tree: instance (signature ~ (Ptr () -> m Bool), MonadIO m) => MethodInfo TreeRemoveMethodInfo Tree signature
+ GI.GLib.Structs.Tree: instance (signature ~ (Ptr () -> m Bool), MonadIO m) => MethodInfo TreeStealMethodInfo Tree signature
+ GI.GLib.Structs.Tree: instance (signature ~ m (), MonadIO m) => MethodInfo TreeDestroyMethodInfo Tree signature
+ GI.GLib.Structs.Tree: instance (signature ~ m (), MonadIO m) => MethodInfo TreeUnrefMethodInfo Tree signature
+ GI.GLib.Structs.Tree: instance (signature ~ m Int32, MonadIO m) => MethodInfo TreeHeightMethodInfo Tree signature
+ GI.GLib.Structs.Tree: instance (signature ~ m Int32, MonadIO m) => MethodInfo TreeNnodesMethodInfo Tree signature
+ GI.GLib.Structs.VariantBuilder: instance (info ~ ResolveVariantBuilderMethod t VariantBuilder, MethodInfo info VariantBuilder p) => IsLabelProxy t (VariantBuilder -> p)
+ GI.GLib.Structs.VariantBuilder: instance (signature ~ (GVariant -> m ()), MonadIO m) => MethodInfo VariantBuilderAddValueMethodInfo VariantBuilder signature
+ GI.GLib.Structs.VariantBuilder: instance (signature ~ (VariantType -> m ()), MonadIO m) => MethodInfo VariantBuilderOpenMethodInfo VariantBuilder signature
+ GI.GLib.Structs.VariantBuilder: instance (signature ~ m (), MonadIO m) => MethodInfo VariantBuilderCloseMethodInfo VariantBuilder signature
+ GI.GLib.Structs.VariantBuilder: instance (signature ~ m (), MonadIO m) => MethodInfo VariantBuilderUnrefMethodInfo VariantBuilder signature
+ GI.GLib.Structs.VariantBuilder: instance (signature ~ m GVariant, MonadIO m) => MethodInfo VariantBuilderEndMethodInfo VariantBuilder signature
+ GI.GLib.Structs.VariantBuilder: instance (signature ~ m VariantBuilder, MonadIO m) => MethodInfo VariantBuilderRefMethodInfo VariantBuilder signature
+ GI.GLib.Structs.VariantBuilder: instance BoxedObject VariantBuilder
+ GI.GLib.Structs.VariantBuilder: instance tag ~ 'AttrSet => Constructible VariantBuilder tag
+ GI.GLib.Structs.VariantDict: instance (info ~ ResolveVariantDictMethod t VariantDict, MethodInfo info VariantDict p) => IsLabelProxy t (VariantDict -> p)
+ GI.GLib.Structs.VariantDict: instance (signature ~ (Text -> GVariant -> m ()), MonadIO m) => MethodInfo VariantDictInsertValueMethodInfo VariantDict signature
+ GI.GLib.Structs.VariantDict: instance (signature ~ (Text -> Maybe VariantType -> m GVariant), MonadIO m) => MethodInfo VariantDictLookupValueMethodInfo VariantDict signature
+ GI.GLib.Structs.VariantDict: instance (signature ~ (Text -> m Bool), MonadIO m) => MethodInfo VariantDictContainsMethodInfo VariantDict signature
+ GI.GLib.Structs.VariantDict: instance (signature ~ (Text -> m Bool), MonadIO m) => MethodInfo VariantDictRemoveMethodInfo VariantDict signature
+ GI.GLib.Structs.VariantDict: instance (signature ~ m (), MonadIO m) => MethodInfo VariantDictClearMethodInfo VariantDict signature
+ GI.GLib.Structs.VariantDict: instance (signature ~ m (), MonadIO m) => MethodInfo VariantDictUnrefMethodInfo VariantDict signature
+ GI.GLib.Structs.VariantDict: instance (signature ~ m GVariant, MonadIO m) => MethodInfo VariantDictEndMethodInfo VariantDict signature
+ GI.GLib.Structs.VariantDict: instance (signature ~ m VariantDict, MonadIO m) => MethodInfo VariantDictRefMethodInfo VariantDict signature
+ GI.GLib.Structs.VariantDict: instance BoxedObject VariantDict
+ GI.GLib.Structs.VariantDict: instance tag ~ 'AttrSet => Constructible VariantDict tag
+ GI.GLib.Structs.VariantType: instance (info ~ ResolveVariantTypeMethod t VariantType, MethodInfo info VariantType p) => IsLabelProxy t (VariantType -> p)
+ GI.GLib.Structs.VariantType: instance (signature ~ (VariantType -> m Bool), MonadIO m) => MethodInfo VariantTypeEqualMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance (signature ~ (VariantType -> m Bool), MonadIO m) => MethodInfo VariantTypeIsSubtypeOfMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance (signature ~ m (), MonadIO m) => MethodInfo VariantTypeFreeMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance (signature ~ m Bool, MonadIO m) => MethodInfo VariantTypeIsArrayMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance (signature ~ m Bool, MonadIO m) => MethodInfo VariantTypeIsBasicMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance (signature ~ m Bool, MonadIO m) => MethodInfo VariantTypeIsContainerMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance (signature ~ m Bool, MonadIO m) => MethodInfo VariantTypeIsDefiniteMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance (signature ~ m Bool, MonadIO m) => MethodInfo VariantTypeIsDictEntryMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance (signature ~ m Bool, MonadIO m) => MethodInfo VariantTypeIsMaybeMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance (signature ~ m Bool, MonadIO m) => MethodInfo VariantTypeIsTupleMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance (signature ~ m Bool, MonadIO m) => MethodInfo VariantTypeIsVariantMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance (signature ~ m Text, MonadIO m) => MethodInfo VariantTypeDupStringMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance (signature ~ m VariantType, MonadIO m) => MethodInfo VariantTypeCopyMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance (signature ~ m VariantType, MonadIO m) => MethodInfo VariantTypeElementMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance (signature ~ m VariantType, MonadIO m) => MethodInfo VariantTypeFirstMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance (signature ~ m VariantType, MonadIO m) => MethodInfo VariantTypeKeyMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance (signature ~ m VariantType, MonadIO m) => MethodInfo VariantTypeNextMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance (signature ~ m VariantType, MonadIO m) => MethodInfo VariantTypeValueMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance (signature ~ m Word32, MonadIO m) => MethodInfo VariantTypeHashMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance (signature ~ m Word64, MonadIO m) => MethodInfo VariantTypeGetStringLengthMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance (signature ~ m Word64, MonadIO m) => MethodInfo VariantTypeNItemsMethodInfo VariantType signature
+ GI.GLib.Structs.VariantType: instance BoxedObject VariantType
+ GI.GLib.Unions.DoubleIEEE754: doubleIEEE754VDouble :: AttrLabelProxy "vDouble"
+ GI.GLib.Unions.DoubleIEEE754: doubleIEEE754WriteVDouble :: MonadIO m => DoubleIEEE754 -> Double -> m ()
+ GI.GLib.Unions.DoubleIEEE754: instance (info ~ ResolveDoubleIEEE754Method t DoubleIEEE754, MethodInfo info DoubleIEEE754 p) => IsLabelProxy t (DoubleIEEE754 -> p)
+ GI.GLib.Unions.DoubleIEEE754: instance AttrInfo DoubleIEEE754VDoubleFieldInfo
+ GI.GLib.Unions.DoubleIEEE754: instance tag ~ 'AttrSet => Constructible DoubleIEEE754 tag
+ GI.GLib.Unions.FloatIEEE754: floatIEEE754VFloat :: AttrLabelProxy "vFloat"
+ GI.GLib.Unions.FloatIEEE754: floatIEEE754WriteVFloat :: MonadIO m => FloatIEEE754 -> Float -> m ()
+ GI.GLib.Unions.FloatIEEE754: instance (info ~ ResolveFloatIEEE754Method t FloatIEEE754, MethodInfo info FloatIEEE754 p) => IsLabelProxy t (FloatIEEE754 -> p)
+ GI.GLib.Unions.FloatIEEE754: instance AttrInfo FloatIEEE754VFloatFieldInfo
+ GI.GLib.Unions.FloatIEEE754: instance tag ~ 'AttrSet => Constructible FloatIEEE754 tag
+ GI.GLib.Unions.Mutex: instance (info ~ ResolveMutexMethod t Mutex, MethodInfo info Mutex p) => IsLabelProxy t (Mutex -> p)
+ GI.GLib.Unions.Mutex: instance (signature ~ m (), MonadIO m) => MethodInfo MutexClearMethodInfo Mutex signature
+ GI.GLib.Unions.Mutex: instance (signature ~ m (), MonadIO m) => MethodInfo MutexInitMethodInfo Mutex signature
+ GI.GLib.Unions.Mutex: instance (signature ~ m (), MonadIO m) => MethodInfo MutexLockMethodInfo Mutex signature
+ GI.GLib.Unions.Mutex: instance (signature ~ m (), MonadIO m) => MethodInfo MutexUnlockMethodInfo Mutex signature
+ GI.GLib.Unions.Mutex: instance (signature ~ m Bool, MonadIO m) => MethodInfo MutexTrylockMethodInfo Mutex signature
+ GI.GLib.Unions.Mutex: instance tag ~ 'AttrSet => Constructible Mutex tag
+ GI.GLib.Unions.TokenValue: instance (info ~ ResolveTokenValueMethod t TokenValue, MethodInfo info TokenValue p) => IsLabelProxy t (TokenValue -> p)
+ GI.GLib.Unions.TokenValue: instance AttrInfo TokenValueVBinaryFieldInfo
+ GI.GLib.Unions.TokenValue: instance AttrInfo TokenValueVCharFieldInfo
+ GI.GLib.Unions.TokenValue: instance AttrInfo TokenValueVCommentFieldInfo
+ GI.GLib.Unions.TokenValue: instance AttrInfo TokenValueVErrorFieldInfo
+ GI.GLib.Unions.TokenValue: instance AttrInfo TokenValueVFloatFieldInfo
+ GI.GLib.Unions.TokenValue: instance AttrInfo TokenValueVHexFieldInfo
+ GI.GLib.Unions.TokenValue: instance AttrInfo TokenValueVIdentifierFieldInfo
+ GI.GLib.Unions.TokenValue: instance AttrInfo TokenValueVInt64FieldInfo
+ GI.GLib.Unions.TokenValue: instance AttrInfo TokenValueVIntFieldInfo
+ GI.GLib.Unions.TokenValue: instance AttrInfo TokenValueVOctalFieldInfo
+ GI.GLib.Unions.TokenValue: instance AttrInfo TokenValueVStringFieldInfo
+ GI.GLib.Unions.TokenValue: instance AttrInfo TokenValueVSymbolFieldInfo
+ GI.GLib.Unions.TokenValue: instance tag ~ 'AttrSet => Constructible TokenValue tag
+ GI.GLib.Unions.TokenValue: tokenValueClearVComment :: MonadIO m => TokenValue -> m ()
+ GI.GLib.Unions.TokenValue: tokenValueClearVIdentifier :: MonadIO m => TokenValue -> m ()
+ GI.GLib.Unions.TokenValue: tokenValueClearVString :: MonadIO m => TokenValue -> m ()
+ GI.GLib.Unions.TokenValue: tokenValueClearVSymbol :: MonadIO m => TokenValue -> m ()
+ GI.GLib.Unions.TokenValue: tokenValueVBinary :: AttrLabelProxy "vBinary"
+ GI.GLib.Unions.TokenValue: tokenValueVChar :: AttrLabelProxy "vChar"
+ GI.GLib.Unions.TokenValue: tokenValueVComment :: AttrLabelProxy "vComment"
+ GI.GLib.Unions.TokenValue: tokenValueVError :: AttrLabelProxy "vError"
+ GI.GLib.Unions.TokenValue: tokenValueVFloat :: AttrLabelProxy "vFloat"
+ GI.GLib.Unions.TokenValue: tokenValueVHex :: AttrLabelProxy "vHex"
+ GI.GLib.Unions.TokenValue: tokenValueVIdentifier :: AttrLabelProxy "vIdentifier"
+ GI.GLib.Unions.TokenValue: tokenValueVInt :: AttrLabelProxy "vInt"
+ GI.GLib.Unions.TokenValue: tokenValueVInt64 :: AttrLabelProxy "vInt64"
+ GI.GLib.Unions.TokenValue: tokenValueVOctal :: AttrLabelProxy "vOctal"
+ GI.GLib.Unions.TokenValue: tokenValueVString :: AttrLabelProxy "vString"
+ GI.GLib.Unions.TokenValue: tokenValueVSymbol :: AttrLabelProxy "vSymbol"
+ GI.GLib.Unions.TokenValue: tokenValueWriteVBinary :: MonadIO m => TokenValue -> CULong -> m ()
+ GI.GLib.Unions.TokenValue: tokenValueWriteVChar :: MonadIO m => TokenValue -> Word8 -> m ()
+ GI.GLib.Unions.TokenValue: tokenValueWriteVComment :: MonadIO m => TokenValue -> CString -> m ()
+ GI.GLib.Unions.TokenValue: tokenValueWriteVError :: MonadIO m => TokenValue -> Word32 -> m ()
+ GI.GLib.Unions.TokenValue: tokenValueWriteVFloat :: MonadIO m => TokenValue -> Double -> m ()
+ GI.GLib.Unions.TokenValue: tokenValueWriteVHex :: MonadIO m => TokenValue -> CULong -> m ()
+ GI.GLib.Unions.TokenValue: tokenValueWriteVIdentifier :: MonadIO m => TokenValue -> CString -> m ()
+ GI.GLib.Unions.TokenValue: tokenValueWriteVInt :: MonadIO m => TokenValue -> CULong -> m ()
+ GI.GLib.Unions.TokenValue: tokenValueWriteVInt64 :: MonadIO m => TokenValue -> Word64 -> m ()
+ GI.GLib.Unions.TokenValue: tokenValueWriteVOctal :: MonadIO m => TokenValue -> CULong -> m ()
+ GI.GLib.Unions.TokenValue: tokenValueWriteVString :: MonadIO m => TokenValue -> CString -> m ()
+ GI.GLib.Unions.TokenValue: tokenValueWriteVSymbol :: MonadIO m => TokenValue -> Ptr () -> m ()
- GI.GLib.Functions: access :: (MonadIO m) => Text -> Int32 -> m Int32
+ GI.GLib.Functions: access :: MonadIO m => Text -> Int32 -> m Int32
- GI.GLib.Functions: asciiDigitValue :: (MonadIO m) => Int8 -> m Int32
+ GI.GLib.Functions: asciiDigitValue :: MonadIO m => Int8 -> m Int32
- GI.GLib.Functions: asciiDtostr :: (MonadIO m) => Text -> Int32 -> Double -> m Text
+ GI.GLib.Functions: asciiDtostr :: MonadIO m => Text -> Int32 -> Double -> m Text
- GI.GLib.Functions: asciiFormatd :: (MonadIO m) => Text -> Int32 -> Text -> Double -> m Text
+ GI.GLib.Functions: asciiFormatd :: MonadIO m => Text -> Int32 -> Text -> Double -> m Text
- GI.GLib.Functions: asciiStrcasecmp :: (MonadIO m) => Text -> Text -> m Int32
+ GI.GLib.Functions: asciiStrcasecmp :: MonadIO m => Text -> Text -> m Int32
- GI.GLib.Functions: asciiStrdown :: (MonadIO m) => Text -> Int64 -> m Text
+ GI.GLib.Functions: asciiStrdown :: MonadIO m => Text -> Int64 -> m Text
- GI.GLib.Functions: asciiStrncasecmp :: (MonadIO m) => Text -> Text -> Word64 -> m Int32
+ GI.GLib.Functions: asciiStrncasecmp :: MonadIO m => Text -> Text -> Word64 -> m Int32
- GI.GLib.Functions: asciiStrtod :: (MonadIO m) => Text -> Text -> m Double
+ GI.GLib.Functions: asciiStrtod :: MonadIO m => Text -> Text -> m Double
- GI.GLib.Functions: asciiStrtoll :: (MonadIO m) => Text -> Text -> Word32 -> m Int64
+ GI.GLib.Functions: asciiStrtoll :: MonadIO m => Text -> Text -> Word32 -> m Int64
- GI.GLib.Functions: asciiStrtoull :: (MonadIO m) => Text -> Text -> Word32 -> m Word64
+ GI.GLib.Functions: asciiStrtoull :: MonadIO m => Text -> Text -> Word32 -> m Word64
- GI.GLib.Functions: asciiStrup :: (MonadIO m) => Text -> Int64 -> m Text
+ GI.GLib.Functions: asciiStrup :: MonadIO m => Text -> Int64 -> m Text
- GI.GLib.Functions: asciiTolower :: (MonadIO m) => Int8 -> m Int8
+ GI.GLib.Functions: asciiTolower :: MonadIO m => Int8 -> m Int8
- GI.GLib.Functions: asciiToupper :: (MonadIO m) => Int8 -> m Int8
+ GI.GLib.Functions: asciiToupper :: MonadIO m => Int8 -> m Int8
- GI.GLib.Functions: asciiXdigitValue :: (MonadIO m) => Int8 -> m Int32
+ GI.GLib.Functions: asciiXdigitValue :: MonadIO m => Int8 -> m Int32
- GI.GLib.Functions: assertWarning :: (MonadIO m) => Text -> Text -> Int32 -> Text -> Text -> m ()
+ GI.GLib.Functions: assertWarning :: MonadIO m => Text -> Text -> Int32 -> Text -> Text -> m ()
- GI.GLib.Functions: assertionMessage :: (MonadIO m) => Text -> Text -> Int32 -> Text -> Text -> m ()
+ GI.GLib.Functions: assertionMessage :: MonadIO m => Text -> Text -> Int32 -> Text -> Text -> m ()
- GI.GLib.Functions: assertionMessageCmpstr :: (MonadIO m) => Text -> Text -> Int32 -> Text -> Text -> Text -> Text -> Text -> m ()
+ GI.GLib.Functions: assertionMessageCmpstr :: MonadIO m => Text -> Text -> Int32 -> Text -> Text -> Text -> Text -> Text -> m ()
- GI.GLib.Functions: assertionMessageError :: (MonadIO m) => Text -> Text -> Int32 -> Text -> Text -> GError -> Word32 -> Int32 -> m ()
+ GI.GLib.Functions: assertionMessageError :: MonadIO m => Text -> Text -> Int32 -> Text -> Text -> GError -> Word32 -> Int32 -> m ()
- GI.GLib.Functions: assertionMessageExpr :: (MonadIO m) => Text -> Text -> Int32 -> Text -> Text -> m ()
+ GI.GLib.Functions: assertionMessageExpr :: MonadIO m => Text -> Text -> Int32 -> Text -> Text -> m ()
- GI.GLib.Functions: atexit :: (MonadIO m) => VoidFunc -> m ()
+ GI.GLib.Functions: atexit :: MonadIO m => VoidFunc -> m ()
- GI.GLib.Functions: atomicIntAdd :: (MonadIO m) => Int32 -> Int32 -> m Int32
+ GI.GLib.Functions: atomicIntAdd :: MonadIO m => Int32 -> Int32 -> m Int32
- GI.GLib.Functions: atomicIntAnd :: (MonadIO m) => Word32 -> Word32 -> m Word32
+ GI.GLib.Functions: atomicIntAnd :: MonadIO m => Word32 -> Word32 -> m Word32
- GI.GLib.Functions: atomicIntCompareAndExchange :: (MonadIO m) => Int32 -> Int32 -> Int32 -> m Bool
+ GI.GLib.Functions: atomicIntCompareAndExchange :: MonadIO m => Int32 -> Int32 -> Int32 -> m Bool
- GI.GLib.Functions: atomicIntDecAndTest :: (MonadIO m) => Int32 -> m Bool
+ GI.GLib.Functions: atomicIntDecAndTest :: MonadIO m => Int32 -> m Bool
- GI.GLib.Functions: atomicIntExchangeAndAdd :: (MonadIO m) => Int32 -> Int32 -> m Int32
+ GI.GLib.Functions: atomicIntExchangeAndAdd :: MonadIO m => Int32 -> Int32 -> m Int32
- GI.GLib.Functions: atomicIntGet :: (MonadIO m) => Int32 -> m Int32
+ GI.GLib.Functions: atomicIntGet :: MonadIO m => Int32 -> m Int32
- GI.GLib.Functions: atomicIntInc :: (MonadIO m) => Int32 -> m ()
+ GI.GLib.Functions: atomicIntInc :: MonadIO m => Int32 -> m ()
- GI.GLib.Functions: atomicIntOr :: (MonadIO m) => Word32 -> Word32 -> m Word32
+ GI.GLib.Functions: atomicIntOr :: MonadIO m => Word32 -> Word32 -> m Word32
- GI.GLib.Functions: atomicIntSet :: (MonadIO m) => Int32 -> Int32 -> m ()
+ GI.GLib.Functions: atomicIntSet :: MonadIO m => Int32 -> Int32 -> m ()
- GI.GLib.Functions: atomicIntXor :: (MonadIO m) => Word32 -> Word32 -> m Word32
+ GI.GLib.Functions: atomicIntXor :: MonadIO m => Word32 -> Word32 -> m Word32
- GI.GLib.Functions: atomicPointerAdd :: (MonadIO m) => Ptr () -> Int64 -> m Int64
+ GI.GLib.Functions: atomicPointerAdd :: MonadIO m => Ptr () -> Int64 -> m Int64
- GI.GLib.Functions: atomicPointerAnd :: (MonadIO m) => Ptr () -> Word64 -> m Word64
+ GI.GLib.Functions: atomicPointerAnd :: MonadIO m => Ptr () -> Word64 -> m Word64
- GI.GLib.Functions: atomicPointerCompareAndExchange :: (MonadIO m) => Ptr () -> Ptr () -> Ptr () -> m Bool
+ GI.GLib.Functions: atomicPointerCompareAndExchange :: MonadIO m => Ptr () -> Ptr () -> Ptr () -> m Bool
- GI.GLib.Functions: atomicPointerOr :: (MonadIO m) => Ptr () -> Word64 -> m Word64
+ GI.GLib.Functions: atomicPointerOr :: MonadIO m => Ptr () -> Word64 -> m Word64
- GI.GLib.Functions: atomicPointerSet :: (MonadIO m) => Ptr () -> Ptr () -> m ()
+ GI.GLib.Functions: atomicPointerSet :: MonadIO m => Ptr () -> Ptr () -> m ()
- GI.GLib.Functions: atomicPointerXor :: (MonadIO m) => Ptr () -> Word64 -> m Word64
+ GI.GLib.Functions: atomicPointerXor :: MonadIO m => Ptr () -> Word64 -> m Word64
- GI.GLib.Functions: base64Decode :: (MonadIO m) => Text -> m ByteString
+ GI.GLib.Functions: base64Decode :: MonadIO m => Text -> m ByteString
- GI.GLib.Functions: base64DecodeInplace :: (MonadIO m) => ByteString -> m (Word8, ByteString)
+ GI.GLib.Functions: base64DecodeInplace :: MonadIO m => ByteString -> m (Word8, ByteString)
- GI.GLib.Functions: base64Encode :: (MonadIO m) => ByteString -> m Text
+ GI.GLib.Functions: base64Encode :: MonadIO m => ByteString -> m Text
- GI.GLib.Functions: basename :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: basename :: MonadIO m => Text -> m Text
- GI.GLib.Functions: bitLock :: (MonadIO m) => Int32 -> Int32 -> m ()
+ GI.GLib.Functions: bitLock :: MonadIO m => Int32 -> Int32 -> m ()
- GI.GLib.Functions: bitNthLsf :: (MonadIO m) => Word64 -> Int32 -> m Int32
+ GI.GLib.Functions: bitNthLsf :: MonadIO m => CULong -> Int32 -> m Int32
- GI.GLib.Functions: bitNthMsf :: (MonadIO m) => Word64 -> Int32 -> m Int32
+ GI.GLib.Functions: bitNthMsf :: MonadIO m => CULong -> Int32 -> m Int32
- GI.GLib.Functions: bitStorage :: (MonadIO m) => Word64 -> m Word32
+ GI.GLib.Functions: bitStorage :: MonadIO m => CULong -> m Word32
- GI.GLib.Functions: bitTrylock :: (MonadIO m) => Int32 -> Int32 -> m Bool
+ GI.GLib.Functions: bitTrylock :: MonadIO m => Int32 -> Int32 -> m Bool
- GI.GLib.Functions: bitUnlock :: (MonadIO m) => Int32 -> Int32 -> m ()
+ GI.GLib.Functions: bitUnlock :: MonadIO m => Int32 -> Int32 -> m ()
- GI.GLib.Functions: buildFilenamev :: (MonadIO m) => [Text] -> m Text
+ GI.GLib.Functions: buildFilenamev :: MonadIO m => [Text] -> m Text
- GI.GLib.Functions: buildPathv :: (MonadIO m) => Text -> [Text] -> m Text
+ GI.GLib.Functions: buildPathv :: MonadIO m => Text -> [Text] -> m Text
- GI.GLib.Functions: chdir :: (MonadIO m) => Text -> m Int32
+ GI.GLib.Functions: chdir :: MonadIO m => Text -> m Int32
- GI.GLib.Functions: checkVersion :: (MonadIO m) => Word32 -> Word32 -> Word32 -> m Text
+ GI.GLib.Functions: checkVersion :: MonadIO m => Word32 -> Word32 -> Word32 -> m Text
- GI.GLib.Functions: childWatchAdd :: (MonadIO m) => Int32 -> Int32 -> ChildWatchFunc -> m Word32
+ GI.GLib.Functions: childWatchAdd :: MonadIO m => Int32 -> Int32 -> ChildWatchFunc -> m Word32
- GI.GLib.Functions: childWatchSourceNew :: (MonadIO m) => Int32 -> m Source
+ GI.GLib.Functions: childWatchSourceNew :: MonadIO m => Int32 -> m Source
- GI.GLib.Functions: clearError :: (MonadIO m) => m ()
+ GI.GLib.Functions: clearError :: MonadIO m => m ()
- GI.GLib.Functions: close :: (MonadIO m) => Int32 -> m ()
+ GI.GLib.Functions: close :: MonadIO m => Int32 -> m ()
- GI.GLib.Functions: computeChecksumForBytes :: (MonadIO m) => ChecksumType -> Bytes -> m Text
+ GI.GLib.Functions: computeChecksumForBytes :: MonadIO m => ChecksumType -> Bytes -> m Text
- GI.GLib.Functions: computeChecksumForData :: (MonadIO m) => ChecksumType -> ByteString -> m Text
+ GI.GLib.Functions: computeChecksumForData :: MonadIO m => ChecksumType -> ByteString -> m Text
- GI.GLib.Functions: computeChecksumForString :: (MonadIO m) => ChecksumType -> Text -> Int64 -> m Text
+ GI.GLib.Functions: computeChecksumForString :: MonadIO m => ChecksumType -> Text -> Int64 -> m Text
- GI.GLib.Functions: computeHmacForData :: (MonadIO m) => ChecksumType -> ByteString -> Word8 -> Word64 -> m Text
+ GI.GLib.Functions: computeHmacForData :: MonadIO m => ChecksumType -> ByteString -> Word8 -> Word64 -> m Text
- GI.GLib.Functions: computeHmacForString :: (MonadIO m) => ChecksumType -> ByteString -> Text -> Int64 -> m Text
+ GI.GLib.Functions: computeHmacForString :: MonadIO m => ChecksumType -> ByteString -> Text -> Int64 -> m Text
- GI.GLib.Functions: convert :: (MonadIO m) => Text -> Int64 -> Text -> Text -> m (Text, Word64, Word64)
+ GI.GLib.Functions: convert :: MonadIO m => Text -> Int64 -> Text -> Text -> m (Text, Word64, Word64)
- GI.GLib.Functions: convertErrorQuark :: (MonadIO m) => m Word32
+ GI.GLib.Functions: convertErrorQuark :: MonadIO m => m Word32
- GI.GLib.Functions: convertWithFallback :: (MonadIO m) => Text -> Int64 -> Text -> Text -> Text -> Word64 -> Word64 -> m Text
+ GI.GLib.Functions: convertWithFallback :: MonadIO m => Text -> Int64 -> Text -> Text -> Text -> Word64 -> Word64 -> m Text
- GI.GLib.Functions: convertWithIconv :: (MonadIO m) => Text -> Int64 -> IConv -> Word64 -> Word64 -> m Text
+ GI.GLib.Functions: convertWithIconv :: MonadIO m => Text -> Int64 -> IConv -> Word64 -> Word64 -> m Text
- GI.GLib.Functions: datalistClear :: (MonadIO m) => Data -> m ()
+ GI.GLib.Functions: datalistClear :: MonadIO m => Data -> m ()
- GI.GLib.Functions: datalistGetFlags :: (MonadIO m) => Data -> m Word32
+ GI.GLib.Functions: datalistGetFlags :: MonadIO m => Data -> m Word32
- GI.GLib.Functions: datalistIdReplaceData :: (MonadIO m) => Data -> Word32 -> Maybe (Ptr ()) -> Maybe (Ptr ()) -> Maybe (DestroyNotify) -> Maybe (DestroyNotify) -> m Bool
+ GI.GLib.Functions: datalistIdReplaceData :: MonadIO m => Data -> Word32 -> Ptr () -> Ptr () -> Maybe (DestroyNotify) -> Maybe (DestroyNotify) -> m Bool
- GI.GLib.Functions: datalistIdSetDataFull :: (MonadIO m) => Data -> Word32 -> Maybe (Ptr ()) -> DestroyNotify -> m ()
+ GI.GLib.Functions: datalistIdSetDataFull :: MonadIO m => Data -> Word32 -> Ptr () -> DestroyNotify -> m ()
- GI.GLib.Functions: datalistInit :: (MonadIO m) => Data -> m ()
+ GI.GLib.Functions: datalistInit :: MonadIO m => Data -> m ()
- GI.GLib.Functions: datalistSetFlags :: (MonadIO m) => Data -> Word32 -> m ()
+ GI.GLib.Functions: datalistSetFlags :: MonadIO m => Data -> Word32 -> m ()
- GI.GLib.Functions: datalistUnsetFlags :: (MonadIO m) => Data -> Word32 -> m ()
+ GI.GLib.Functions: datalistUnsetFlags :: MonadIO m => Data -> Word32 -> m ()
- GI.GLib.Functions: datasetDestroy :: (MonadIO m) => Ptr () -> m ()
+ GI.GLib.Functions: datasetDestroy :: MonadIO m => Ptr () -> m ()
- GI.GLib.Functions: datasetIdSetDataFull :: (MonadIO m) => Ptr () -> Word32 -> Ptr () -> DestroyNotify -> m ()
+ GI.GLib.Functions: datasetIdSetDataFull :: MonadIO m => Ptr () -> Word32 -> Ptr () -> DestroyNotify -> m ()
- GI.GLib.Functions: dcgettext :: (MonadIO m) => Maybe (Text) -> Text -> Int32 -> m Text
+ GI.GLib.Functions: dcgettext :: MonadIO m => Maybe (Text) -> Text -> Int32 -> m Text
- GI.GLib.Functions: dgettext :: (MonadIO m) => Maybe (Text) -> Text -> m Text
+ GI.GLib.Functions: dgettext :: MonadIO m => Maybe (Text) -> Text -> m Text
- GI.GLib.Functions: directEqual :: (MonadIO m) => Maybe (Ptr ()) -> Maybe (Ptr ()) -> m Bool
+ GI.GLib.Functions: directEqual :: MonadIO m => Ptr () -> Ptr () -> m Bool
- GI.GLib.Functions: directHash :: (MonadIO m) => Maybe (Ptr ()) -> m Word32
+ GI.GLib.Functions: directHash :: MonadIO m => Ptr () -> m Word32
- GI.GLib.Functions: dngettext :: (MonadIO m) => Maybe (Text) -> Text -> Text -> Word64 -> m Text
+ GI.GLib.Functions: dngettext :: MonadIO m => Maybe (Text) -> Text -> Text -> CULong -> m Text
- GI.GLib.Functions: doubleEqual :: (MonadIO m) => Ptr () -> Ptr () -> m Bool
+ GI.GLib.Functions: doubleEqual :: MonadIO m => Ptr () -> Ptr () -> m Bool
- GI.GLib.Functions: doubleHash :: (MonadIO m) => Ptr () -> m Word32
+ GI.GLib.Functions: doubleHash :: MonadIO m => Ptr () -> m Word32
- GI.GLib.Functions: dpgettext :: (MonadIO m) => Maybe (Text) -> Text -> Word64 -> m Text
+ GI.GLib.Functions: dpgettext :: MonadIO m => Maybe (Text) -> Text -> Word64 -> m Text
- GI.GLib.Functions: dpgettext2 :: (MonadIO m) => Maybe (Text) -> Text -> Text -> m Text
+ GI.GLib.Functions: dpgettext2 :: MonadIO m => Maybe (Text) -> Text -> Text -> m Text
- GI.GLib.Functions: environGetenv :: (MonadIO m) => Maybe ([Text]) -> Text -> m Text
+ GI.GLib.Functions: environGetenv :: MonadIO m => Maybe ([Text]) -> Text -> m Text
- GI.GLib.Functions: environSetenv :: (MonadIO m) => Maybe ([Text]) -> Text -> Text -> Bool -> m [Text]
+ GI.GLib.Functions: environSetenv :: MonadIO m => Maybe ([Text]) -> Text -> Text -> Bool -> m [Text]
- GI.GLib.Functions: environUnsetenv :: (MonadIO m) => Maybe ([Text]) -> Text -> m [Text]
+ GI.GLib.Functions: environUnsetenv :: MonadIO m => Maybe ([Text]) -> Text -> m [Text]
- GI.GLib.Functions: fileErrorFromErrno :: (MonadIO m) => Int32 -> m FileError
+ GI.GLib.Functions: fileErrorFromErrno :: MonadIO m => Int32 -> m FileError
- GI.GLib.Functions: fileErrorQuark :: (MonadIO m) => m Word32
+ GI.GLib.Functions: fileErrorQuark :: MonadIO m => m Word32
- GI.GLib.Functions: fileGetContents :: (MonadIO m) => [Char] -> m (ByteString)
+ GI.GLib.Functions: fileGetContents :: MonadIO m => [Char] -> m (ByteString)
- GI.GLib.Functions: fileOpenTmp :: (MonadIO m) => Maybe ([Char]) -> m (Int32, [Char])
+ GI.GLib.Functions: fileOpenTmp :: MonadIO m => Maybe ([Char]) -> m (Int32, [Char])
- GI.GLib.Functions: fileReadLink :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: fileReadLink :: MonadIO m => Text -> m Text
- GI.GLib.Functions: fileSetContents :: (MonadIO m) => [Char] -> ByteString -> m ()
+ GI.GLib.Functions: fileSetContents :: MonadIO m => [Char] -> ByteString -> m ()
- GI.GLib.Functions: fileTest :: (MonadIO m) => Text -> [FileTest] -> m Bool
+ GI.GLib.Functions: fileTest :: MonadIO m => Text -> [FileTest] -> m Bool
- GI.GLib.Functions: filenameDisplayBasename :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: filenameDisplayBasename :: MonadIO m => Text -> m Text
- GI.GLib.Functions: filenameDisplayName :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: filenameDisplayName :: MonadIO m => Text -> m Text
- GI.GLib.Functions: filenameFromUri :: (MonadIO m) => Text -> m ([Char], Text)
+ GI.GLib.Functions: filenameFromUri :: MonadIO m => Text -> m ([Char], Text)
- GI.GLib.Functions: filenameFromUtf8 :: (MonadIO m) => Text -> Int64 -> m (ByteString, Word64)
+ GI.GLib.Functions: filenameFromUtf8 :: MonadIO m => Text -> Int64 -> m (ByteString, Word64)
- GI.GLib.Functions: filenameToUri :: (MonadIO m) => Text -> Maybe (Text) -> m Text
+ GI.GLib.Functions: filenameToUri :: MonadIO m => Text -> Maybe (Text) -> m Text
- GI.GLib.Functions: filenameToUtf8 :: (MonadIO m) => Text -> Int64 -> Word64 -> Word64 -> m Text
+ GI.GLib.Functions: filenameToUtf8 :: MonadIO m => Text -> Int64 -> Word64 -> Word64 -> m Text
- GI.GLib.Functions: findProgramInPath :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: findProgramInPath :: MonadIO m => Text -> m Text
- GI.GLib.Functions: formatSize :: (MonadIO m) => Word64 -> m Text
+ GI.GLib.Functions: formatSize :: MonadIO m => Word64 -> m Text
- GI.GLib.Functions: formatSizeForDisplay :: (MonadIO m) => Int64 -> m Text
+ GI.GLib.Functions: formatSizeForDisplay :: MonadIO m => Int64 -> m Text
- GI.GLib.Functions: formatSizeFull :: (MonadIO m) => Word64 -> [FormatSizeFlags] -> m Text
+ GI.GLib.Functions: formatSizeFull :: MonadIO m => Word64 -> [FormatSizeFlags] -> m Text
- GI.GLib.Functions: free :: (MonadIO m) => Maybe (Ptr ()) -> m ()
+ GI.GLib.Functions: free :: MonadIO m => Ptr () -> m ()
- GI.GLib.Functions: getApplicationName :: (MonadIO m) => m Text
+ GI.GLib.Functions: getApplicationName :: MonadIO m => m Text
- GI.GLib.Functions: getCharset :: (MonadIO m) => m (Bool, Text)
+ GI.GLib.Functions: getCharset :: MonadIO m => m (Bool, Text)
- GI.GLib.Functions: getCodeset :: (MonadIO m) => m Text
+ GI.GLib.Functions: getCodeset :: MonadIO m => m Text
- GI.GLib.Functions: getCurrentDir :: (MonadIO m) => m Text
+ GI.GLib.Functions: getCurrentDir :: MonadIO m => m Text
- GI.GLib.Functions: getCurrentTime :: (MonadIO m) => TimeVal -> m ()
+ GI.GLib.Functions: getCurrentTime :: MonadIO m => TimeVal -> m ()
- GI.GLib.Functions: getEnviron :: (MonadIO m) => m [Text]
+ GI.GLib.Functions: getEnviron :: MonadIO m => m [Text]
- GI.GLib.Functions: getFilenameCharsets :: (MonadIO m) => Text -> m Bool
+ GI.GLib.Functions: getFilenameCharsets :: MonadIO m => Text -> m Bool
- GI.GLib.Functions: getHomeDir :: (MonadIO m) => m Text
+ GI.GLib.Functions: getHomeDir :: MonadIO m => m Text
- GI.GLib.Functions: getHostName :: (MonadIO m) => m Text
+ GI.GLib.Functions: getHostName :: MonadIO m => m Text
- GI.GLib.Functions: getLanguageNames :: (MonadIO m) => m [Text]
+ GI.GLib.Functions: getLanguageNames :: MonadIO m => m [Text]
- GI.GLib.Functions: getLocaleVariants :: (MonadIO m) => Text -> m [Text]
+ GI.GLib.Functions: getLocaleVariants :: MonadIO m => Text -> m [Text]
- GI.GLib.Functions: getMonotonicTime :: (MonadIO m) => m Int64
+ GI.GLib.Functions: getMonotonicTime :: MonadIO m => m Int64
- GI.GLib.Functions: getNumProcessors :: (MonadIO m) => m Word32
+ GI.GLib.Functions: getNumProcessors :: MonadIO m => m Word32
- GI.GLib.Functions: getPrgname :: (MonadIO m) => m Text
+ GI.GLib.Functions: getPrgname :: MonadIO m => m Text
- GI.GLib.Functions: getRealName :: (MonadIO m) => m Text
+ GI.GLib.Functions: getRealName :: MonadIO m => m Text
- GI.GLib.Functions: getRealTime :: (MonadIO m) => m Int64
+ GI.GLib.Functions: getRealTime :: MonadIO m => m Int64
- GI.GLib.Functions: getSystemConfigDirs :: (MonadIO m) => m [Text]
+ GI.GLib.Functions: getSystemConfigDirs :: MonadIO m => m [Text]
- GI.GLib.Functions: getSystemDataDirs :: (MonadIO m) => m [Text]
+ GI.GLib.Functions: getSystemDataDirs :: MonadIO m => m [Text]
- GI.GLib.Functions: getTmpDir :: (MonadIO m) => m Text
+ GI.GLib.Functions: getTmpDir :: MonadIO m => m Text
- GI.GLib.Functions: getUserCacheDir :: (MonadIO m) => m Text
+ GI.GLib.Functions: getUserCacheDir :: MonadIO m => m Text
- GI.GLib.Functions: getUserConfigDir :: (MonadIO m) => m Text
+ GI.GLib.Functions: getUserConfigDir :: MonadIO m => m Text
- GI.GLib.Functions: getUserDataDir :: (MonadIO m) => m Text
+ GI.GLib.Functions: getUserDataDir :: MonadIO m => m Text
- GI.GLib.Functions: getUserName :: (MonadIO m) => m Text
+ GI.GLib.Functions: getUserName :: MonadIO m => m Text
- GI.GLib.Functions: getUserRuntimeDir :: (MonadIO m) => m Text
+ GI.GLib.Functions: getUserRuntimeDir :: MonadIO m => m Text
- GI.GLib.Functions: getUserSpecialDir :: (MonadIO m) => UserDirectory -> m Text
+ GI.GLib.Functions: getUserSpecialDir :: MonadIO m => UserDirectory -> m Text
- GI.GLib.Functions: getenv :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: getenv :: MonadIO m => Text -> m Text
- GI.GLib.Functions: hostnameIsAsciiEncoded :: (MonadIO m) => Text -> m Bool
+ GI.GLib.Functions: hostnameIsAsciiEncoded :: MonadIO m => Text -> m Bool
- GI.GLib.Functions: hostnameIsIpAddress :: (MonadIO m) => Text -> m Bool
+ GI.GLib.Functions: hostnameIsIpAddress :: MonadIO m => Text -> m Bool
- GI.GLib.Functions: hostnameIsNonAscii :: (MonadIO m) => Text -> m Bool
+ GI.GLib.Functions: hostnameIsNonAscii :: MonadIO m => Text -> m Bool
- GI.GLib.Functions: hostnameToAscii :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: hostnameToAscii :: MonadIO m => Text -> m Text
- GI.GLib.Functions: hostnameToUnicode :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: hostnameToUnicode :: MonadIO m => Text -> m Text
- GI.GLib.Functions: iconv :: (MonadIO m) => IConv -> Text -> Word64 -> Text -> Word64 -> m Word64
+ GI.GLib.Functions: iconv :: MonadIO m => IConv -> Text -> Word64 -> Text -> Word64 -> m Word64
- GI.GLib.Functions: idleAdd :: (MonadIO m) => Int32 -> SourceFunc -> m Word32
+ GI.GLib.Functions: idleAdd :: MonadIO m => Int32 -> SourceFunc -> m Word32
- GI.GLib.Functions: idleRemoveByData :: (MonadIO m) => Ptr () -> m Bool
+ GI.GLib.Functions: idleRemoveByData :: MonadIO m => Ptr () -> m Bool
- GI.GLib.Functions: idleSourceNew :: (MonadIO m) => m Source
+ GI.GLib.Functions: idleSourceNew :: MonadIO m => m Source
- GI.GLib.Functions: int64Equal :: (MonadIO m) => Ptr () -> Ptr () -> m Bool
+ GI.GLib.Functions: int64Equal :: MonadIO m => Ptr () -> Ptr () -> m Bool
- GI.GLib.Functions: int64Hash :: (MonadIO m) => Ptr () -> m Word32
+ GI.GLib.Functions: int64Hash :: MonadIO m => Ptr () -> m Word32
- GI.GLib.Functions: intEqual :: (MonadIO m) => Ptr () -> Ptr () -> m Bool
+ GI.GLib.Functions: intEqual :: MonadIO m => Ptr () -> Ptr () -> m Bool
- GI.GLib.Functions: intHash :: (MonadIO m) => Ptr () -> m Word32
+ GI.GLib.Functions: intHash :: MonadIO m => Ptr () -> m Word32
- GI.GLib.Functions: internStaticString :: (MonadIO m) => Maybe (Text) -> m Text
+ GI.GLib.Functions: internStaticString :: MonadIO m => Maybe (Text) -> m Text
- GI.GLib.Functions: internString :: (MonadIO m) => Maybe (Text) -> m Text
+ GI.GLib.Functions: internString :: MonadIO m => Maybe (Text) -> m Text
- GI.GLib.Functions: ioAddWatch :: (MonadIO m) => IOChannel -> Int32 -> [IOCondition] -> IOFunc -> m Word32
+ GI.GLib.Functions: ioAddWatch :: MonadIO m => IOChannel -> Int32 -> [IOCondition] -> IOFunc -> m Word32
- GI.GLib.Functions: ioCreateWatch :: (MonadIO m) => IOChannel -> [IOCondition] -> m Source
+ GI.GLib.Functions: ioCreateWatch :: MonadIO m => IOChannel -> [IOCondition] -> m Source
- GI.GLib.Functions: listenv :: (MonadIO m) => m [Text]
+ GI.GLib.Functions: listenv :: MonadIO m => m [Text]
- GI.GLib.Functions: localeFromUtf8 :: (MonadIO m) => Text -> Int64 -> Word64 -> Word64 -> m Text
+ GI.GLib.Functions: localeFromUtf8 :: MonadIO m => Text -> Int64 -> Word64 -> Word64 -> m Text
- GI.GLib.Functions: localeToUtf8 :: (MonadIO m) => Text -> Int64 -> Word64 -> Word64 -> m Text
+ GI.GLib.Functions: localeToUtf8 :: MonadIO m => Text -> Int64 -> Word64 -> Word64 -> m Text
- GI.GLib.Functions: logDefaultHandler :: (MonadIO m) => Text -> [LogLevelFlags] -> Text -> Ptr () -> m ()
+ GI.GLib.Functions: logDefaultHandler :: MonadIO m => Text -> [LogLevelFlags] -> Text -> Ptr () -> m ()
- GI.GLib.Functions: logRemoveHandler :: (MonadIO m) => Text -> Word32 -> m ()
+ GI.GLib.Functions: logRemoveHandler :: MonadIO m => Text -> Word32 -> m ()
- GI.GLib.Functions: logSetAlwaysFatal :: (MonadIO m) => [LogLevelFlags] -> m [LogLevelFlags]
+ GI.GLib.Functions: logSetAlwaysFatal :: MonadIO m => [LogLevelFlags] -> m [LogLevelFlags]
- GI.GLib.Functions: logSetFatalMask :: (MonadIO m) => Text -> [LogLevelFlags] -> m [LogLevelFlags]
+ GI.GLib.Functions: logSetFatalMask :: MonadIO m => Text -> [LogLevelFlags] -> m [LogLevelFlags]
- GI.GLib.Functions: logSetHandler :: (MonadIO m) => Maybe (Text) -> [LogLevelFlags] -> LogFunc -> m Word32
+ GI.GLib.Functions: logSetHandler :: MonadIO m => Maybe (Text) -> [LogLevelFlags] -> LogFunc -> m Word32
- GI.GLib.Functions: mainCurrentSource :: (MonadIO m) => m Source
+ GI.GLib.Functions: mainCurrentSource :: MonadIO m => m Source
- GI.GLib.Functions: mainDepth :: (MonadIO m) => m Int32
+ GI.GLib.Functions: mainDepth :: MonadIO m => m Int32
- GI.GLib.Functions: markupErrorQuark :: (MonadIO m) => m Word32
+ GI.GLib.Functions: markupErrorQuark :: MonadIO m => m Word32
- GI.GLib.Functions: markupEscapeText :: (MonadIO m) => Text -> Int64 -> m Text
+ GI.GLib.Functions: markupEscapeText :: MonadIO m => Text -> Int64 -> m Text
- GI.GLib.Functions: memIsSystemMalloc :: (MonadIO m) => m Bool
+ GI.GLib.Functions: memIsSystemMalloc :: MonadIO m => m Bool
- GI.GLib.Functions: memProfile :: (MonadIO m) => m ()
+ GI.GLib.Functions: memProfile :: MonadIO m => m ()
- GI.GLib.Functions: memSetVtable :: (MonadIO m) => MemVTable -> m ()
+ GI.GLib.Functions: memSetVtable :: MonadIO m => MemVTable -> m ()
- GI.GLib.Functions: mkdirWithParents :: (MonadIO m) => Text -> Int32 -> m Int32
+ GI.GLib.Functions: mkdirWithParents :: MonadIO m => Text -> Int32 -> m Int32
- GI.GLib.Functions: mkdtemp :: (MonadIO m) => [Char] -> m Text
+ GI.GLib.Functions: mkdtemp :: MonadIO m => [Char] -> m Text
- GI.GLib.Functions: mkdtempFull :: (MonadIO m) => [Char] -> Int32 -> m Text
+ GI.GLib.Functions: mkdtempFull :: MonadIO m => [Char] -> Int32 -> m Text
- GI.GLib.Functions: mkstemp :: (MonadIO m) => [Char] -> m Int32
+ GI.GLib.Functions: mkstemp :: MonadIO m => [Char] -> m Int32
- GI.GLib.Functions: mkstempFull :: (MonadIO m) => [Char] -> Int32 -> Int32 -> m Int32
+ GI.GLib.Functions: mkstempFull :: MonadIO m => [Char] -> Int32 -> Int32 -> m Int32
- GI.GLib.Functions: nullifyPointer :: (MonadIO m) => Ptr () -> m ()
+ GI.GLib.Functions: nullifyPointer :: MonadIO m => Ptr () -> m ()
- GI.GLib.Functions: onErrorQuery :: (MonadIO m) => Text -> m ()
+ GI.GLib.Functions: onErrorQuery :: MonadIO m => Text -> m ()
- GI.GLib.Functions: onErrorStackTrace :: (MonadIO m) => Text -> m ()
+ GI.GLib.Functions: onErrorStackTrace :: MonadIO m => Text -> m ()
- GI.GLib.Functions: optionErrorQuark :: (MonadIO m) => m Word32
+ GI.GLib.Functions: optionErrorQuark :: MonadIO m => m Word32
- GI.GLib.Functions: parseDebugString :: (MonadIO m) => Maybe (Text) -> [DebugKey] -> m Word32
+ GI.GLib.Functions: parseDebugString :: MonadIO m => Maybe (Text) -> [DebugKey] -> m Word32
- GI.GLib.Functions: pathGetBasename :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: pathGetBasename :: MonadIO m => Text -> m Text
- GI.GLib.Functions: pathGetDirname :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: pathGetDirname :: MonadIO m => Text -> m Text
- GI.GLib.Functions: pathIsAbsolute :: (MonadIO m) => Text -> m Bool
+ GI.GLib.Functions: pathIsAbsolute :: MonadIO m => Text -> m Bool
- GI.GLib.Functions: pathSkipRoot :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: pathSkipRoot :: MonadIO m => Text -> m (Maybe Text)
- GI.GLib.Functions: patternMatch :: (MonadIO m) => PatternSpec -> Word32 -> Text -> Maybe (Text) -> m Bool
+ GI.GLib.Functions: patternMatch :: MonadIO m => PatternSpec -> Word32 -> Text -> Maybe (Text) -> m Bool
- GI.GLib.Functions: patternMatchSimple :: (MonadIO m) => Text -> Text -> m Bool
+ GI.GLib.Functions: patternMatchSimple :: MonadIO m => Text -> Text -> m Bool
- GI.GLib.Functions: patternMatchString :: (MonadIO m) => PatternSpec -> Text -> m Bool
+ GI.GLib.Functions: patternMatchString :: MonadIO m => PatternSpec -> Text -> m Bool
- GI.GLib.Functions: pointerBitLock :: (MonadIO m) => Ptr () -> Int32 -> m ()
+ GI.GLib.Functions: pointerBitLock :: MonadIO m => Ptr () -> Int32 -> m ()
- GI.GLib.Functions: pointerBitTrylock :: (MonadIO m) => Ptr () -> Int32 -> m Bool
+ GI.GLib.Functions: pointerBitTrylock :: MonadIO m => Ptr () -> Int32 -> m Bool
- GI.GLib.Functions: pointerBitUnlock :: (MonadIO m) => Ptr () -> Int32 -> m ()
+ GI.GLib.Functions: pointerBitUnlock :: MonadIO m => Ptr () -> Int32 -> m ()
- GI.GLib.Functions: poll :: (MonadIO m) => PollFD -> Word32 -> Int32 -> m Int32
+ GI.GLib.Functions: poll :: MonadIO m => PollFD -> Word32 -> Int32 -> m Int32
- GI.GLib.Functions: propagateError :: (MonadIO m) => GError -> GError -> m ()
+ GI.GLib.Functions: propagateError :: MonadIO m => GError -> GError -> m ()
- GI.GLib.Functions: quarkFromStaticString :: (MonadIO m) => Maybe (Text) -> m Word32
+ GI.GLib.Functions: quarkFromStaticString :: MonadIO m => Maybe (Text) -> m Word32
- GI.GLib.Functions: quarkFromString :: (MonadIO m) => Maybe (Text) -> m Word32
+ GI.GLib.Functions: quarkFromString :: MonadIO m => Maybe (Text) -> m Word32
- GI.GLib.Functions: quarkToString :: (MonadIO m) => Word32 -> m Text
+ GI.GLib.Functions: quarkToString :: MonadIO m => Word32 -> m Text
- GI.GLib.Functions: quarkTryString :: (MonadIO m) => Maybe (Text) -> m Word32
+ GI.GLib.Functions: quarkTryString :: MonadIO m => Maybe (Text) -> m Word32
- GI.GLib.Functions: randomDouble :: (MonadIO m) => m Double
+ GI.GLib.Functions: randomDouble :: MonadIO m => m Double
- GI.GLib.Functions: randomDoubleRange :: (MonadIO m) => Double -> Double -> m Double
+ GI.GLib.Functions: randomDoubleRange :: MonadIO m => Double -> Double -> m Double
- GI.GLib.Functions: randomInt :: (MonadIO m) => m Word32
+ GI.GLib.Functions: randomInt :: MonadIO m => m Word32
- GI.GLib.Functions: randomIntRange :: (MonadIO m) => Int32 -> Int32 -> m Int32
+ GI.GLib.Functions: randomIntRange :: MonadIO m => Int32 -> Int32 -> m Int32
- GI.GLib.Functions: randomSetSeed :: (MonadIO m) => Word32 -> m ()
+ GI.GLib.Functions: randomSetSeed :: MonadIO m => Word32 -> m ()
- GI.GLib.Functions: reloadUserSpecialDirsCache :: (MonadIO m) => m ()
+ GI.GLib.Functions: reloadUserSpecialDirsCache :: MonadIO m => m ()
- GI.GLib.Functions: returnIfFailWarning :: (MonadIO m) => Text -> Text -> Text -> m ()
+ GI.GLib.Functions: returnIfFailWarning :: MonadIO m => Text -> Text -> Text -> m ()
- GI.GLib.Functions: rmdir :: (MonadIO m) => Text -> m Int32
+ GI.GLib.Functions: rmdir :: MonadIO m => Text -> m Int32
- GI.GLib.Functions: setApplicationName :: (MonadIO m) => Text -> m ()
+ GI.GLib.Functions: setApplicationName :: MonadIO m => Text -> m ()
- GI.GLib.Functions: setErrorLiteral :: (MonadIO m) => Maybe (GError) -> Word32 -> Int32 -> Text -> m ()
+ GI.GLib.Functions: setErrorLiteral :: MonadIO m => Maybe (GError) -> Word32 -> Int32 -> Text -> m ()
- GI.GLib.Functions: setPrgname :: (MonadIO m) => Text -> m ()
+ GI.GLib.Functions: setPrgname :: MonadIO m => Text -> m ()
- GI.GLib.Functions: setenv :: (MonadIO m) => Text -> Text -> Bool -> m Bool
+ GI.GLib.Functions: setenv :: MonadIO m => Text -> Text -> Bool -> m Bool
- GI.GLib.Functions: shellErrorQuark :: (MonadIO m) => m Word32
+ GI.GLib.Functions: shellErrorQuark :: MonadIO m => m Word32
- GI.GLib.Functions: shellParseArgv :: (MonadIO m) => Text -> m (Int32, [Text])
+ GI.GLib.Functions: shellParseArgv :: MonadIO m => Text -> m (Int32, [Text])
- GI.GLib.Functions: shellQuote :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: shellQuote :: MonadIO m => Text -> m Text
- GI.GLib.Functions: shellUnquote :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: shellUnquote :: MonadIO m => Text -> m Text
- GI.GLib.Functions: sliceFree1 :: (MonadIO m) => Word64 -> Ptr () -> m ()
+ GI.GLib.Functions: sliceFree1 :: MonadIO m => Word64 -> Ptr () -> m ()
- GI.GLib.Functions: sliceFreeChainWithOffset :: (MonadIO m) => Word64 -> Ptr () -> Word64 -> m ()
+ GI.GLib.Functions: sliceFreeChainWithOffset :: MonadIO m => Word64 -> Ptr () -> Word64 -> m ()
- GI.GLib.Functions: sliceGetConfig :: (MonadIO m) => SliceConfig -> m Int64
+ GI.GLib.Functions: sliceGetConfig :: MonadIO m => SliceConfig -> m Int64
- GI.GLib.Functions: sliceGetConfigState :: (MonadIO m) => SliceConfig -> Int64 -> Word32 -> m Int64
+ GI.GLib.Functions: sliceGetConfigState :: MonadIO m => SliceConfig -> Int64 -> Word32 -> m Int64
- GI.GLib.Functions: sliceSetConfig :: (MonadIO m) => SliceConfig -> Int64 -> m ()
+ GI.GLib.Functions: sliceSetConfig :: MonadIO m => SliceConfig -> Int64 -> m ()
- GI.GLib.Functions: spacedPrimesClosest :: (MonadIO m) => Word32 -> m Word32
+ GI.GLib.Functions: spacedPrimesClosest :: MonadIO m => Word32 -> m Word32
- GI.GLib.Functions: spawnAsync :: (MonadIO m) => Maybe (Text) -> [Text] -> Maybe ([Text]) -> [SpawnFlags] -> Maybe (SpawnChildSetupFunc) -> m (Int32)
+ GI.GLib.Functions: spawnAsync :: MonadIO m => Maybe (Text) -> [Text] -> Maybe ([Text]) -> [SpawnFlags] -> Maybe (SpawnChildSetupFunc) -> m (Int32)
- GI.GLib.Functions: spawnAsyncWithPipes :: (MonadIO m) => Maybe (Text) -> [Text] -> Maybe ([Text]) -> [SpawnFlags] -> Maybe (SpawnChildSetupFunc) -> m (Int32, Int32, Int32, Int32)
+ GI.GLib.Functions: spawnAsyncWithPipes :: MonadIO m => Maybe (Text) -> [Text] -> Maybe ([Text]) -> [SpawnFlags] -> Maybe (SpawnChildSetupFunc) -> m (Int32, Int32, Int32, Int32)
- GI.GLib.Functions: spawnCheckExitStatus :: (MonadIO m) => Int32 -> m ()
+ GI.GLib.Functions: spawnCheckExitStatus :: MonadIO m => Int32 -> m ()
- GI.GLib.Functions: spawnClosePid :: (MonadIO m) => Int32 -> m ()
+ GI.GLib.Functions: spawnClosePid :: MonadIO m => Int32 -> m ()
- GI.GLib.Functions: spawnCommandLineAsync :: (MonadIO m) => Text -> m ()
+ GI.GLib.Functions: spawnCommandLineAsync :: MonadIO m => Text -> m ()
- GI.GLib.Functions: spawnCommandLineSync :: (MonadIO m) => Text -> m (ByteString, ByteString, Int32)
+ GI.GLib.Functions: spawnCommandLineSync :: MonadIO m => Text -> m (ByteString, ByteString, Int32)
- GI.GLib.Functions: spawnErrorQuark :: (MonadIO m) => m Word32
+ GI.GLib.Functions: spawnErrorQuark :: MonadIO m => m Word32
- GI.GLib.Functions: spawnExitErrorQuark :: (MonadIO m) => m Word32
+ GI.GLib.Functions: spawnExitErrorQuark :: MonadIO m => m Word32
- GI.GLib.Functions: spawnSync :: (MonadIO m) => Maybe (Text) -> [Text] -> Maybe ([Text]) -> [SpawnFlags] -> Maybe (SpawnChildSetupFunc) -> m (ByteString, ByteString, Int32)
+ GI.GLib.Functions: spawnSync :: MonadIO m => Maybe (Text) -> [Text] -> Maybe ([Text]) -> [SpawnFlags] -> Maybe (SpawnChildSetupFunc) -> m (ByteString, ByteString, Int32)
- GI.GLib.Functions: stpcpy :: (MonadIO m) => Text -> Text -> m Text
+ GI.GLib.Functions: stpcpy :: MonadIO m => Text -> Text -> m Text
- GI.GLib.Functions: strEqual :: (MonadIO m) => Ptr () -> Ptr () -> m Bool
+ GI.GLib.Functions: strEqual :: MonadIO m => Ptr () -> Ptr () -> m Bool
- GI.GLib.Functions: strHasPrefix :: (MonadIO m) => Text -> Text -> m Bool
+ GI.GLib.Functions: strHasPrefix :: MonadIO m => Text -> Text -> m Bool
- GI.GLib.Functions: strHasSuffix :: (MonadIO m) => Text -> Text -> m Bool
+ GI.GLib.Functions: strHasSuffix :: MonadIO m => Text -> Text -> m Bool
- GI.GLib.Functions: strHash :: (MonadIO m) => Ptr () -> m Word32
+ GI.GLib.Functions: strHash :: MonadIO m => Ptr () -> m Word32
- GI.GLib.Functions: strIsAscii :: (MonadIO m) => Text -> m Bool
+ GI.GLib.Functions: strIsAscii :: MonadIO m => Text -> m Bool
- GI.GLib.Functions: strMatchString :: (MonadIO m) => Text -> Text -> Bool -> m Bool
+ GI.GLib.Functions: strMatchString :: MonadIO m => Text -> Text -> Bool -> m Bool
- GI.GLib.Functions: strToAscii :: (MonadIO m) => Text -> Maybe (Text) -> m Text
+ GI.GLib.Functions: strToAscii :: MonadIO m => Text -> Maybe (Text) -> m Text
- GI.GLib.Functions: strTokenizeAndFold :: (MonadIO m) => Text -> Maybe (Text) -> m ([Text], [Text])
+ GI.GLib.Functions: strTokenizeAndFold :: MonadIO m => Text -> Maybe (Text) -> m ([Text], [Text])
- GI.GLib.Functions: strcanon :: (MonadIO m) => Text -> Text -> Int8 -> m Text
+ GI.GLib.Functions: strcanon :: MonadIO m => Text -> Text -> Int8 -> m Text
- GI.GLib.Functions: strcasecmp :: (MonadIO m) => Text -> Text -> m Int32
+ GI.GLib.Functions: strcasecmp :: MonadIO m => Text -> Text -> m Int32
- GI.GLib.Functions: strchomp :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: strchomp :: MonadIO m => Text -> m Text
- GI.GLib.Functions: strchug :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: strchug :: MonadIO m => Text -> m Text
- GI.GLib.Functions: strcmp0 :: (MonadIO m) => Maybe (Text) -> Maybe (Text) -> m Int32
+ GI.GLib.Functions: strcmp0 :: MonadIO m => Maybe (Text) -> Maybe (Text) -> m Int32
- GI.GLib.Functions: strcompress :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: strcompress :: MonadIO m => Text -> m Text
- GI.GLib.Functions: strdelimit :: (MonadIO m) => Text -> Maybe (Text) -> Int8 -> m Text
+ GI.GLib.Functions: strdelimit :: MonadIO m => Text -> Maybe (Text) -> Int8 -> m Text
- GI.GLib.Functions: strdown :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: strdown :: MonadIO m => Text -> m Text
- GI.GLib.Functions: strdup :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: strdup :: MonadIO m => Text -> m Text
- GI.GLib.Functions: strerror :: (MonadIO m) => Int32 -> m Text
+ GI.GLib.Functions: strerror :: MonadIO m => Int32 -> m Text
- GI.GLib.Functions: strescape :: (MonadIO m) => Text -> Text -> m Text
+ GI.GLib.Functions: strescape :: MonadIO m => Text -> Text -> m Text
- GI.GLib.Functions: strfreev :: (MonadIO m) => Text -> m ()
+ GI.GLib.Functions: strfreev :: MonadIO m => Text -> m ()
- GI.GLib.Functions: stringNew :: (MonadIO m) => Maybe (Text) -> m String
+ GI.GLib.Functions: stringNew :: MonadIO m => Maybe (Text) -> m String
- GI.GLib.Functions: stringNewLen :: (MonadIO m) => Text -> Int64 -> m String
+ GI.GLib.Functions: stringNewLen :: MonadIO m => Text -> Int64 -> m String
- GI.GLib.Functions: stringSizedNew :: (MonadIO m) => Word64 -> m String
+ GI.GLib.Functions: stringSizedNew :: MonadIO m => Word64 -> m String
- GI.GLib.Functions: stripContext :: (MonadIO m) => Text -> Text -> m Text
+ GI.GLib.Functions: stripContext :: MonadIO m => Text -> Text -> m Text
- GI.GLib.Functions: strjoinv :: (MonadIO m) => Maybe (Text) -> Text -> m Text
+ GI.GLib.Functions: strjoinv :: MonadIO m => Maybe (Text) -> Text -> m Text
- GI.GLib.Functions: strlcat :: (MonadIO m) => Text -> Text -> Word64 -> m Word64
+ GI.GLib.Functions: strlcat :: MonadIO m => Text -> Text -> Word64 -> m Word64
- GI.GLib.Functions: strlcpy :: (MonadIO m) => Text -> Text -> Word64 -> m Word64
+ GI.GLib.Functions: strlcpy :: MonadIO m => Text -> Text -> Word64 -> m Word64
- GI.GLib.Functions: strncasecmp :: (MonadIO m) => Text -> Text -> Word32 -> m Int32
+ GI.GLib.Functions: strncasecmp :: MonadIO m => Text -> Text -> Word32 -> m Int32
- GI.GLib.Functions: strndup :: (MonadIO m) => Text -> Word64 -> m Text
+ GI.GLib.Functions: strndup :: MonadIO m => Text -> Word64 -> m Text
- GI.GLib.Functions: strnfill :: (MonadIO m) => Word64 -> Int8 -> m Text
+ GI.GLib.Functions: strnfill :: MonadIO m => Word64 -> Int8 -> m Text
- GI.GLib.Functions: strreverse :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: strreverse :: MonadIO m => Text -> m Text
- GI.GLib.Functions: strrstr :: (MonadIO m) => Text -> Text -> m Text
+ GI.GLib.Functions: strrstr :: MonadIO m => Text -> Text -> m Text
- GI.GLib.Functions: strrstrLen :: (MonadIO m) => Text -> Int64 -> Text -> m Text
+ GI.GLib.Functions: strrstrLen :: MonadIO m => Text -> Int64 -> Text -> m Text
- GI.GLib.Functions: strsignal :: (MonadIO m) => Int32 -> m Text
+ GI.GLib.Functions: strsignal :: MonadIO m => Int32 -> m Text
- GI.GLib.Functions: strstrLen :: (MonadIO m) => Text -> Int64 -> Text -> m Text
+ GI.GLib.Functions: strstrLen :: MonadIO m => Text -> Int64 -> Text -> m Text
- GI.GLib.Functions: strtod :: (MonadIO m) => Text -> Text -> m Double
+ GI.GLib.Functions: strtod :: MonadIO m => Text -> Text -> m Double
- GI.GLib.Functions: strup :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: strup :: MonadIO m => Text -> m Text
- GI.GLib.Functions: strvContains :: (MonadIO m) => Text -> Text -> m Bool
+ GI.GLib.Functions: strvContains :: MonadIO m => Text -> Text -> m Bool
- GI.GLib.Functions: strvGetType :: (MonadIO m) => m GType
+ GI.GLib.Functions: strvGetType :: MonadIO m => m GType
- GI.GLib.Functions: strvLength :: (MonadIO m) => Text -> m Word32
+ GI.GLib.Functions: strvLength :: MonadIO m => Text -> m Word32
- GI.GLib.Functions: testAddDataFunc :: (MonadIO m) => Text -> Ptr () -> TestDataFunc -> m ()
+ GI.GLib.Functions: testAddDataFunc :: MonadIO m => Text -> Ptr () -> TestDataFunc -> m ()
- GI.GLib.Functions: testAddFunc :: (MonadIO m) => Text -> TestFunc -> m ()
+ GI.GLib.Functions: testAddFunc :: MonadIO m => Text -> TestFunc -> m ()
- GI.GLib.Functions: testAssertExpectedMessagesInternal :: (MonadIO m) => Text -> Text -> Int32 -> Text -> m ()
+ GI.GLib.Functions: testAssertExpectedMessagesInternal :: MonadIO m => Text -> Text -> Int32 -> Text -> m ()
- GI.GLib.Functions: testBug :: (MonadIO m) => Text -> m ()
+ GI.GLib.Functions: testBug :: MonadIO m => Text -> m ()
- GI.GLib.Functions: testBugBase :: (MonadIO m) => Text -> m ()
+ GI.GLib.Functions: testBugBase :: MonadIO m => Text -> m ()
- GI.GLib.Functions: testExpectMessage :: (MonadIO m) => Maybe (Text) -> [LogLevelFlags] -> Text -> m ()
+ GI.GLib.Functions: testExpectMessage :: MonadIO m => Maybe (Text) -> [LogLevelFlags] -> Text -> m ()
- GI.GLib.Functions: testFail :: (MonadIO m) => m ()
+ GI.GLib.Functions: testFail :: MonadIO m => m ()
- GI.GLib.Functions: testFailed :: (MonadIO m) => m Bool
+ GI.GLib.Functions: testFailed :: MonadIO m => m Bool
- GI.GLib.Functions: testGetDir :: (MonadIO m) => TestFileType -> m Text
+ GI.GLib.Functions: testGetDir :: MonadIO m => TestFileType -> m Text
- GI.GLib.Functions: testIncomplete :: (MonadIO m) => Maybe (Text) -> m ()
+ GI.GLib.Functions: testIncomplete :: MonadIO m => Maybe (Text) -> m ()
- GI.GLib.Functions: testLogTypeName :: (MonadIO m) => TestLogType -> m Text
+ GI.GLib.Functions: testLogTypeName :: MonadIO m => TestLogType -> m Text
- GI.GLib.Functions: testQueueDestroy :: (MonadIO m) => DestroyNotify -> Ptr () -> m ()
+ GI.GLib.Functions: testQueueDestroy :: MonadIO m => DestroyNotify -> Ptr () -> m ()
- GI.GLib.Functions: testQueueFree :: (MonadIO m) => Ptr () -> m ()
+ GI.GLib.Functions: testQueueFree :: MonadIO m => Ptr () -> m ()
- GI.GLib.Functions: testRandDouble :: (MonadIO m) => m Double
+ GI.GLib.Functions: testRandDouble :: MonadIO m => m Double
- GI.GLib.Functions: testRandDoubleRange :: (MonadIO m) => Double -> Double -> m Double
+ GI.GLib.Functions: testRandDoubleRange :: MonadIO m => Double -> Double -> m Double
- GI.GLib.Functions: testRandInt :: (MonadIO m) => m Int32
+ GI.GLib.Functions: testRandInt :: MonadIO m => m Int32
- GI.GLib.Functions: testRandIntRange :: (MonadIO m) => Int32 -> Int32 -> m Int32
+ GI.GLib.Functions: testRandIntRange :: MonadIO m => Int32 -> Int32 -> m Int32
- GI.GLib.Functions: testRun :: (MonadIO m) => m Int32
+ GI.GLib.Functions: testRun :: MonadIO m => m Int32
- GI.GLib.Functions: testRunSuite :: (MonadIO m) => TestSuite -> m Int32
+ GI.GLib.Functions: testRunSuite :: MonadIO m => TestSuite -> m Int32
- GI.GLib.Functions: testSetNonfatalAssertions :: (MonadIO m) => m ()
+ GI.GLib.Functions: testSetNonfatalAssertions :: MonadIO m => m ()
- GI.GLib.Functions: testSkip :: (MonadIO m) => Maybe (Text) -> m ()
+ GI.GLib.Functions: testSkip :: MonadIO m => Maybe (Text) -> m ()
- GI.GLib.Functions: testSubprocess :: (MonadIO m) => m Bool
+ GI.GLib.Functions: testSubprocess :: MonadIO m => m Bool
- GI.GLib.Functions: testTimerElapsed :: (MonadIO m) => m Double
+ GI.GLib.Functions: testTimerElapsed :: MonadIO m => m Double
- GI.GLib.Functions: testTimerLast :: (MonadIO m) => m Double
+ GI.GLib.Functions: testTimerLast :: MonadIO m => m Double
- GI.GLib.Functions: testTimerStart :: (MonadIO m) => m ()
+ GI.GLib.Functions: testTimerStart :: MonadIO m => m ()
- GI.GLib.Functions: testTrapAssertions :: (MonadIO m) => Text -> Text -> Int32 -> Text -> Word64 -> Text -> m ()
+ GI.GLib.Functions: testTrapAssertions :: MonadIO m => Text -> Text -> Int32 -> Text -> Word64 -> Text -> m ()
- GI.GLib.Functions: testTrapFork :: (MonadIO m) => Word64 -> [TestTrapFlags] -> m Bool
+ GI.GLib.Functions: testTrapFork :: MonadIO m => Word64 -> [TestTrapFlags] -> m Bool
- GI.GLib.Functions: testTrapHasPassed :: (MonadIO m) => m Bool
+ GI.GLib.Functions: testTrapHasPassed :: MonadIO m => m Bool
- GI.GLib.Functions: testTrapReachedTimeout :: (MonadIO m) => m Bool
+ GI.GLib.Functions: testTrapReachedTimeout :: MonadIO m => m Bool
- GI.GLib.Functions: testTrapSubprocess :: (MonadIO m) => Maybe (Text) -> Word64 -> [TestSubprocessFlags] -> m ()
+ GI.GLib.Functions: testTrapSubprocess :: MonadIO m => Maybe (Text) -> Word64 -> [TestSubprocessFlags] -> m ()
- GI.GLib.Functions: timeoutAdd :: (MonadIO m) => Int32 -> Word32 -> SourceFunc -> m Word32
+ GI.GLib.Functions: timeoutAdd :: MonadIO m => Int32 -> Word32 -> SourceFunc -> m Word32
- GI.GLib.Functions: timeoutAddSeconds :: (MonadIO m) => Int32 -> Word32 -> SourceFunc -> m Word32
+ GI.GLib.Functions: timeoutAddSeconds :: MonadIO m => Int32 -> Word32 -> SourceFunc -> m Word32
- GI.GLib.Functions: timeoutSourceNew :: (MonadIO m) => Word32 -> m Source
+ GI.GLib.Functions: timeoutSourceNew :: MonadIO m => Word32 -> m Source
- GI.GLib.Functions: timeoutSourceNewSeconds :: (MonadIO m) => Word32 -> m Source
+ GI.GLib.Functions: timeoutSourceNewSeconds :: MonadIO m => Word32 -> m Source
- GI.GLib.Functions: unicharBreakType :: (MonadIO m) => Char -> m UnicodeBreakType
+ GI.GLib.Functions: unicharBreakType :: MonadIO m => Char -> m UnicodeBreakType
- GI.GLib.Functions: unicharCombiningClass :: (MonadIO m) => Char -> m Int32
+ GI.GLib.Functions: unicharCombiningClass :: MonadIO m => Char -> m Int32
- GI.GLib.Functions: unicharCompose :: (MonadIO m) => Char -> Char -> Char -> m Bool
+ GI.GLib.Functions: unicharCompose :: MonadIO m => Char -> Char -> Char -> m Bool
- GI.GLib.Functions: unicharDecompose :: (MonadIO m) => Char -> Char -> Char -> m Bool
+ GI.GLib.Functions: unicharDecompose :: MonadIO m => Char -> Char -> Char -> m Bool
- GI.GLib.Functions: unicharDigitValue :: (MonadIO m) => Char -> m Int32
+ GI.GLib.Functions: unicharDigitValue :: MonadIO m => Char -> m Int32
- GI.GLib.Functions: unicharGetMirrorChar :: (MonadIO m) => Char -> Char -> m Bool
+ GI.GLib.Functions: unicharGetMirrorChar :: MonadIO m => Char -> Char -> m Bool
- GI.GLib.Functions: unicharGetScript :: (MonadIO m) => Char -> m UnicodeScript
+ GI.GLib.Functions: unicharGetScript :: MonadIO m => Char -> m UnicodeScript
- GI.GLib.Functions: unicharIsalnum :: (MonadIO m) => Char -> m Bool
+ GI.GLib.Functions: unicharIsalnum :: MonadIO m => Char -> m Bool
- GI.GLib.Functions: unicharIsalpha :: (MonadIO m) => Char -> m Bool
+ GI.GLib.Functions: unicharIsalpha :: MonadIO m => Char -> m Bool
- GI.GLib.Functions: unicharIscntrl :: (MonadIO m) => Char -> m Bool
+ GI.GLib.Functions: unicharIscntrl :: MonadIO m => Char -> m Bool
- GI.GLib.Functions: unicharIsdefined :: (MonadIO m) => Char -> m Bool
+ GI.GLib.Functions: unicharIsdefined :: MonadIO m => Char -> m Bool
- GI.GLib.Functions: unicharIsdigit :: (MonadIO m) => Char -> m Bool
+ GI.GLib.Functions: unicharIsdigit :: MonadIO m => Char -> m Bool
- GI.GLib.Functions: unicharIsgraph :: (MonadIO m) => Char -> m Bool
+ GI.GLib.Functions: unicharIsgraph :: MonadIO m => Char -> m Bool
- GI.GLib.Functions: unicharIslower :: (MonadIO m) => Char -> m Bool
+ GI.GLib.Functions: unicharIslower :: MonadIO m => Char -> m Bool
- GI.GLib.Functions: unicharIsmark :: (MonadIO m) => Char -> m Bool
+ GI.GLib.Functions: unicharIsmark :: MonadIO m => Char -> m Bool
- GI.GLib.Functions: unicharIsprint :: (MonadIO m) => Char -> m Bool
+ GI.GLib.Functions: unicharIsprint :: MonadIO m => Char -> m Bool
- GI.GLib.Functions: unicharIspunct :: (MonadIO m) => Char -> m Bool
+ GI.GLib.Functions: unicharIspunct :: MonadIO m => Char -> m Bool
- GI.GLib.Functions: unicharIsspace :: (MonadIO m) => Char -> m Bool
+ GI.GLib.Functions: unicharIsspace :: MonadIO m => Char -> m Bool
- GI.GLib.Functions: unicharIstitle :: (MonadIO m) => Char -> m Bool
+ GI.GLib.Functions: unicharIstitle :: MonadIO m => Char -> m Bool
- GI.GLib.Functions: unicharIsupper :: (MonadIO m) => Char -> m Bool
+ GI.GLib.Functions: unicharIsupper :: MonadIO m => Char -> m Bool
- GI.GLib.Functions: unicharIswide :: (MonadIO m) => Char -> m Bool
+ GI.GLib.Functions: unicharIswide :: MonadIO m => Char -> m Bool
- GI.GLib.Functions: unicharIswideCjk :: (MonadIO m) => Char -> m Bool
+ GI.GLib.Functions: unicharIswideCjk :: MonadIO m => Char -> m Bool
- GI.GLib.Functions: unicharIsxdigit :: (MonadIO m) => Char -> m Bool
+ GI.GLib.Functions: unicharIsxdigit :: MonadIO m => Char -> m Bool
- GI.GLib.Functions: unicharIszerowidth :: (MonadIO m) => Char -> m Bool
+ GI.GLib.Functions: unicharIszerowidth :: MonadIO m => Char -> m Bool
- GI.GLib.Functions: unicharToUtf8 :: (MonadIO m) => Char -> Text -> m Int32
+ GI.GLib.Functions: unicharToUtf8 :: MonadIO m => Char -> Text -> m Int32
- GI.GLib.Functions: unicharTolower :: (MonadIO m) => Char -> m Char
+ GI.GLib.Functions: unicharTolower :: MonadIO m => Char -> m Char
- GI.GLib.Functions: unicharTotitle :: (MonadIO m) => Char -> m Char
+ GI.GLib.Functions: unicharTotitle :: MonadIO m => Char -> m Char
- GI.GLib.Functions: unicharToupper :: (MonadIO m) => Char -> m Char
+ GI.GLib.Functions: unicharToupper :: MonadIO m => Char -> m Char
- GI.GLib.Functions: unicharType :: (MonadIO m) => Char -> m UnicodeType
+ GI.GLib.Functions: unicharType :: MonadIO m => Char -> m UnicodeType
- GI.GLib.Functions: unicharValidate :: (MonadIO m) => Char -> m Bool
+ GI.GLib.Functions: unicharValidate :: MonadIO m => Char -> m Bool
- GI.GLib.Functions: unicharXdigitValue :: (MonadIO m) => Char -> m Int32
+ GI.GLib.Functions: unicharXdigitValue :: MonadIO m => Char -> m Int32
- GI.GLib.Functions: unicodeCanonicalDecomposition :: (MonadIO m) => Char -> Word64 -> m Char
+ GI.GLib.Functions: unicodeCanonicalDecomposition :: MonadIO m => Char -> Word64 -> m Char
- GI.GLib.Functions: unicodeCanonicalOrdering :: (MonadIO m) => Char -> Word64 -> m ()
+ GI.GLib.Functions: unicodeCanonicalOrdering :: MonadIO m => Char -> Word64 -> m ()
- GI.GLib.Functions: unicodeScriptFromIso15924 :: (MonadIO m) => Word32 -> m UnicodeScript
+ GI.GLib.Functions: unicodeScriptFromIso15924 :: MonadIO m => Word32 -> m UnicodeScript
- GI.GLib.Functions: unicodeScriptToIso15924 :: (MonadIO m) => UnicodeScript -> m Word32
+ GI.GLib.Functions: unicodeScriptToIso15924 :: MonadIO m => UnicodeScript -> m Word32
- GI.GLib.Functions: unixErrorQuark :: (MonadIO m) => m Word32
+ GI.GLib.Functions: unixErrorQuark :: MonadIO m => m Word32
- GI.GLib.Functions: unixFdAddFull :: (MonadIO m) => Int32 -> Int32 -> [IOCondition] -> UnixFDSourceFunc -> m Word32
+ GI.GLib.Functions: unixFdAddFull :: MonadIO m => Int32 -> Int32 -> [IOCondition] -> UnixFDSourceFunc -> m Word32
- GI.GLib.Functions: unixFdSourceNew :: (MonadIO m) => Int32 -> [IOCondition] -> m Source
+ GI.GLib.Functions: unixFdSourceNew :: MonadIO m => Int32 -> [IOCondition] -> m Source
- GI.GLib.Functions: unixOpenPipe :: (MonadIO m) => Int32 -> Int32 -> m ()
+ GI.GLib.Functions: unixOpenPipe :: MonadIO m => Int32 -> Int32 -> m ()
- GI.GLib.Functions: unixSetFdNonblocking :: (MonadIO m) => Int32 -> Bool -> m ()
+ GI.GLib.Functions: unixSetFdNonblocking :: MonadIO m => Int32 -> Bool -> m ()
- GI.GLib.Functions: unixSignalAdd :: (MonadIO m) => Int32 -> Int32 -> SourceFunc -> m Word32
+ GI.GLib.Functions: unixSignalAdd :: MonadIO m => Int32 -> Int32 -> SourceFunc -> m Word32
- GI.GLib.Functions: unixSignalSourceNew :: (MonadIO m) => Int32 -> m Source
+ GI.GLib.Functions: unixSignalSourceNew :: MonadIO m => Int32 -> m Source
- GI.GLib.Functions: unlink :: (MonadIO m) => Text -> m Int32
+ GI.GLib.Functions: unlink :: MonadIO m => Text -> m Int32
- GI.GLib.Functions: unsetenv :: (MonadIO m) => Text -> m ()
+ GI.GLib.Functions: unsetenv :: MonadIO m => Text -> m ()
- GI.GLib.Functions: uriEscapeString :: (MonadIO m) => Text -> Maybe (Text) -> Bool -> m Text
+ GI.GLib.Functions: uriEscapeString :: MonadIO m => Text -> Maybe (Text) -> Bool -> m Text
- GI.GLib.Functions: uriListExtractUris :: (MonadIO m) => Text -> m [Text]
+ GI.GLib.Functions: uriListExtractUris :: MonadIO m => Text -> m [Text]
- GI.GLib.Functions: uriParseScheme :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: uriParseScheme :: MonadIO m => Text -> m Text
- GI.GLib.Functions: uriUnescapeSegment :: (MonadIO m) => Maybe (Text) -> Maybe (Text) -> Maybe (Text) -> m Text
+ GI.GLib.Functions: uriUnescapeSegment :: MonadIO m => Maybe (Text) -> Maybe (Text) -> Maybe (Text) -> m Text
- GI.GLib.Functions: uriUnescapeString :: (MonadIO m) => Text -> Maybe (Text) -> m Text
+ GI.GLib.Functions: uriUnescapeString :: MonadIO m => Text -> Maybe (Text) -> m Text
- GI.GLib.Functions: usleep :: (MonadIO m) => Word64 -> m ()
+ GI.GLib.Functions: usleep :: MonadIO m => CULong -> m ()
- GI.GLib.Functions: utf8Casefold :: (MonadIO m) => Text -> Int64 -> m Text
+ GI.GLib.Functions: utf8Casefold :: MonadIO m => Text -> Int64 -> m Text
- GI.GLib.Functions: utf8Collate :: (MonadIO m) => Text -> Text -> m Int32
+ GI.GLib.Functions: utf8Collate :: MonadIO m => Text -> Text -> m Int32
- GI.GLib.Functions: utf8CollateKey :: (MonadIO m) => Text -> Int64 -> m Text
+ GI.GLib.Functions: utf8CollateKey :: MonadIO m => Text -> Int64 -> m Text
- GI.GLib.Functions: utf8CollateKeyForFilename :: (MonadIO m) => Text -> Int64 -> m Text
+ GI.GLib.Functions: utf8CollateKeyForFilename :: MonadIO m => Text -> Int64 -> m Text
- GI.GLib.Functions: utf8FindNextChar :: (MonadIO m) => Text -> Text -> m Text
+ GI.GLib.Functions: utf8FindNextChar :: MonadIO m => Text -> Text -> m Text
- GI.GLib.Functions: utf8FindPrevChar :: (MonadIO m) => Text -> Text -> m Text
+ GI.GLib.Functions: utf8FindPrevChar :: MonadIO m => Text -> Text -> m Text
- GI.GLib.Functions: utf8GetChar :: (MonadIO m) => Text -> m Char
+ GI.GLib.Functions: utf8GetChar :: MonadIO m => Text -> m Char
- GI.GLib.Functions: utf8GetCharValidated :: (MonadIO m) => Text -> Int64 -> m Char
+ GI.GLib.Functions: utf8GetCharValidated :: MonadIO m => Text -> Int64 -> m Char
- GI.GLib.Functions: utf8Normalize :: (MonadIO m) => Text -> Int64 -> NormalizeMode -> m Text
+ GI.GLib.Functions: utf8Normalize :: MonadIO m => Text -> Int64 -> NormalizeMode -> m Text
- GI.GLib.Functions: utf8OffsetToPointer :: (MonadIO m) => Text -> Int64 -> m Text
+ GI.GLib.Functions: utf8OffsetToPointer :: MonadIO m => Text -> CLong -> m Text
- GI.GLib.Functions: utf8PointerToOffset :: (MonadIO m) => Text -> Text -> m Int64
+ GI.GLib.Functions: utf8PointerToOffset :: MonadIO m => Text -> Text -> m CLong
- GI.GLib.Functions: utf8PrevChar :: (MonadIO m) => Text -> m Text
+ GI.GLib.Functions: utf8PrevChar :: MonadIO m => Text -> m Text
- GI.GLib.Functions: utf8Strchr :: (MonadIO m) => Text -> Int64 -> Char -> m Text
+ GI.GLib.Functions: utf8Strchr :: MonadIO m => Text -> Int64 -> Char -> m Text
- GI.GLib.Functions: utf8Strdown :: (MonadIO m) => Text -> Int64 -> m Text
+ GI.GLib.Functions: utf8Strdown :: MonadIO m => Text -> Int64 -> m Text
- GI.GLib.Functions: utf8Strlen :: (MonadIO m) => Text -> Int64 -> m Int64
+ GI.GLib.Functions: utf8Strlen :: MonadIO m => Text -> Int64 -> m CLong
- GI.GLib.Functions: utf8Strncpy :: (MonadIO m) => Text -> Text -> Word64 -> m Text
+ GI.GLib.Functions: utf8Strncpy :: MonadIO m => Text -> Text -> Word64 -> m Text
- GI.GLib.Functions: utf8Strrchr :: (MonadIO m) => Text -> Int64 -> Char -> m Text
+ GI.GLib.Functions: utf8Strrchr :: MonadIO m => Text -> Int64 -> Char -> m Text
- GI.GLib.Functions: utf8Strreverse :: (MonadIO m) => Text -> Int64 -> m Text
+ GI.GLib.Functions: utf8Strreverse :: MonadIO m => Text -> Int64 -> m Text
- GI.GLib.Functions: utf8Strup :: (MonadIO m) => Text -> Int64 -> m Text
+ GI.GLib.Functions: utf8Strup :: MonadIO m => Text -> Int64 -> m Text
- GI.GLib.Functions: utf8Substring :: (MonadIO m) => Text -> Int64 -> Int64 -> m Text
+ GI.GLib.Functions: utf8Substring :: MonadIO m => Text -> CLong -> CLong -> m Text
- GI.GLib.Functions: utf8Validate :: (MonadIO m) => ByteString -> m (Bool, Text)
+ GI.GLib.Functions: utf8Validate :: MonadIO m => ByteString -> m (Bool, Text)
- GI.GLib.Functions: variantGetGtype :: (MonadIO m) => m GType
+ GI.GLib.Functions: variantGetGtype :: MonadIO m => m GType
- GI.GLib.Functions: warnMessage :: (MonadIO m) => Text -> Text -> Int32 -> Text -> Text -> m ()
+ GI.GLib.Functions: warnMessage :: MonadIO m => Text -> Text -> Int32 -> Text -> Text -> m ()
- GI.GLib.Structs.AsyncQueue: asyncQueueLength :: (MonadIO m) => AsyncQueue -> m Int32
+ GI.GLib.Structs.AsyncQueue: asyncQueueLength :: MonadIO m => AsyncQueue -> m Int32
- GI.GLib.Structs.AsyncQueue: asyncQueueLengthUnlocked :: (MonadIO m) => AsyncQueue -> m Int32
+ GI.GLib.Structs.AsyncQueue: asyncQueueLengthUnlocked :: MonadIO m => AsyncQueue -> m Int32
- GI.GLib.Structs.AsyncQueue: asyncQueueLock :: (MonadIO m) => AsyncQueue -> m ()
+ GI.GLib.Structs.AsyncQueue: asyncQueueLock :: MonadIO m => AsyncQueue -> m ()
- GI.GLib.Structs.AsyncQueue: asyncQueuePush :: (MonadIO m) => AsyncQueue -> Ptr () -> m ()
+ GI.GLib.Structs.AsyncQueue: asyncQueuePush :: MonadIO m => AsyncQueue -> Ptr () -> m ()
- GI.GLib.Structs.AsyncQueue: asyncQueuePushFront :: (MonadIO m) => AsyncQueue -> Ptr () -> m ()
+ GI.GLib.Structs.AsyncQueue: asyncQueuePushFront :: MonadIO m => AsyncQueue -> Ptr () -> m ()
- GI.GLib.Structs.AsyncQueue: asyncQueuePushFrontUnlocked :: (MonadIO m) => AsyncQueue -> Ptr () -> m ()
+ GI.GLib.Structs.AsyncQueue: asyncQueuePushFrontUnlocked :: MonadIO m => AsyncQueue -> Ptr () -> m ()
- GI.GLib.Structs.AsyncQueue: asyncQueuePushUnlocked :: (MonadIO m) => AsyncQueue -> Ptr () -> m ()
+ GI.GLib.Structs.AsyncQueue: asyncQueuePushUnlocked :: MonadIO m => AsyncQueue -> Ptr () -> m ()
- GI.GLib.Structs.AsyncQueue: asyncQueueRefUnlocked :: (MonadIO m) => AsyncQueue -> m ()
+ GI.GLib.Structs.AsyncQueue: asyncQueueRefUnlocked :: MonadIO m => AsyncQueue -> m ()
- GI.GLib.Structs.AsyncQueue: asyncQueueRemove :: (MonadIO m) => AsyncQueue -> Ptr () -> m Bool
+ GI.GLib.Structs.AsyncQueue: asyncQueueRemove :: MonadIO m => AsyncQueue -> Ptr () -> m Bool
- GI.GLib.Structs.AsyncQueue: asyncQueueRemoveUnlocked :: (MonadIO m) => AsyncQueue -> Ptr () -> m Bool
+ GI.GLib.Structs.AsyncQueue: asyncQueueRemoveUnlocked :: MonadIO m => AsyncQueue -> Ptr () -> m Bool
- GI.GLib.Structs.AsyncQueue: asyncQueueUnlock :: (MonadIO m) => AsyncQueue -> m ()
+ GI.GLib.Structs.AsyncQueue: asyncQueueUnlock :: MonadIO m => AsyncQueue -> m ()
- GI.GLib.Structs.AsyncQueue: asyncQueueUnref :: (MonadIO m) => AsyncQueue -> m ()
+ GI.GLib.Structs.AsyncQueue: asyncQueueUnref :: MonadIO m => AsyncQueue -> m ()
- GI.GLib.Structs.AsyncQueue: asyncQueueUnrefAndUnlock :: (MonadIO m) => AsyncQueue -> m ()
+ GI.GLib.Structs.AsyncQueue: asyncQueueUnrefAndUnlock :: MonadIO m => AsyncQueue -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileAddApplication :: (MonadIO m) => BookmarkFile -> Text -> Maybe (Text) -> Maybe (Text) -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileAddApplication :: MonadIO m => BookmarkFile -> Text -> Maybe (Text) -> Maybe (Text) -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileAddGroup :: (MonadIO m) => BookmarkFile -> Text -> Text -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileAddGroup :: MonadIO m => BookmarkFile -> Text -> Text -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileErrorQuark :: (MonadIO m) => m Word32
+ GI.GLib.Structs.BookmarkFile: bookmarkFileErrorQuark :: MonadIO m => m Word32
- GI.GLib.Structs.BookmarkFile: bookmarkFileFree :: (MonadIO m) => BookmarkFile -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileFree :: MonadIO m => BookmarkFile -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileGetAdded :: (MonadIO m) => BookmarkFile -> Text -> m Int64
+ GI.GLib.Structs.BookmarkFile: bookmarkFileGetAdded :: MonadIO m => BookmarkFile -> Text -> m CLong
- GI.GLib.Structs.BookmarkFile: bookmarkFileGetAppInfo :: (MonadIO m) => BookmarkFile -> Text -> Text -> m (Text, Word32, Int64)
+ GI.GLib.Structs.BookmarkFile: bookmarkFileGetAppInfo :: MonadIO m => BookmarkFile -> Text -> Text -> m (Text, Word32, CLong)
- GI.GLib.Structs.BookmarkFile: bookmarkFileGetApplications :: (MonadIO m) => BookmarkFile -> Text -> m [Text]
+ GI.GLib.Structs.BookmarkFile: bookmarkFileGetApplications :: MonadIO m => BookmarkFile -> Text -> m [Text]
- GI.GLib.Structs.BookmarkFile: bookmarkFileGetDescription :: (MonadIO m) => BookmarkFile -> Text -> m Text
+ GI.GLib.Structs.BookmarkFile: bookmarkFileGetDescription :: MonadIO m => BookmarkFile -> Text -> m Text
- GI.GLib.Structs.BookmarkFile: bookmarkFileGetGroups :: (MonadIO m) => BookmarkFile -> Text -> m [Text]
+ GI.GLib.Structs.BookmarkFile: bookmarkFileGetGroups :: MonadIO m => BookmarkFile -> Text -> m [Text]
- GI.GLib.Structs.BookmarkFile: bookmarkFileGetIcon :: (MonadIO m) => BookmarkFile -> Text -> m (Text, Text)
+ GI.GLib.Structs.BookmarkFile: bookmarkFileGetIcon :: MonadIO m => BookmarkFile -> Text -> m (Text, Text)
- GI.GLib.Structs.BookmarkFile: bookmarkFileGetIsPrivate :: (MonadIO m) => BookmarkFile -> Text -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileGetIsPrivate :: MonadIO m => BookmarkFile -> Text -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileGetMimeType :: (MonadIO m) => BookmarkFile -> Text -> m Text
+ GI.GLib.Structs.BookmarkFile: bookmarkFileGetMimeType :: MonadIO m => BookmarkFile -> Text -> m Text
- GI.GLib.Structs.BookmarkFile: bookmarkFileGetModified :: (MonadIO m) => BookmarkFile -> Text -> m Int64
+ GI.GLib.Structs.BookmarkFile: bookmarkFileGetModified :: MonadIO m => BookmarkFile -> Text -> m CLong
- GI.GLib.Structs.BookmarkFile: bookmarkFileGetSize :: (MonadIO m) => BookmarkFile -> m Int32
+ GI.GLib.Structs.BookmarkFile: bookmarkFileGetSize :: MonadIO m => BookmarkFile -> m Int32
- GI.GLib.Structs.BookmarkFile: bookmarkFileGetTitle :: (MonadIO m) => BookmarkFile -> Maybe (Text) -> m Text
+ GI.GLib.Structs.BookmarkFile: bookmarkFileGetTitle :: MonadIO m => BookmarkFile -> Maybe (Text) -> m Text
- GI.GLib.Structs.BookmarkFile: bookmarkFileGetUris :: (MonadIO m) => BookmarkFile -> m [Text]
+ GI.GLib.Structs.BookmarkFile: bookmarkFileGetUris :: MonadIO m => BookmarkFile -> m [Text]
- GI.GLib.Structs.BookmarkFile: bookmarkFileGetVisited :: (MonadIO m) => BookmarkFile -> Text -> m Int64
+ GI.GLib.Structs.BookmarkFile: bookmarkFileGetVisited :: MonadIO m => BookmarkFile -> Text -> m CLong
- GI.GLib.Structs.BookmarkFile: bookmarkFileHasApplication :: (MonadIO m) => BookmarkFile -> Text -> Text -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileHasApplication :: MonadIO m => BookmarkFile -> Text -> Text -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileHasGroup :: (MonadIO m) => BookmarkFile -> Text -> Text -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileHasGroup :: MonadIO m => BookmarkFile -> Text -> Text -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileHasItem :: (MonadIO m) => BookmarkFile -> Text -> m Bool
+ GI.GLib.Structs.BookmarkFile: bookmarkFileHasItem :: MonadIO m => BookmarkFile -> Text -> m Bool
- GI.GLib.Structs.BookmarkFile: bookmarkFileLoadFromData :: (MonadIO m) => BookmarkFile -> Text -> Word64 -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileLoadFromData :: MonadIO m => BookmarkFile -> Text -> Word64 -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileLoadFromDataDirs :: (MonadIO m) => BookmarkFile -> Text -> Maybe (Text) -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileLoadFromDataDirs :: MonadIO m => BookmarkFile -> Text -> Maybe (Text) -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileLoadFromFile :: (MonadIO m) => BookmarkFile -> Text -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileLoadFromFile :: MonadIO m => BookmarkFile -> Text -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileMoveItem :: (MonadIO m) => BookmarkFile -> Text -> Maybe (Text) -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileMoveItem :: MonadIO m => BookmarkFile -> Text -> Maybe (Text) -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileRemoveApplication :: (MonadIO m) => BookmarkFile -> Text -> Text -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileRemoveApplication :: MonadIO m => BookmarkFile -> Text -> Text -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileRemoveGroup :: (MonadIO m) => BookmarkFile -> Text -> Text -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileRemoveGroup :: MonadIO m => BookmarkFile -> Text -> Text -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileRemoveItem :: (MonadIO m) => BookmarkFile -> Text -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileRemoveItem :: MonadIO m => BookmarkFile -> Text -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileSetAdded :: (MonadIO m) => BookmarkFile -> Text -> Int64 -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileSetAdded :: MonadIO m => BookmarkFile -> Text -> CLong -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileSetAppInfo :: (MonadIO m) => BookmarkFile -> Text -> Text -> Text -> Int32 -> Int64 -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileSetAppInfo :: MonadIO m => BookmarkFile -> Text -> Text -> Text -> Int32 -> CLong -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileSetDescription :: (MonadIO m) => BookmarkFile -> Maybe (Text) -> Text -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileSetDescription :: MonadIO m => BookmarkFile -> Maybe (Text) -> Text -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileSetGroups :: (MonadIO m) => BookmarkFile -> Text -> Maybe (Text) -> Word64 -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileSetGroups :: MonadIO m => BookmarkFile -> Text -> Maybe (Text) -> Word64 -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileSetIcon :: (MonadIO m) => BookmarkFile -> Text -> Maybe (Text) -> Text -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileSetIcon :: MonadIO m => BookmarkFile -> Text -> Maybe (Text) -> Text -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileSetIsPrivate :: (MonadIO m) => BookmarkFile -> Text -> Bool -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileSetIsPrivate :: MonadIO m => BookmarkFile -> Text -> Bool -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileSetMimeType :: (MonadIO m) => BookmarkFile -> Text -> Text -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileSetMimeType :: MonadIO m => BookmarkFile -> Text -> Text -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileSetModified :: (MonadIO m) => BookmarkFile -> Text -> Int64 -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileSetModified :: MonadIO m => BookmarkFile -> Text -> CLong -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileSetTitle :: (MonadIO m) => BookmarkFile -> Maybe (Text) -> Text -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileSetTitle :: MonadIO m => BookmarkFile -> Maybe (Text) -> Text -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileSetVisited :: (MonadIO m) => BookmarkFile -> Text -> Int64 -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileSetVisited :: MonadIO m => BookmarkFile -> Text -> CLong -> m ()
- GI.GLib.Structs.BookmarkFile: bookmarkFileToData :: (MonadIO m) => BookmarkFile -> m (Text, Word64)
+ GI.GLib.Structs.BookmarkFile: bookmarkFileToData :: MonadIO m => BookmarkFile -> m (Text, Word64)
- GI.GLib.Structs.BookmarkFile: bookmarkFileToFile :: (MonadIO m) => BookmarkFile -> Text -> m ()
+ GI.GLib.Structs.BookmarkFile: bookmarkFileToFile :: MonadIO m => BookmarkFile -> Text -> m ()
- GI.GLib.Structs.ByteArray: byteArrayFree :: (MonadIO m) => ByteString -> Bool -> m Word8
+ GI.GLib.Structs.ByteArray: byteArrayFree :: MonadIO m => ByteString -> Bool -> m Word8
- GI.GLib.Structs.ByteArray: byteArrayFreeToBytes :: (MonadIO m) => ByteString -> m Bytes
+ GI.GLib.Structs.ByteArray: byteArrayFreeToBytes :: MonadIO m => ByteString -> m Bytes
- GI.GLib.Structs.ByteArray: byteArrayNew :: (MonadIO m) => m ByteString
+ GI.GLib.Structs.ByteArray: byteArrayNew :: MonadIO m => m ByteString
- GI.GLib.Structs.ByteArray: byteArrayNewTake :: (MonadIO m) => ByteString -> m ByteString
+ GI.GLib.Structs.ByteArray: byteArrayNewTake :: MonadIO m => ByteString -> m ByteString
- GI.GLib.Structs.ByteArray: byteArrayReadData :: ByteArray -> IO Word8
+ GI.GLib.Structs.ByteArray: byteArrayReadData :: MonadIO m => ByteArray -> m Word8
- GI.GLib.Structs.ByteArray: byteArrayReadLen :: ByteArray -> IO Word32
+ GI.GLib.Structs.ByteArray: byteArrayReadLen :: MonadIO m => ByteArray -> m Word32
- GI.GLib.Structs.ByteArray: byteArrayUnref :: (MonadIO m) => ByteString -> m ()
+ GI.GLib.Structs.ByteArray: byteArrayUnref :: MonadIO m => ByteString -> m ()
- GI.GLib.Structs.Bytes: bytesCompare :: (MonadIO m) => Bytes -> Bytes -> m Int32
+ GI.GLib.Structs.Bytes: bytesCompare :: MonadIO m => Bytes -> Bytes -> m Int32
- GI.GLib.Structs.Bytes: bytesEqual :: (MonadIO m) => Bytes -> Bytes -> m Bool
+ GI.GLib.Structs.Bytes: bytesEqual :: MonadIO m => Bytes -> Bytes -> m Bool
- GI.GLib.Structs.Bytes: bytesGetData :: (MonadIO m) => Bytes -> m ByteString
+ GI.GLib.Structs.Bytes: bytesGetData :: MonadIO m => Bytes -> m ByteString
- GI.GLib.Structs.Bytes: bytesGetSize :: (MonadIO m) => Bytes -> m Word64
+ GI.GLib.Structs.Bytes: bytesGetSize :: MonadIO m => Bytes -> m Word64
- GI.GLib.Structs.Bytes: bytesHash :: (MonadIO m) => Bytes -> m Word32
+ GI.GLib.Structs.Bytes: bytesHash :: MonadIO m => Bytes -> m Word32
- GI.GLib.Structs.Bytes: bytesNew :: (MonadIO m) => Maybe (ByteString) -> m Bytes
+ GI.GLib.Structs.Bytes: bytesNew :: MonadIO m => Maybe (ByteString) -> m Bytes
- GI.GLib.Structs.Bytes: bytesNewFromBytes :: (MonadIO m) => Bytes -> Word64 -> Word64 -> m Bytes
+ GI.GLib.Structs.Bytes: bytesNewFromBytes :: MonadIO m => Bytes -> Word64 -> Word64 -> m Bytes
- GI.GLib.Structs.Bytes: bytesNewTake :: (MonadIO m) => Maybe (ByteString) -> m Bytes
+ GI.GLib.Structs.Bytes: bytesNewTake :: MonadIO m => Maybe (ByteString) -> m Bytes
- GI.GLib.Structs.Bytes: bytesRef :: (MonadIO m) => Bytes -> m Bytes
+ GI.GLib.Structs.Bytes: bytesRef :: MonadIO m => Bytes -> m Bytes
- GI.GLib.Structs.Bytes: bytesUnref :: (MonadIO m) => Bytes -> m ()
+ GI.GLib.Structs.Bytes: bytesUnref :: MonadIO m => Bytes -> m ()
- GI.GLib.Structs.Bytes: bytesUnrefToArray :: (MonadIO m) => Bytes -> m ByteString
+ GI.GLib.Structs.Bytes: bytesUnrefToArray :: MonadIO m => Bytes -> m ByteString
- GI.GLib.Structs.Bytes: bytesUnrefToData :: (MonadIO m) => Bytes -> Word64 -> m ()
+ GI.GLib.Structs.Bytes: bytesUnrefToData :: MonadIO m => Bytes -> Word64 -> m (Ptr ())
- GI.GLib.Structs.Checksum: checksumCopy :: (MonadIO m) => Checksum -> m Checksum
+ GI.GLib.Structs.Checksum: checksumCopy :: MonadIO m => Checksum -> m Checksum
- GI.GLib.Structs.Checksum: checksumFree :: (MonadIO m) => Checksum -> m ()
+ GI.GLib.Structs.Checksum: checksumFree :: MonadIO m => Checksum -> m ()
- GI.GLib.Structs.Checksum: checksumGetString :: (MonadIO m) => Checksum -> m Text
+ GI.GLib.Structs.Checksum: checksumGetString :: MonadIO m => Checksum -> m Text
- GI.GLib.Structs.Checksum: checksumNew :: (MonadIO m) => ChecksumType -> m Checksum
+ GI.GLib.Structs.Checksum: checksumNew :: MonadIO m => ChecksumType -> m Checksum
- GI.GLib.Structs.Checksum: checksumReset :: (MonadIO m) => Checksum -> m ()
+ GI.GLib.Structs.Checksum: checksumReset :: MonadIO m => Checksum -> m ()
- GI.GLib.Structs.Checksum: checksumTypeGetLength :: (MonadIO m) => ChecksumType -> m Int64
+ GI.GLib.Structs.Checksum: checksumTypeGetLength :: MonadIO m => ChecksumType -> m Int64
- GI.GLib.Structs.Checksum: checksumUpdate :: (MonadIO m) => Checksum -> ByteString -> m ()
+ GI.GLib.Structs.Checksum: checksumUpdate :: MonadIO m => Checksum -> ByteString -> m ()
- GI.GLib.Structs.Cond: condBroadcast :: (MonadIO m) => Cond -> m ()
+ GI.GLib.Structs.Cond: condBroadcast :: MonadIO m => Cond -> m ()
- GI.GLib.Structs.Cond: condClear :: (MonadIO m) => Cond -> m ()
+ GI.GLib.Structs.Cond: condClear :: MonadIO m => Cond -> m ()
- GI.GLib.Structs.Cond: condInit :: (MonadIO m) => Cond -> m ()
+ GI.GLib.Structs.Cond: condInit :: MonadIO m => Cond -> m ()
- GI.GLib.Structs.Cond: condSignal :: (MonadIO m) => Cond -> m ()
+ GI.GLib.Structs.Cond: condSignal :: MonadIO m => Cond -> m ()
- GI.GLib.Structs.Cond: condWait :: (MonadIO m) => Cond -> Mutex -> m ()
+ GI.GLib.Structs.Cond: condWait :: MonadIO m => Cond -> Mutex -> m ()
- GI.GLib.Structs.Cond: condWaitUntil :: (MonadIO m) => Cond -> Mutex -> Int64 -> m Bool
+ GI.GLib.Structs.Cond: condWaitUntil :: MonadIO m => Cond -> Mutex -> Int64 -> m Bool
- GI.GLib.Structs.Date: dateAddDays :: (MonadIO m) => Date -> Word32 -> m ()
+ GI.GLib.Structs.Date: dateAddDays :: MonadIO m => Date -> Word32 -> m ()
- GI.GLib.Structs.Date: dateAddMonths :: (MonadIO m) => Date -> Word32 -> m ()
+ GI.GLib.Structs.Date: dateAddMonths :: MonadIO m => Date -> Word32 -> m ()
- GI.GLib.Structs.Date: dateAddYears :: (MonadIO m) => Date -> Word32 -> m ()
+ GI.GLib.Structs.Date: dateAddYears :: MonadIO m => Date -> Word32 -> m ()
- GI.GLib.Structs.Date: dateClamp :: (MonadIO m) => Date -> Date -> Date -> m ()
+ GI.GLib.Structs.Date: dateClamp :: MonadIO m => Date -> Date -> Date -> m ()
- GI.GLib.Structs.Date: dateClear :: (MonadIO m) => Date -> Word32 -> m ()
+ GI.GLib.Structs.Date: dateClear :: MonadIO m => Date -> Word32 -> m ()
- GI.GLib.Structs.Date: dateCompare :: (MonadIO m) => Date -> Date -> m Int32
+ GI.GLib.Structs.Date: dateCompare :: MonadIO m => Date -> Date -> m Int32
- GI.GLib.Structs.Date: dateDaysBetween :: (MonadIO m) => Date -> Date -> m Int32
+ GI.GLib.Structs.Date: dateDaysBetween :: MonadIO m => Date -> Date -> m Int32
- GI.GLib.Structs.Date: dateFree :: (MonadIO m) => Date -> m ()
+ GI.GLib.Structs.Date: dateFree :: MonadIO m => Date -> m ()
- GI.GLib.Structs.Date: dateGetDay :: (MonadIO m) => Date -> m Word8
+ GI.GLib.Structs.Date: dateGetDay :: MonadIO m => Date -> m Word8
- GI.GLib.Structs.Date: dateGetDayOfYear :: (MonadIO m) => Date -> m Word32
+ GI.GLib.Structs.Date: dateGetDayOfYear :: MonadIO m => Date -> m Word32
- GI.GLib.Structs.Date: dateGetDaysInMonth :: (MonadIO m) => DateMonth -> Word16 -> m Word8
+ GI.GLib.Structs.Date: dateGetDaysInMonth :: MonadIO m => DateMonth -> Word16 -> m Word8
- GI.GLib.Structs.Date: dateGetIso8601WeekOfYear :: (MonadIO m) => Date -> m Word32
+ GI.GLib.Structs.Date: dateGetIso8601WeekOfYear :: MonadIO m => Date -> m Word32
- GI.GLib.Structs.Date: dateGetJulian :: (MonadIO m) => Date -> m Word32
+ GI.GLib.Structs.Date: dateGetJulian :: MonadIO m => Date -> m Word32
- GI.GLib.Structs.Date: dateGetMondayWeekOfYear :: (MonadIO m) => Date -> m Word32
+ GI.GLib.Structs.Date: dateGetMondayWeekOfYear :: MonadIO m => Date -> m Word32
- GI.GLib.Structs.Date: dateGetMondayWeeksInYear :: (MonadIO m) => Word16 -> m Word8
+ GI.GLib.Structs.Date: dateGetMondayWeeksInYear :: MonadIO m => Word16 -> m Word8
- GI.GLib.Structs.Date: dateGetMonth :: (MonadIO m) => Date -> m DateMonth
+ GI.GLib.Structs.Date: dateGetMonth :: MonadIO m => Date -> m DateMonth
- GI.GLib.Structs.Date: dateGetSundayWeekOfYear :: (MonadIO m) => Date -> m Word32
+ GI.GLib.Structs.Date: dateGetSundayWeekOfYear :: MonadIO m => Date -> m Word32
- GI.GLib.Structs.Date: dateGetSundayWeeksInYear :: (MonadIO m) => Word16 -> m Word8
+ GI.GLib.Structs.Date: dateGetSundayWeeksInYear :: MonadIO m => Word16 -> m Word8
- GI.GLib.Structs.Date: dateGetWeekday :: (MonadIO m) => Date -> m DateWeekday
+ GI.GLib.Structs.Date: dateGetWeekday :: MonadIO m => Date -> m DateWeekday
- GI.GLib.Structs.Date: dateGetYear :: (MonadIO m) => Date -> m Word16
+ GI.GLib.Structs.Date: dateGetYear :: MonadIO m => Date -> m Word16
- GI.GLib.Structs.Date: dateIsFirstOfMonth :: (MonadIO m) => Date -> m Bool
+ GI.GLib.Structs.Date: dateIsFirstOfMonth :: MonadIO m => Date -> m Bool
- GI.GLib.Structs.Date: dateIsLastOfMonth :: (MonadIO m) => Date -> m Bool
+ GI.GLib.Structs.Date: dateIsLastOfMonth :: MonadIO m => Date -> m Bool
- GI.GLib.Structs.Date: dateIsLeapYear :: (MonadIO m) => Word16 -> m Bool
+ GI.GLib.Structs.Date: dateIsLeapYear :: MonadIO m => Word16 -> m Bool
- GI.GLib.Structs.Date: dateNew :: (MonadIO m) => m Date
+ GI.GLib.Structs.Date: dateNew :: MonadIO m => m Date
- GI.GLib.Structs.Date: dateNewDmy :: (MonadIO m) => Word8 -> DateMonth -> Word16 -> m Date
+ GI.GLib.Structs.Date: dateNewDmy :: MonadIO m => Word8 -> DateMonth -> Word16 -> m Date
- GI.GLib.Structs.Date: dateNewJulian :: (MonadIO m) => Word32 -> m Date
+ GI.GLib.Structs.Date: dateNewJulian :: MonadIO m => Word32 -> m Date
- GI.GLib.Structs.Date: dateOrder :: (MonadIO m) => Date -> Date -> m ()
+ GI.GLib.Structs.Date: dateOrder :: MonadIO m => Date -> Date -> m ()
- GI.GLib.Structs.Date: dateReadDay :: Date -> IO Word32
+ GI.GLib.Structs.Date: dateReadDay :: MonadIO m => Date -> m Word32
- GI.GLib.Structs.Date: dateReadDmy :: Date -> IO Word32
+ GI.GLib.Structs.Date: dateReadDmy :: MonadIO m => Date -> m Word32
- GI.GLib.Structs.Date: dateReadJulian :: Date -> IO Word32
+ GI.GLib.Structs.Date: dateReadJulian :: MonadIO m => Date -> m Word32
- GI.GLib.Structs.Date: dateReadJulianDays :: Date -> IO Word32
+ GI.GLib.Structs.Date: dateReadJulianDays :: MonadIO m => Date -> m Word32
- GI.GLib.Structs.Date: dateReadMonth :: Date -> IO Word32
+ GI.GLib.Structs.Date: dateReadMonth :: MonadIO m => Date -> m Word32
- GI.GLib.Structs.Date: dateReadYear :: Date -> IO Word32
+ GI.GLib.Structs.Date: dateReadYear :: MonadIO m => Date -> m Word32
- GI.GLib.Structs.Date: dateSetDay :: (MonadIO m) => Date -> Word8 -> m ()
+ GI.GLib.Structs.Date: dateSetDay :: MonadIO m => Date -> Word8 -> m ()
- GI.GLib.Structs.Date: dateSetDmy :: (MonadIO m) => Date -> Word8 -> DateMonth -> Word16 -> m ()
+ GI.GLib.Structs.Date: dateSetDmy :: MonadIO m => Date -> Word8 -> DateMonth -> Word16 -> m ()
- GI.GLib.Structs.Date: dateSetJulian :: (MonadIO m) => Date -> Word32 -> m ()
+ GI.GLib.Structs.Date: dateSetJulian :: MonadIO m => Date -> Word32 -> m ()
- GI.GLib.Structs.Date: dateSetMonth :: (MonadIO m) => Date -> DateMonth -> m ()
+ GI.GLib.Structs.Date: dateSetMonth :: MonadIO m => Date -> DateMonth -> m ()
- GI.GLib.Structs.Date: dateSetParse :: (MonadIO m) => Date -> Text -> m ()
+ GI.GLib.Structs.Date: dateSetParse :: MonadIO m => Date -> Text -> m ()
- GI.GLib.Structs.Date: dateSetTime :: (MonadIO m) => Date -> Int32 -> m ()
+ GI.GLib.Structs.Date: dateSetTime :: MonadIO m => Date -> Int32 -> m ()
- GI.GLib.Structs.Date: dateSetTimeT :: (MonadIO m) => Date -> Int64 -> m ()
+ GI.GLib.Structs.Date: dateSetTimeT :: MonadIO m => Date -> CLong -> m ()
- GI.GLib.Structs.Date: dateSetTimeVal :: (MonadIO m) => Date -> TimeVal -> m ()
+ GI.GLib.Structs.Date: dateSetTimeVal :: MonadIO m => Date -> TimeVal -> m ()
- GI.GLib.Structs.Date: dateSetYear :: (MonadIO m) => Date -> Word16 -> m ()
+ GI.GLib.Structs.Date: dateSetYear :: MonadIO m => Date -> Word16 -> m ()
- GI.GLib.Structs.Date: dateStrftime :: (MonadIO m) => Text -> Word64 -> Text -> Date -> m Word64
+ GI.GLib.Structs.Date: dateStrftime :: MonadIO m => Text -> Word64 -> Text -> Date -> m Word64
- GI.GLib.Structs.Date: dateSubtractDays :: (MonadIO m) => Date -> Word32 -> m ()
+ GI.GLib.Structs.Date: dateSubtractDays :: MonadIO m => Date -> Word32 -> m ()
- GI.GLib.Structs.Date: dateSubtractMonths :: (MonadIO m) => Date -> Word32 -> m ()
+ GI.GLib.Structs.Date: dateSubtractMonths :: MonadIO m => Date -> Word32 -> m ()
- GI.GLib.Structs.Date: dateSubtractYears :: (MonadIO m) => Date -> Word32 -> m ()
+ GI.GLib.Structs.Date: dateSubtractYears :: MonadIO m => Date -> Word32 -> m ()
- GI.GLib.Structs.Date: dateToStructTm :: (MonadIO m) => Date -> Ptr () -> m ()
+ GI.GLib.Structs.Date: dateToStructTm :: MonadIO m => Date -> Ptr () -> m ()
- GI.GLib.Structs.Date: dateValid :: (MonadIO m) => Date -> m Bool
+ GI.GLib.Structs.Date: dateValid :: MonadIO m => Date -> m Bool
- GI.GLib.Structs.Date: dateValidDay :: (MonadIO m) => Word8 -> m Bool
+ GI.GLib.Structs.Date: dateValidDay :: MonadIO m => Word8 -> m Bool
- GI.GLib.Structs.Date: dateValidDmy :: (MonadIO m) => Word8 -> DateMonth -> Word16 -> m Bool
+ GI.GLib.Structs.Date: dateValidDmy :: MonadIO m => Word8 -> DateMonth -> Word16 -> m Bool
- GI.GLib.Structs.Date: dateValidJulian :: (MonadIO m) => Word32 -> m Bool
+ GI.GLib.Structs.Date: dateValidJulian :: MonadIO m => Word32 -> m Bool
- GI.GLib.Structs.Date: dateValidMonth :: (MonadIO m) => DateMonth -> m Bool
+ GI.GLib.Structs.Date: dateValidMonth :: MonadIO m => DateMonth -> m Bool
- GI.GLib.Structs.Date: dateValidWeekday :: (MonadIO m) => DateWeekday -> m Bool
+ GI.GLib.Structs.Date: dateValidWeekday :: MonadIO m => DateWeekday -> m Bool
- GI.GLib.Structs.Date: dateValidYear :: (MonadIO m) => Word16 -> m Bool
+ GI.GLib.Structs.Date: dateValidYear :: MonadIO m => Word16 -> m Bool
- GI.GLib.Structs.DateTime: dateTimeAdd :: (MonadIO m) => DateTime -> Int64 -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeAdd :: MonadIO m => DateTime -> Int64 -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeAddDays :: (MonadIO m) => DateTime -> Int32 -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeAddDays :: MonadIO m => DateTime -> Int32 -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeAddFull :: (MonadIO m) => DateTime -> Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> Double -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeAddFull :: MonadIO m => DateTime -> Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> Double -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeAddHours :: (MonadIO m) => DateTime -> Int32 -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeAddHours :: MonadIO m => DateTime -> Int32 -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeAddMinutes :: (MonadIO m) => DateTime -> Int32 -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeAddMinutes :: MonadIO m => DateTime -> Int32 -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeAddMonths :: (MonadIO m) => DateTime -> Int32 -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeAddMonths :: MonadIO m => DateTime -> Int32 -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeAddSeconds :: (MonadIO m) => DateTime -> Double -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeAddSeconds :: MonadIO m => DateTime -> Double -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeAddWeeks :: (MonadIO m) => DateTime -> Int32 -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeAddWeeks :: MonadIO m => DateTime -> Int32 -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeAddYears :: (MonadIO m) => DateTime -> Int32 -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeAddYears :: MonadIO m => DateTime -> Int32 -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeCompare :: (MonadIO m) => Ptr () -> Ptr () -> m Int32
+ GI.GLib.Structs.DateTime: dateTimeCompare :: MonadIO m => Ptr () -> Ptr () -> m Int32
- GI.GLib.Structs.DateTime: dateTimeDifference :: (MonadIO m) => DateTime -> DateTime -> m Int64
+ GI.GLib.Structs.DateTime: dateTimeDifference :: MonadIO m => DateTime -> DateTime -> m Int64
- GI.GLib.Structs.DateTime: dateTimeEqual :: (MonadIO m) => Ptr () -> Ptr () -> m Bool
+ GI.GLib.Structs.DateTime: dateTimeEqual :: MonadIO m => Ptr () -> Ptr () -> m Bool
- GI.GLib.Structs.DateTime: dateTimeFormat :: (MonadIO m) => DateTime -> Text -> m Text
+ GI.GLib.Structs.DateTime: dateTimeFormat :: MonadIO m => DateTime -> Text -> m Text
- GI.GLib.Structs.DateTime: dateTimeGetDayOfMonth :: (MonadIO m) => DateTime -> m Int32
+ GI.GLib.Structs.DateTime: dateTimeGetDayOfMonth :: MonadIO m => DateTime -> m Int32
- GI.GLib.Structs.DateTime: dateTimeGetDayOfWeek :: (MonadIO m) => DateTime -> m Int32
+ GI.GLib.Structs.DateTime: dateTimeGetDayOfWeek :: MonadIO m => DateTime -> m Int32
- GI.GLib.Structs.DateTime: dateTimeGetDayOfYear :: (MonadIO m) => DateTime -> m Int32
+ GI.GLib.Structs.DateTime: dateTimeGetDayOfYear :: MonadIO m => DateTime -> m Int32
- GI.GLib.Structs.DateTime: dateTimeGetHour :: (MonadIO m) => DateTime -> m Int32
+ GI.GLib.Structs.DateTime: dateTimeGetHour :: MonadIO m => DateTime -> m Int32
- GI.GLib.Structs.DateTime: dateTimeGetMicrosecond :: (MonadIO m) => DateTime -> m Int32
+ GI.GLib.Structs.DateTime: dateTimeGetMicrosecond :: MonadIO m => DateTime -> m Int32
- GI.GLib.Structs.DateTime: dateTimeGetMinute :: (MonadIO m) => DateTime -> m Int32
+ GI.GLib.Structs.DateTime: dateTimeGetMinute :: MonadIO m => DateTime -> m Int32
- GI.GLib.Structs.DateTime: dateTimeGetMonth :: (MonadIO m) => DateTime -> m Int32
+ GI.GLib.Structs.DateTime: dateTimeGetMonth :: MonadIO m => DateTime -> m Int32
- GI.GLib.Structs.DateTime: dateTimeGetSecond :: (MonadIO m) => DateTime -> m Int32
+ GI.GLib.Structs.DateTime: dateTimeGetSecond :: MonadIO m => DateTime -> m Int32
- GI.GLib.Structs.DateTime: dateTimeGetSeconds :: (MonadIO m) => DateTime -> m Double
+ GI.GLib.Structs.DateTime: dateTimeGetSeconds :: MonadIO m => DateTime -> m Double
- GI.GLib.Structs.DateTime: dateTimeGetTimezoneAbbreviation :: (MonadIO m) => DateTime -> m Text
+ GI.GLib.Structs.DateTime: dateTimeGetTimezoneAbbreviation :: MonadIO m => DateTime -> m Text
- GI.GLib.Structs.DateTime: dateTimeGetUtcOffset :: (MonadIO m) => DateTime -> m Int64
+ GI.GLib.Structs.DateTime: dateTimeGetUtcOffset :: MonadIO m => DateTime -> m Int64
- GI.GLib.Structs.DateTime: dateTimeGetWeekNumberingYear :: (MonadIO m) => DateTime -> m Int32
+ GI.GLib.Structs.DateTime: dateTimeGetWeekNumberingYear :: MonadIO m => DateTime -> m Int32
- GI.GLib.Structs.DateTime: dateTimeGetWeekOfYear :: (MonadIO m) => DateTime -> m Int32
+ GI.GLib.Structs.DateTime: dateTimeGetWeekOfYear :: MonadIO m => DateTime -> m Int32
- GI.GLib.Structs.DateTime: dateTimeGetYear :: (MonadIO m) => DateTime -> m Int32
+ GI.GLib.Structs.DateTime: dateTimeGetYear :: MonadIO m => DateTime -> m Int32
- GI.GLib.Structs.DateTime: dateTimeGetYmd :: (MonadIO m) => DateTime -> m (Int32, Int32, Int32)
+ GI.GLib.Structs.DateTime: dateTimeGetYmd :: MonadIO m => DateTime -> m (Int32, Int32, Int32)
- GI.GLib.Structs.DateTime: dateTimeHash :: (MonadIO m) => Ptr () -> m Word32
+ GI.GLib.Structs.DateTime: dateTimeHash :: MonadIO m => Ptr () -> m Word32
- GI.GLib.Structs.DateTime: dateTimeIsDaylightSavings :: (MonadIO m) => DateTime -> m Bool
+ GI.GLib.Structs.DateTime: dateTimeIsDaylightSavings :: MonadIO m => DateTime -> m Bool
- GI.GLib.Structs.DateTime: dateTimeNew :: (MonadIO m) => TimeZone -> Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> Double -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeNew :: MonadIO m => TimeZone -> Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> Double -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeNewFromTimevalLocal :: (MonadIO m) => TimeVal -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeNewFromTimevalLocal :: MonadIO m => TimeVal -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeNewFromTimevalUtc :: (MonadIO m) => TimeVal -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeNewFromTimevalUtc :: MonadIO m => TimeVal -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeNewFromUnixLocal :: (MonadIO m) => Int64 -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeNewFromUnixLocal :: MonadIO m => Int64 -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeNewFromUnixUtc :: (MonadIO m) => Int64 -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeNewFromUnixUtc :: MonadIO m => Int64 -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeNewLocal :: (MonadIO m) => Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> Double -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeNewLocal :: MonadIO m => Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> Double -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeNewNow :: (MonadIO m) => TimeZone -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeNewNow :: MonadIO m => TimeZone -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeNewNowLocal :: (MonadIO m) => m DateTime
+ GI.GLib.Structs.DateTime: dateTimeNewNowLocal :: MonadIO m => m DateTime
- GI.GLib.Structs.DateTime: dateTimeNewNowUtc :: (MonadIO m) => m DateTime
+ GI.GLib.Structs.DateTime: dateTimeNewNowUtc :: MonadIO m => m DateTime
- GI.GLib.Structs.DateTime: dateTimeNewUtc :: (MonadIO m) => Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> Double -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeNewUtc :: MonadIO m => Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> Double -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeRef :: (MonadIO m) => DateTime -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeRef :: MonadIO m => DateTime -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeToLocal :: (MonadIO m) => DateTime -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeToLocal :: MonadIO m => DateTime -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeToTimeval :: (MonadIO m) => DateTime -> TimeVal -> m Bool
+ GI.GLib.Structs.DateTime: dateTimeToTimeval :: MonadIO m => DateTime -> TimeVal -> m Bool
- GI.GLib.Structs.DateTime: dateTimeToTimezone :: (MonadIO m) => DateTime -> TimeZone -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeToTimezone :: MonadIO m => DateTime -> TimeZone -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeToUnix :: (MonadIO m) => DateTime -> m Int64
+ GI.GLib.Structs.DateTime: dateTimeToUnix :: MonadIO m => DateTime -> m Int64
- GI.GLib.Structs.DateTime: dateTimeToUtc :: (MonadIO m) => DateTime -> m DateTime
+ GI.GLib.Structs.DateTime: dateTimeToUtc :: MonadIO m => DateTime -> m DateTime
- GI.GLib.Structs.DateTime: dateTimeUnref :: (MonadIO m) => DateTime -> m ()
+ GI.GLib.Structs.DateTime: dateTimeUnref :: MonadIO m => DateTime -> m ()
- GI.GLib.Structs.DebugKey: debugKeyReadKey :: DebugKey -> IO Text
+ GI.GLib.Structs.DebugKey: debugKeyReadKey :: MonadIO m => DebugKey -> m (Maybe Text)
- GI.GLib.Structs.DebugKey: debugKeyReadValue :: DebugKey -> IO Word32
+ GI.GLib.Structs.DebugKey: debugKeyReadValue :: MonadIO m => DebugKey -> m Word32
- GI.GLib.Structs.Dir: dirClose :: (MonadIO m) => Dir -> m ()
+ GI.GLib.Structs.Dir: dirClose :: MonadIO m => Dir -> m ()
- GI.GLib.Structs.Dir: dirMakeTmp :: (MonadIO m) => Maybe ([Char]) -> m [Char]
+ GI.GLib.Structs.Dir: dirMakeTmp :: MonadIO m => Maybe ([Char]) -> m [Char]
- GI.GLib.Structs.Dir: dirReadName :: (MonadIO m) => Dir -> m Text
+ GI.GLib.Structs.Dir: dirReadName :: MonadIO m => Dir -> m Text
- GI.GLib.Structs.Dir: dirRewind :: (MonadIO m) => Dir -> m ()
+ GI.GLib.Structs.Dir: dirRewind :: MonadIO m => Dir -> m ()
- GI.GLib.Structs.HashTableIter: hashTableIterInit :: (MonadIO m) => HashTableIter -> Map (Ptr ()) (Ptr ()) -> m ()
+ GI.GLib.Structs.HashTableIter: hashTableIterInit :: MonadIO m => HashTableIter -> Map (Ptr ()) (Ptr ()) -> m ()
- GI.GLib.Structs.HashTableIter: hashTableIterNext :: (MonadIO m) => HashTableIter -> Maybe (Ptr ()) -> Maybe (Ptr ()) -> m Bool
+ GI.GLib.Structs.HashTableIter: hashTableIterNext :: MonadIO m => HashTableIter -> Ptr () -> Ptr () -> m Bool
- GI.GLib.Structs.HashTableIter: hashTableIterRemove :: (MonadIO m) => HashTableIter -> m ()
+ GI.GLib.Structs.HashTableIter: hashTableIterRemove :: MonadIO m => HashTableIter -> m ()
- GI.GLib.Structs.HashTableIter: hashTableIterReplace :: (MonadIO m) => HashTableIter -> Ptr () -> m ()
+ GI.GLib.Structs.HashTableIter: hashTableIterReplace :: MonadIO m => HashTableIter -> Ptr () -> m ()
- GI.GLib.Structs.HashTableIter: hashTableIterSteal :: (MonadIO m) => HashTableIter -> m ()
+ GI.GLib.Structs.HashTableIter: hashTableIterSteal :: MonadIO m => HashTableIter -> m ()
- GI.GLib.Structs.Hmac: hmacGetDigest :: (MonadIO m) => Hmac -> Word8 -> Word64 -> m ()
+ GI.GLib.Structs.Hmac: hmacGetDigest :: MonadIO m => Hmac -> Word8 -> Word64 -> m ()
- GI.GLib.Structs.Hmac: hmacGetString :: (MonadIO m) => Hmac -> m Text
+ GI.GLib.Structs.Hmac: hmacGetString :: MonadIO m => Hmac -> m Text
- GI.GLib.Structs.Hmac: hmacUnref :: (MonadIO m) => Hmac -> m ()
+ GI.GLib.Structs.Hmac: hmacUnref :: MonadIO m => Hmac -> m ()
- GI.GLib.Structs.Hmac: hmacUpdate :: (MonadIO m) => Hmac -> ByteString -> m ()
+ GI.GLib.Structs.Hmac: hmacUpdate :: MonadIO m => Hmac -> ByteString -> m ()
- GI.GLib.Structs.Hook: hookCompareIds :: (MonadIO m) => Hook -> Hook -> m Int32
+ GI.GLib.Structs.Hook: hookCompareIds :: MonadIO m => Hook -> Hook -> m Int32
- GI.GLib.Structs.Hook: hookDestroy :: (MonadIO m) => HookList -> Word64 -> m Bool
+ GI.GLib.Structs.Hook: hookDestroy :: MonadIO m => HookList -> CULong -> m Bool
- GI.GLib.Structs.Hook: hookDestroyLink :: (MonadIO m) => HookList -> Hook -> m ()
+ GI.GLib.Structs.Hook: hookDestroyLink :: MonadIO m => HookList -> Hook -> m ()
- GI.GLib.Structs.Hook: hookFree :: (MonadIO m) => HookList -> Hook -> m ()
+ GI.GLib.Structs.Hook: hookFree :: MonadIO m => HookList -> Hook -> m ()
- GI.GLib.Structs.Hook: hookInsertBefore :: (MonadIO m) => HookList -> Hook -> Hook -> m ()
+ GI.GLib.Structs.Hook: hookInsertBefore :: MonadIO m => HookList -> Hook -> Hook -> m ()
- GI.GLib.Structs.Hook: hookPrepend :: (MonadIO m) => HookList -> Hook -> m ()
+ GI.GLib.Structs.Hook: hookPrepend :: MonadIO m => HookList -> Hook -> m ()
- GI.GLib.Structs.Hook: hookReadData :: Hook -> IO (Ptr ())
+ GI.GLib.Structs.Hook: hookReadData :: MonadIO m => Hook -> m (Ptr ())
- GI.GLib.Structs.Hook: hookReadFlags :: Hook -> IO Word32
+ GI.GLib.Structs.Hook: hookReadFlags :: MonadIO m => Hook -> m Word32
- GI.GLib.Structs.Hook: hookReadFunc :: Hook -> IO (Ptr ())
+ GI.GLib.Structs.Hook: hookReadFunc :: MonadIO m => Hook -> m (Ptr ())
- GI.GLib.Structs.Hook: hookReadHookId :: Hook -> IO Word64
+ GI.GLib.Structs.Hook: hookReadHookId :: MonadIO m => Hook -> m CULong
- GI.GLib.Structs.Hook: hookReadNext :: Hook -> IO Hook
+ GI.GLib.Structs.Hook: hookReadNext :: MonadIO m => Hook -> m (Maybe Hook)
- GI.GLib.Structs.Hook: hookReadPrev :: Hook -> IO Hook
+ GI.GLib.Structs.Hook: hookReadPrev :: MonadIO m => Hook -> m (Maybe Hook)
- GI.GLib.Structs.Hook: hookReadRefCount :: Hook -> IO Word32
+ GI.GLib.Structs.Hook: hookReadRefCount :: MonadIO m => Hook -> m Word32
- GI.GLib.Structs.Hook: hookUnref :: (MonadIO m) => HookList -> Hook -> m ()
+ GI.GLib.Structs.Hook: hookUnref :: MonadIO m => HookList -> Hook -> m ()
- GI.GLib.Structs.HookList: hookListClear :: (MonadIO m) => HookList -> m ()
+ GI.GLib.Structs.HookList: hookListClear :: MonadIO m => HookList -> m ()
- GI.GLib.Structs.HookList: hookListInit :: (MonadIO m) => HookList -> Word32 -> m ()
+ GI.GLib.Structs.HookList: hookListInit :: MonadIO m => HookList -> Word32 -> m ()
- GI.GLib.Structs.HookList: hookListInvoke :: (MonadIO m) => HookList -> Bool -> m ()
+ GI.GLib.Structs.HookList: hookListInvoke :: MonadIO m => HookList -> Bool -> m ()
- GI.GLib.Structs.HookList: hookListInvokeCheck :: (MonadIO m) => HookList -> Bool -> m ()
+ GI.GLib.Structs.HookList: hookListInvokeCheck :: MonadIO m => HookList -> Bool -> m ()
- GI.GLib.Structs.HookList: hookListReadDummy3 :: HookList -> IO (Ptr ())
+ GI.GLib.Structs.HookList: hookListReadDummy3 :: MonadIO m => HookList -> m (Ptr ())
- GI.GLib.Structs.HookList: hookListReadHookSize :: HookList -> IO Word32
+ GI.GLib.Structs.HookList: hookListReadHookSize :: MonadIO m => HookList -> m Word32
- GI.GLib.Structs.HookList: hookListReadHooks :: HookList -> IO Hook
+ GI.GLib.Structs.HookList: hookListReadHooks :: MonadIO m => HookList -> m (Maybe Hook)
- GI.GLib.Structs.HookList: hookListReadIsSetup :: HookList -> IO Word32
+ GI.GLib.Structs.HookList: hookListReadIsSetup :: MonadIO m => HookList -> m Word32
- GI.GLib.Structs.HookList: hookListReadSeqId :: HookList -> IO Word64
+ GI.GLib.Structs.HookList: hookListReadSeqId :: MonadIO m => HookList -> m CULong
- GI.GLib.Structs.IConv: iConvClose :: (MonadIO m) => IConv -> m Int32
+ GI.GLib.Structs.IConv: iConvClose :: MonadIO m => IConv -> m Int32
- GI.GLib.Structs.IOChannel: iOChannelClose :: (MonadIO m) => IOChannel -> m ()
+ GI.GLib.Structs.IOChannel: iOChannelClose :: MonadIO m => IOChannel -> m ()
- GI.GLib.Structs.IOChannel: iOChannelErrorFromErrno :: (MonadIO m) => Int32 -> m IOChannelError
+ GI.GLib.Structs.IOChannel: iOChannelErrorFromErrno :: MonadIO m => Int32 -> m IOChannelError
- GI.GLib.Structs.IOChannel: iOChannelErrorQuark :: (MonadIO m) => m Word32
+ GI.GLib.Structs.IOChannel: iOChannelErrorQuark :: MonadIO m => m Word32
- GI.GLib.Structs.IOChannel: iOChannelFlush :: (MonadIO m) => IOChannel -> m IOStatus
+ GI.GLib.Structs.IOChannel: iOChannelFlush :: MonadIO m => IOChannel -> m IOStatus
- GI.GLib.Structs.IOChannel: iOChannelGetBufferCondition :: (MonadIO m) => IOChannel -> m [IOCondition]
+ GI.GLib.Structs.IOChannel: iOChannelGetBufferCondition :: MonadIO m => IOChannel -> m [IOCondition]
- GI.GLib.Structs.IOChannel: iOChannelGetBufferSize :: (MonadIO m) => IOChannel -> m Word64
+ GI.GLib.Structs.IOChannel: iOChannelGetBufferSize :: MonadIO m => IOChannel -> m Word64
- GI.GLib.Structs.IOChannel: iOChannelGetBuffered :: (MonadIO m) => IOChannel -> m Bool
+ GI.GLib.Structs.IOChannel: iOChannelGetBuffered :: MonadIO m => IOChannel -> m Bool
- GI.GLib.Structs.IOChannel: iOChannelGetCloseOnUnref :: (MonadIO m) => IOChannel -> m Bool
+ GI.GLib.Structs.IOChannel: iOChannelGetCloseOnUnref :: MonadIO m => IOChannel -> m Bool
- GI.GLib.Structs.IOChannel: iOChannelGetEncoding :: (MonadIO m) => IOChannel -> m Text
+ GI.GLib.Structs.IOChannel: iOChannelGetEncoding :: MonadIO m => IOChannel -> m Text
- GI.GLib.Structs.IOChannel: iOChannelGetFlags :: (MonadIO m) => IOChannel -> m [IOFlags]
+ GI.GLib.Structs.IOChannel: iOChannelGetFlags :: MonadIO m => IOChannel -> m [IOFlags]
- GI.GLib.Structs.IOChannel: iOChannelGetLineTerm :: (MonadIO m) => IOChannel -> Int32 -> m Text
+ GI.GLib.Structs.IOChannel: iOChannelGetLineTerm :: MonadIO m => IOChannel -> Int32 -> m Text
- GI.GLib.Structs.IOChannel: iOChannelInit :: (MonadIO m) => IOChannel -> m ()
+ GI.GLib.Structs.IOChannel: iOChannelInit :: MonadIO m => IOChannel -> m ()
- GI.GLib.Structs.IOChannel: iOChannelNewFile :: (MonadIO m) => Text -> Text -> m IOChannel
+ GI.GLib.Structs.IOChannel: iOChannelNewFile :: MonadIO m => Text -> Text -> m IOChannel
- GI.GLib.Structs.IOChannel: iOChannelRead :: (MonadIO m) => IOChannel -> Text -> Word64 -> Word64 -> m IOError
+ GI.GLib.Structs.IOChannel: iOChannelRead :: MonadIO m => IOChannel -> Text -> Word64 -> Word64 -> m IOError
- GI.GLib.Structs.IOChannel: iOChannelReadChars :: (MonadIO m) => IOChannel -> ByteString -> m (IOStatus, ByteString, Word64)
+ GI.GLib.Structs.IOChannel: iOChannelReadChars :: MonadIO m => IOChannel -> ByteString -> m (IOStatus, ByteString, Word64)
- GI.GLib.Structs.IOChannel: iOChannelReadLine :: (MonadIO m) => IOChannel -> m (IOStatus, Text, Word64, Word64)
+ GI.GLib.Structs.IOChannel: iOChannelReadLine :: MonadIO m => IOChannel -> m (IOStatus, Text, Word64, Word64)
- GI.GLib.Structs.IOChannel: iOChannelReadToEnd :: (MonadIO m) => IOChannel -> m (IOStatus, ByteString)
+ GI.GLib.Structs.IOChannel: iOChannelReadToEnd :: MonadIO m => IOChannel -> m (IOStatus, ByteString)
- GI.GLib.Structs.IOChannel: iOChannelReadUnichar :: (MonadIO m) => IOChannel -> m (IOStatus, Char)
+ GI.GLib.Structs.IOChannel: iOChannelReadUnichar :: MonadIO m => IOChannel -> m (IOStatus, Char)
- GI.GLib.Structs.IOChannel: iOChannelRef :: (MonadIO m) => IOChannel -> m IOChannel
+ GI.GLib.Structs.IOChannel: iOChannelRef :: MonadIO m => IOChannel -> m IOChannel
- GI.GLib.Structs.IOChannel: iOChannelSeek :: (MonadIO m) => IOChannel -> Int64 -> SeekType -> m IOError
+ GI.GLib.Structs.IOChannel: iOChannelSeek :: MonadIO m => IOChannel -> Int64 -> SeekType -> m IOError
- GI.GLib.Structs.IOChannel: iOChannelSeekPosition :: (MonadIO m) => IOChannel -> Int64 -> SeekType -> m IOStatus
+ GI.GLib.Structs.IOChannel: iOChannelSeekPosition :: MonadIO m => IOChannel -> Int64 -> SeekType -> m IOStatus
- GI.GLib.Structs.IOChannel: iOChannelSetBufferSize :: (MonadIO m) => IOChannel -> Word64 -> m ()
+ GI.GLib.Structs.IOChannel: iOChannelSetBufferSize :: MonadIO m => IOChannel -> Word64 -> m ()
- GI.GLib.Structs.IOChannel: iOChannelSetBuffered :: (MonadIO m) => IOChannel -> Bool -> m ()
+ GI.GLib.Structs.IOChannel: iOChannelSetBuffered :: MonadIO m => IOChannel -> Bool -> m ()
- GI.GLib.Structs.IOChannel: iOChannelSetCloseOnUnref :: (MonadIO m) => IOChannel -> Bool -> m ()
+ GI.GLib.Structs.IOChannel: iOChannelSetCloseOnUnref :: MonadIO m => IOChannel -> Bool -> m ()
- GI.GLib.Structs.IOChannel: iOChannelSetEncoding :: (MonadIO m) => IOChannel -> Maybe (Text) -> m IOStatus
+ GI.GLib.Structs.IOChannel: iOChannelSetEncoding :: MonadIO m => IOChannel -> Maybe (Text) -> m IOStatus
- GI.GLib.Structs.IOChannel: iOChannelSetFlags :: (MonadIO m) => IOChannel -> [IOFlags] -> m IOStatus
+ GI.GLib.Structs.IOChannel: iOChannelSetFlags :: MonadIO m => IOChannel -> [IOFlags] -> m IOStatus
- GI.GLib.Structs.IOChannel: iOChannelSetLineTerm :: (MonadIO m) => IOChannel -> Maybe (Text) -> Int32 -> m ()
+ GI.GLib.Structs.IOChannel: iOChannelSetLineTerm :: MonadIO m => IOChannel -> Maybe (Text) -> Int32 -> m ()
- GI.GLib.Structs.IOChannel: iOChannelShutdown :: (MonadIO m) => IOChannel -> Bool -> m IOStatus
+ GI.GLib.Structs.IOChannel: iOChannelShutdown :: MonadIO m => IOChannel -> Bool -> m IOStatus
- GI.GLib.Structs.IOChannel: iOChannelUnixGetFd :: (MonadIO m) => IOChannel -> m Int32
+ GI.GLib.Structs.IOChannel: iOChannelUnixGetFd :: MonadIO m => IOChannel -> m Int32
- GI.GLib.Structs.IOChannel: iOChannelUnixNew :: (MonadIO m) => Int32 -> m IOChannel
+ GI.GLib.Structs.IOChannel: iOChannelUnixNew :: MonadIO m => Int32 -> m IOChannel
- GI.GLib.Structs.IOChannel: iOChannelUnref :: (MonadIO m) => IOChannel -> m ()
+ GI.GLib.Structs.IOChannel: iOChannelUnref :: MonadIO m => IOChannel -> m ()
- GI.GLib.Structs.IOChannel: iOChannelWrite :: (MonadIO m) => IOChannel -> Text -> Word64 -> Word64 -> m IOError
+ GI.GLib.Structs.IOChannel: iOChannelWrite :: MonadIO m => IOChannel -> Text -> Word64 -> Word64 -> m IOError
- GI.GLib.Structs.IOChannel: iOChannelWriteChars :: (MonadIO m) => IOChannel -> Ptr Word8 -> Int64 -> m (IOStatus, Word64)
+ GI.GLib.Structs.IOChannel: iOChannelWriteChars :: MonadIO m => IOChannel -> Ptr Word8 -> Int64 -> m (IOStatus, Word64)
- GI.GLib.Structs.IOChannel: iOChannelWriteUnichar :: (MonadIO m) => IOChannel -> Char -> m IOStatus
+ GI.GLib.Structs.IOChannel: iOChannelWriteUnichar :: MonadIO m => IOChannel -> Char -> m IOStatus
- GI.GLib.Structs.KeyFile: keyFileErrorQuark :: (MonadIO m) => m Word32
+ GI.GLib.Structs.KeyFile: keyFileErrorQuark :: MonadIO m => m Word32
- GI.GLib.Structs.KeyFile: keyFileGetBoolean :: (MonadIO m) => KeyFile -> Text -> Text -> m ()
+ GI.GLib.Structs.KeyFile: keyFileGetBoolean :: MonadIO m => KeyFile -> Text -> Text -> m ()
- GI.GLib.Structs.KeyFile: keyFileGetBooleanList :: (MonadIO m) => KeyFile -> Text -> Text -> m [Bool]
+ GI.GLib.Structs.KeyFile: keyFileGetBooleanList :: MonadIO m => KeyFile -> Text -> Text -> m [Bool]
- GI.GLib.Structs.KeyFile: keyFileGetComment :: (MonadIO m) => KeyFile -> Maybe (Text) -> Text -> m Text
+ GI.GLib.Structs.KeyFile: keyFileGetComment :: MonadIO m => KeyFile -> Maybe (Text) -> Text -> m Text
- GI.GLib.Structs.KeyFile: keyFileGetDouble :: (MonadIO m) => KeyFile -> Text -> Text -> m Double
+ GI.GLib.Structs.KeyFile: keyFileGetDouble :: MonadIO m => KeyFile -> Text -> Text -> m Double
- GI.GLib.Structs.KeyFile: keyFileGetDoubleList :: (MonadIO m) => KeyFile -> Text -> Text -> m [Double]
+ GI.GLib.Structs.KeyFile: keyFileGetDoubleList :: MonadIO m => KeyFile -> Text -> Text -> m [Double]
- GI.GLib.Structs.KeyFile: keyFileGetGroups :: (MonadIO m) => KeyFile -> m ([Text], Word64)
+ GI.GLib.Structs.KeyFile: keyFileGetGroups :: MonadIO m => KeyFile -> m ([Text], Word64)
- GI.GLib.Structs.KeyFile: keyFileGetInt64 :: (MonadIO m) => KeyFile -> Text -> Text -> m Int64
+ GI.GLib.Structs.KeyFile: keyFileGetInt64 :: MonadIO m => KeyFile -> Text -> Text -> m Int64
- GI.GLib.Structs.KeyFile: keyFileGetInteger :: (MonadIO m) => KeyFile -> Text -> Text -> m Int32
+ GI.GLib.Structs.KeyFile: keyFileGetInteger :: MonadIO m => KeyFile -> Text -> Text -> m Int32
- GI.GLib.Structs.KeyFile: keyFileGetIntegerList :: (MonadIO m) => KeyFile -> Text -> Text -> m [Int32]
+ GI.GLib.Structs.KeyFile: keyFileGetIntegerList :: MonadIO m => KeyFile -> Text -> Text -> m [Int32]
- GI.GLib.Structs.KeyFile: keyFileGetKeys :: (MonadIO m) => KeyFile -> Text -> m ([Text], Word64)
+ GI.GLib.Structs.KeyFile: keyFileGetKeys :: MonadIO m => KeyFile -> Text -> m ([Text], Word64)
- GI.GLib.Structs.KeyFile: keyFileGetLocaleString :: (MonadIO m) => KeyFile -> Text -> Text -> Maybe (Text) -> m Text
+ GI.GLib.Structs.KeyFile: keyFileGetLocaleString :: MonadIO m => KeyFile -> Text -> Text -> Maybe (Text) -> m Text
- GI.GLib.Structs.KeyFile: keyFileGetLocaleStringList :: (MonadIO m) => KeyFile -> Text -> Text -> Maybe (Text) -> m ([Text], Word64)
+ GI.GLib.Structs.KeyFile: keyFileGetLocaleStringList :: MonadIO m => KeyFile -> Text -> Text -> Maybe (Text) -> m ([Text], Word64)
- GI.GLib.Structs.KeyFile: keyFileGetStartGroup :: (MonadIO m) => KeyFile -> m Text
+ GI.GLib.Structs.KeyFile: keyFileGetStartGroup :: MonadIO m => KeyFile -> m Text
- GI.GLib.Structs.KeyFile: keyFileGetString :: (MonadIO m) => KeyFile -> Text -> Text -> m Text
+ GI.GLib.Structs.KeyFile: keyFileGetString :: MonadIO m => KeyFile -> Text -> Text -> m Text
- GI.GLib.Structs.KeyFile: keyFileGetStringList :: (MonadIO m) => KeyFile -> Text -> Text -> m ([Text], Word64)
+ GI.GLib.Structs.KeyFile: keyFileGetStringList :: MonadIO m => KeyFile -> Text -> Text -> m ([Text], Word64)
- GI.GLib.Structs.KeyFile: keyFileGetUint64 :: (MonadIO m) => KeyFile -> Text -> Text -> m Word64
+ GI.GLib.Structs.KeyFile: keyFileGetUint64 :: MonadIO m => KeyFile -> Text -> Text -> m Word64
- GI.GLib.Structs.KeyFile: keyFileGetValue :: (MonadIO m) => KeyFile -> Text -> Text -> m Text
+ GI.GLib.Structs.KeyFile: keyFileGetValue :: MonadIO m => KeyFile -> Text -> Text -> m Text
- GI.GLib.Structs.KeyFile: keyFileHasGroup :: (MonadIO m) => KeyFile -> Text -> m Bool
+ GI.GLib.Structs.KeyFile: keyFileHasGroup :: MonadIO m => KeyFile -> Text -> m Bool
- GI.GLib.Structs.KeyFile: keyFileLoadFromData :: (MonadIO m) => KeyFile -> Text -> Word64 -> [KeyFileFlags] -> m ()
+ GI.GLib.Structs.KeyFile: keyFileLoadFromData :: MonadIO m => KeyFile -> Text -> Word64 -> [KeyFileFlags] -> m ()
- GI.GLib.Structs.KeyFile: keyFileLoadFromDataDirs :: (MonadIO m) => KeyFile -> [Char] -> [KeyFileFlags] -> m ([Char])
+ GI.GLib.Structs.KeyFile: keyFileLoadFromDataDirs :: MonadIO m => KeyFile -> [Char] -> [KeyFileFlags] -> m ([Char])
- GI.GLib.Structs.KeyFile: keyFileLoadFromDirs :: (MonadIO m) => KeyFile -> [Char] -> [[Char]] -> [KeyFileFlags] -> m ([Char])
+ GI.GLib.Structs.KeyFile: keyFileLoadFromDirs :: MonadIO m => KeyFile -> [Char] -> [[Char]] -> [KeyFileFlags] -> m ([Char])
- GI.GLib.Structs.KeyFile: keyFileLoadFromFile :: (MonadIO m) => KeyFile -> [Char] -> [KeyFileFlags] -> m ()
+ GI.GLib.Structs.KeyFile: keyFileLoadFromFile :: MonadIO m => KeyFile -> [Char] -> [KeyFileFlags] -> m ()
- GI.GLib.Structs.KeyFile: keyFileNew :: (MonadIO m) => m KeyFile
+ GI.GLib.Structs.KeyFile: keyFileNew :: MonadIO m => m KeyFile
- GI.GLib.Structs.KeyFile: keyFileRemoveComment :: (MonadIO m) => KeyFile -> Maybe (Text) -> Maybe (Text) -> m ()
+ GI.GLib.Structs.KeyFile: keyFileRemoveComment :: MonadIO m => KeyFile -> Maybe (Text) -> Maybe (Text) -> m ()
- GI.GLib.Structs.KeyFile: keyFileRemoveGroup :: (MonadIO m) => KeyFile -> Text -> m ()
+ GI.GLib.Structs.KeyFile: keyFileRemoveGroup :: MonadIO m => KeyFile -> Text -> m ()
- GI.GLib.Structs.KeyFile: keyFileRemoveKey :: (MonadIO m) => KeyFile -> Text -> Text -> m ()
+ GI.GLib.Structs.KeyFile: keyFileRemoveKey :: MonadIO m => KeyFile -> Text -> Text -> m ()
- GI.GLib.Structs.KeyFile: keyFileSaveToFile :: (MonadIO m) => KeyFile -> Text -> m ()
+ GI.GLib.Structs.KeyFile: keyFileSaveToFile :: MonadIO m => KeyFile -> Text -> m ()
- GI.GLib.Structs.KeyFile: keyFileSetBoolean :: (MonadIO m) => KeyFile -> Text -> Text -> Bool -> m ()
+ GI.GLib.Structs.KeyFile: keyFileSetBoolean :: MonadIO m => KeyFile -> Text -> Text -> Bool -> m ()
- GI.GLib.Structs.KeyFile: keyFileSetBooleanList :: (MonadIO m) => KeyFile -> Text -> Text -> [Bool] -> m ()
+ GI.GLib.Structs.KeyFile: keyFileSetBooleanList :: MonadIO m => KeyFile -> Text -> Text -> [Bool] -> m ()
- GI.GLib.Structs.KeyFile: keyFileSetComment :: (MonadIO m) => KeyFile -> Maybe (Text) -> Maybe (Text) -> Text -> m ()
+ GI.GLib.Structs.KeyFile: keyFileSetComment :: MonadIO m => KeyFile -> Maybe (Text) -> Maybe (Text) -> Text -> m ()
- GI.GLib.Structs.KeyFile: keyFileSetDouble :: (MonadIO m) => KeyFile -> Text -> Text -> Double -> m ()
+ GI.GLib.Structs.KeyFile: keyFileSetDouble :: MonadIO m => KeyFile -> Text -> Text -> Double -> m ()
- GI.GLib.Structs.KeyFile: keyFileSetDoubleList :: (MonadIO m) => KeyFile -> Text -> Text -> [Double] -> m ()
+ GI.GLib.Structs.KeyFile: keyFileSetDoubleList :: MonadIO m => KeyFile -> Text -> Text -> [Double] -> m ()
- GI.GLib.Structs.KeyFile: keyFileSetInt64 :: (MonadIO m) => KeyFile -> Text -> Text -> Int64 -> m ()
+ GI.GLib.Structs.KeyFile: keyFileSetInt64 :: MonadIO m => KeyFile -> Text -> Text -> Int64 -> m ()
- GI.GLib.Structs.KeyFile: keyFileSetInteger :: (MonadIO m) => KeyFile -> Text -> Text -> Int32 -> m ()
+ GI.GLib.Structs.KeyFile: keyFileSetInteger :: MonadIO m => KeyFile -> Text -> Text -> Int32 -> m ()
- GI.GLib.Structs.KeyFile: keyFileSetIntegerList :: (MonadIO m) => KeyFile -> Text -> Text -> [Int32] -> m ()
+ GI.GLib.Structs.KeyFile: keyFileSetIntegerList :: MonadIO m => KeyFile -> Text -> Text -> [Int32] -> m ()
- GI.GLib.Structs.KeyFile: keyFileSetListSeparator :: (MonadIO m) => KeyFile -> Int8 -> m ()
+ GI.GLib.Structs.KeyFile: keyFileSetListSeparator :: MonadIO m => KeyFile -> Int8 -> m ()
- GI.GLib.Structs.KeyFile: keyFileSetLocaleString :: (MonadIO m) => KeyFile -> Text -> Text -> Text -> Text -> m ()
+ GI.GLib.Structs.KeyFile: keyFileSetLocaleString :: MonadIO m => KeyFile -> Text -> Text -> Text -> Text -> m ()
- GI.GLib.Structs.KeyFile: keyFileSetLocaleStringList :: (MonadIO m) => KeyFile -> Text -> Text -> Text -> [Text] -> Word64 -> m ()
+ GI.GLib.Structs.KeyFile: keyFileSetLocaleStringList :: MonadIO m => KeyFile -> Text -> Text -> Text -> [Text] -> Word64 -> m ()
- GI.GLib.Structs.KeyFile: keyFileSetString :: (MonadIO m) => KeyFile -> Text -> Text -> Text -> m ()
+ GI.GLib.Structs.KeyFile: keyFileSetString :: MonadIO m => KeyFile -> Text -> Text -> Text -> m ()
- GI.GLib.Structs.KeyFile: keyFileSetStringList :: (MonadIO m) => KeyFile -> Text -> Text -> [Text] -> Word64 -> m ()
+ GI.GLib.Structs.KeyFile: keyFileSetStringList :: MonadIO m => KeyFile -> Text -> Text -> [Text] -> Word64 -> m ()
- GI.GLib.Structs.KeyFile: keyFileSetUint64 :: (MonadIO m) => KeyFile -> Text -> Text -> Word64 -> m ()
+ GI.GLib.Structs.KeyFile: keyFileSetUint64 :: MonadIO m => KeyFile -> Text -> Text -> Word64 -> m ()
- GI.GLib.Structs.KeyFile: keyFileSetValue :: (MonadIO m) => KeyFile -> Text -> Text -> Text -> m ()
+ GI.GLib.Structs.KeyFile: keyFileSetValue :: MonadIO m => KeyFile -> Text -> Text -> Text -> m ()
- GI.GLib.Structs.KeyFile: keyFileToData :: (MonadIO m) => KeyFile -> m (Text, Word64)
+ GI.GLib.Structs.KeyFile: keyFileToData :: MonadIO m => KeyFile -> m (Text, Word64)
- GI.GLib.Structs.KeyFile: keyFileUnref :: (MonadIO m) => KeyFile -> m ()
+ GI.GLib.Structs.KeyFile: keyFileUnref :: MonadIO m => KeyFile -> m ()
- GI.GLib.Structs.MainContext: mainContextAcquire :: (MonadIO m) => MainContext -> m Bool
+ GI.GLib.Structs.MainContext: mainContextAcquire :: MonadIO m => MainContext -> m Bool
- GI.GLib.Structs.MainContext: mainContextAddPoll :: (MonadIO m) => MainContext -> PollFD -> Int32 -> m ()
+ GI.GLib.Structs.MainContext: mainContextAddPoll :: MonadIO m => MainContext -> PollFD -> Int32 -> m ()
- GI.GLib.Structs.MainContext: mainContextCheck :: (MonadIO m) => MainContext -> Int32 -> [PollFD] -> m Int32
+ GI.GLib.Structs.MainContext: mainContextCheck :: MonadIO m => MainContext -> Int32 -> [PollFD] -> m Int32
- GI.GLib.Structs.MainContext: mainContextDefault :: (MonadIO m) => m MainContext
+ GI.GLib.Structs.MainContext: mainContextDefault :: MonadIO m => m MainContext
- GI.GLib.Structs.MainContext: mainContextDispatch :: (MonadIO m) => MainContext -> m ()
+ GI.GLib.Structs.MainContext: mainContextDispatch :: MonadIO m => MainContext -> m ()
- GI.GLib.Structs.MainContext: mainContextFindSourceByFuncsUserData :: (MonadIO m) => MainContext -> SourceFuncs -> Ptr () -> m Source
+ GI.GLib.Structs.MainContext: mainContextFindSourceByFuncsUserData :: MonadIO m => MainContext -> SourceFuncs -> Ptr () -> m Source
- GI.GLib.Structs.MainContext: mainContextFindSourceById :: (MonadIO m) => MainContext -> Word32 -> m Source
+ GI.GLib.Structs.MainContext: mainContextFindSourceById :: MonadIO m => MainContext -> Word32 -> m Source
- GI.GLib.Structs.MainContext: mainContextFindSourceByUserData :: (MonadIO m) => MainContext -> Ptr () -> m Source
+ GI.GLib.Structs.MainContext: mainContextFindSourceByUserData :: MonadIO m => MainContext -> Ptr () -> m Source
- GI.GLib.Structs.MainContext: mainContextGetThreadDefault :: (MonadIO m) => m MainContext
+ GI.GLib.Structs.MainContext: mainContextGetThreadDefault :: MonadIO m => m MainContext
- GI.GLib.Structs.MainContext: mainContextInvokeFull :: (MonadIO m) => MainContext -> Int32 -> SourceFunc -> m ()
+ GI.GLib.Structs.MainContext: mainContextInvokeFull :: MonadIO m => MainContext -> Int32 -> SourceFunc -> m ()
- GI.GLib.Structs.MainContext: mainContextIsOwner :: (MonadIO m) => MainContext -> m Bool
+ GI.GLib.Structs.MainContext: mainContextIsOwner :: MonadIO m => MainContext -> m Bool
- GI.GLib.Structs.MainContext: mainContextIteration :: (MonadIO m) => MainContext -> Bool -> m Bool
+ GI.GLib.Structs.MainContext: mainContextIteration :: MonadIO m => MainContext -> Bool -> m Bool
- GI.GLib.Structs.MainContext: mainContextNew :: (MonadIO m) => m MainContext
+ GI.GLib.Structs.MainContext: mainContextNew :: MonadIO m => m MainContext
- GI.GLib.Structs.MainContext: mainContextPending :: (MonadIO m) => MainContext -> m Bool
+ GI.GLib.Structs.MainContext: mainContextPending :: MonadIO m => MainContext -> m Bool
- GI.GLib.Structs.MainContext: mainContextPopThreadDefault :: (MonadIO m) => MainContext -> m ()
+ GI.GLib.Structs.MainContext: mainContextPopThreadDefault :: MonadIO m => MainContext -> m ()
- GI.GLib.Structs.MainContext: mainContextPrepare :: (MonadIO m) => MainContext -> Int32 -> m Bool
+ GI.GLib.Structs.MainContext: mainContextPrepare :: MonadIO m => MainContext -> Int32 -> m Bool
- GI.GLib.Structs.MainContext: mainContextPushThreadDefault :: (MonadIO m) => MainContext -> m ()
+ GI.GLib.Structs.MainContext: mainContextPushThreadDefault :: MonadIO m => MainContext -> m ()
- GI.GLib.Structs.MainContext: mainContextQuery :: (MonadIO m) => MainContext -> Int32 -> [PollFD] -> m (Int32, Int32, [PollFD])
+ GI.GLib.Structs.MainContext: mainContextQuery :: MonadIO m => MainContext -> Int32 -> [PollFD] -> m (Int32, Int32, [PollFD])
- GI.GLib.Structs.MainContext: mainContextRef :: (MonadIO m) => MainContext -> m MainContext
+ GI.GLib.Structs.MainContext: mainContextRef :: MonadIO m => MainContext -> m MainContext
- GI.GLib.Structs.MainContext: mainContextRefThreadDefault :: (MonadIO m) => m MainContext
+ GI.GLib.Structs.MainContext: mainContextRefThreadDefault :: MonadIO m => m MainContext
- GI.GLib.Structs.MainContext: mainContextRelease :: (MonadIO m) => MainContext -> m ()
+ GI.GLib.Structs.MainContext: mainContextRelease :: MonadIO m => MainContext -> m ()
- GI.GLib.Structs.MainContext: mainContextRemovePoll :: (MonadIO m) => MainContext -> PollFD -> m ()
+ GI.GLib.Structs.MainContext: mainContextRemovePoll :: MonadIO m => MainContext -> PollFD -> m ()
- GI.GLib.Structs.MainContext: mainContextUnref :: (MonadIO m) => MainContext -> m ()
+ GI.GLib.Structs.MainContext: mainContextUnref :: MonadIO m => MainContext -> m ()
- GI.GLib.Structs.MainContext: mainContextWait :: (MonadIO m) => MainContext -> Cond -> Mutex -> m Bool
+ GI.GLib.Structs.MainContext: mainContextWait :: MonadIO m => MainContext -> Cond -> Mutex -> m Bool
- GI.GLib.Structs.MainContext: mainContextWakeup :: (MonadIO m) => MainContext -> m ()
+ GI.GLib.Structs.MainContext: mainContextWakeup :: MonadIO m => MainContext -> m ()
- GI.GLib.Structs.MainLoop: mainLoopGetContext :: (MonadIO m) => MainLoop -> m MainContext
+ GI.GLib.Structs.MainLoop: mainLoopGetContext :: MonadIO m => MainLoop -> m MainContext
- GI.GLib.Structs.MainLoop: mainLoopIsRunning :: (MonadIO m) => MainLoop -> m Bool
+ GI.GLib.Structs.MainLoop: mainLoopIsRunning :: MonadIO m => MainLoop -> m Bool
- GI.GLib.Structs.MainLoop: mainLoopNew :: (MonadIO m) => Maybe (MainContext) -> Bool -> m MainLoop
+ GI.GLib.Structs.MainLoop: mainLoopNew :: MonadIO m => Maybe (MainContext) -> Bool -> m MainLoop
- GI.GLib.Structs.MainLoop: mainLoopQuit :: (MonadIO m) => MainLoop -> m ()
+ GI.GLib.Structs.MainLoop: mainLoopQuit :: MonadIO m => MainLoop -> m ()
- GI.GLib.Structs.MainLoop: mainLoopRef :: (MonadIO m) => MainLoop -> m MainLoop
+ GI.GLib.Structs.MainLoop: mainLoopRef :: MonadIO m => MainLoop -> m MainLoop
- GI.GLib.Structs.MainLoop: mainLoopRun :: (MonadIO m) => MainLoop -> m ()
+ GI.GLib.Structs.MainLoop: mainLoopRun :: MonadIO m => MainLoop -> m ()
- GI.GLib.Structs.MainLoop: mainLoopUnref :: (MonadIO m) => MainLoop -> m ()
+ GI.GLib.Structs.MainLoop: mainLoopUnref :: MonadIO m => MainLoop -> m ()
- GI.GLib.Structs.MappedFile: mappedFileFree :: (MonadIO m) => MappedFile -> m ()
+ GI.GLib.Structs.MappedFile: mappedFileFree :: MonadIO m => MappedFile -> m ()
- GI.GLib.Structs.MappedFile: mappedFileGetBytes :: (MonadIO m) => MappedFile -> m Bytes
+ GI.GLib.Structs.MappedFile: mappedFileGetBytes :: MonadIO m => MappedFile -> m Bytes
- GI.GLib.Structs.MappedFile: mappedFileGetContents :: (MonadIO m) => MappedFile -> m Text
+ GI.GLib.Structs.MappedFile: mappedFileGetContents :: MonadIO m => MappedFile -> m Text
- GI.GLib.Structs.MappedFile: mappedFileGetLength :: (MonadIO m) => MappedFile -> m Word64
+ GI.GLib.Structs.MappedFile: mappedFileGetLength :: MonadIO m => MappedFile -> m Word64
- GI.GLib.Structs.MappedFile: mappedFileNew :: (MonadIO m) => Text -> Bool -> m MappedFile
+ GI.GLib.Structs.MappedFile: mappedFileNew :: MonadIO m => Text -> Bool -> m MappedFile
- GI.GLib.Structs.MappedFile: mappedFileNewFromFd :: (MonadIO m) => Int32 -> Bool -> m MappedFile
+ GI.GLib.Structs.MappedFile: mappedFileNewFromFd :: MonadIO m => Int32 -> Bool -> m MappedFile
- GI.GLib.Structs.MappedFile: mappedFileRef :: (MonadIO m) => MappedFile -> m MappedFile
+ GI.GLib.Structs.MappedFile: mappedFileRef :: MonadIO m => MappedFile -> m MappedFile
- GI.GLib.Structs.MappedFile: mappedFileUnref :: (MonadIO m) => MappedFile -> m ()
+ GI.GLib.Structs.MappedFile: mappedFileUnref :: MonadIO m => MappedFile -> m ()
- GI.GLib.Structs.MarkupParseContext: markupParseContextEndParse :: (MonadIO m) => MarkupParseContext -> m ()
+ GI.GLib.Structs.MarkupParseContext: markupParseContextEndParse :: MonadIO m => MarkupParseContext -> m ()
- GI.GLib.Structs.MarkupParseContext: markupParseContextFree :: (MonadIO m) => MarkupParseContext -> m ()
+ GI.GLib.Structs.MarkupParseContext: markupParseContextFree :: MonadIO m => MarkupParseContext -> m ()
- GI.GLib.Structs.MarkupParseContext: markupParseContextGetElement :: (MonadIO m) => MarkupParseContext -> m Text
+ GI.GLib.Structs.MarkupParseContext: markupParseContextGetElement :: MonadIO m => MarkupParseContext -> m Text
- GI.GLib.Structs.MarkupParseContext: markupParseContextNew :: (MonadIO m) => MarkupParser -> [MarkupParseFlags] -> Ptr () -> DestroyNotify -> m MarkupParseContext
+ GI.GLib.Structs.MarkupParseContext: markupParseContextNew :: MonadIO m => MarkupParser -> [MarkupParseFlags] -> Ptr () -> DestroyNotify -> m MarkupParseContext
- GI.GLib.Structs.MarkupParseContext: markupParseContextParse :: (MonadIO m) => MarkupParseContext -> Text -> Int64 -> m ()
+ GI.GLib.Structs.MarkupParseContext: markupParseContextParse :: MonadIO m => MarkupParseContext -> Text -> Int64 -> m ()
- GI.GLib.Structs.MarkupParseContext: markupParseContextPush :: (MonadIO m) => MarkupParseContext -> MarkupParser -> Ptr () -> m ()
+ GI.GLib.Structs.MarkupParseContext: markupParseContextPush :: MonadIO m => MarkupParseContext -> MarkupParser -> Ptr () -> m ()
- GI.GLib.Structs.MarkupParseContext: markupParseContextRef :: (MonadIO m) => MarkupParseContext -> m MarkupParseContext
+ GI.GLib.Structs.MarkupParseContext: markupParseContextRef :: MonadIO m => MarkupParseContext -> m MarkupParseContext
- GI.GLib.Structs.MarkupParseContext: markupParseContextUnref :: (MonadIO m) => MarkupParseContext -> m ()
+ GI.GLib.Structs.MarkupParseContext: markupParseContextUnref :: MonadIO m => MarkupParseContext -> m ()
- GI.GLib.Structs.MatchInfo: matchInfoExpandReferences :: (MonadIO m) => MatchInfo -> Text -> m Text
+ GI.GLib.Structs.MatchInfo: matchInfoExpandReferences :: MonadIO m => MatchInfo -> Text -> m Text
- GI.GLib.Structs.MatchInfo: matchInfoFetch :: (MonadIO m) => MatchInfo -> Int32 -> m Text
+ GI.GLib.Structs.MatchInfo: matchInfoFetch :: MonadIO m => MatchInfo -> Int32 -> m Text
- GI.GLib.Structs.MatchInfo: matchInfoFetchAll :: (MonadIO m) => MatchInfo -> m [Text]
+ GI.GLib.Structs.MatchInfo: matchInfoFetchAll :: MonadIO m => MatchInfo -> m [Text]
- GI.GLib.Structs.MatchInfo: matchInfoFetchNamed :: (MonadIO m) => MatchInfo -> Text -> m Text
+ GI.GLib.Structs.MatchInfo: matchInfoFetchNamed :: MonadIO m => MatchInfo -> Text -> m Text
- GI.GLib.Structs.MatchInfo: matchInfoFetchNamedPos :: (MonadIO m) => MatchInfo -> Text -> m (Bool, Int32, Int32)
+ GI.GLib.Structs.MatchInfo: matchInfoFetchNamedPos :: MonadIO m => MatchInfo -> Text -> m (Bool, Int32, Int32)
- GI.GLib.Structs.MatchInfo: matchInfoFetchPos :: (MonadIO m) => MatchInfo -> Int32 -> m (Bool, Int32, Int32)
+ GI.GLib.Structs.MatchInfo: matchInfoFetchPos :: MonadIO m => MatchInfo -> Int32 -> m (Bool, Int32, Int32)
- GI.GLib.Structs.MatchInfo: matchInfoFree :: (MonadIO m) => MatchInfo -> m ()
+ GI.GLib.Structs.MatchInfo: matchInfoFree :: MonadIO m => MatchInfo -> m ()
- GI.GLib.Structs.MatchInfo: matchInfoGetMatchCount :: (MonadIO m) => MatchInfo -> m Int32
+ GI.GLib.Structs.MatchInfo: matchInfoGetMatchCount :: MonadIO m => MatchInfo -> m Int32
- GI.GLib.Structs.MatchInfo: matchInfoGetRegex :: (MonadIO m) => MatchInfo -> m Regex
+ GI.GLib.Structs.MatchInfo: matchInfoGetRegex :: MonadIO m => MatchInfo -> m Regex
- GI.GLib.Structs.MatchInfo: matchInfoGetString :: (MonadIO m) => MatchInfo -> m Text
+ GI.GLib.Structs.MatchInfo: matchInfoGetString :: MonadIO m => MatchInfo -> m Text
- GI.GLib.Structs.MatchInfo: matchInfoIsPartialMatch :: (MonadIO m) => MatchInfo -> m Bool
+ GI.GLib.Structs.MatchInfo: matchInfoIsPartialMatch :: MonadIO m => MatchInfo -> m Bool
- GI.GLib.Structs.MatchInfo: matchInfoMatches :: (MonadIO m) => MatchInfo -> m Bool
+ GI.GLib.Structs.MatchInfo: matchInfoMatches :: MonadIO m => MatchInfo -> m Bool
- GI.GLib.Structs.MatchInfo: matchInfoNext :: (MonadIO m) => MatchInfo -> m ()
+ GI.GLib.Structs.MatchInfo: matchInfoNext :: MonadIO m => MatchInfo -> m ()
- GI.GLib.Structs.MatchInfo: matchInfoRef :: (MonadIO m) => MatchInfo -> m MatchInfo
+ GI.GLib.Structs.MatchInfo: matchInfoRef :: MonadIO m => MatchInfo -> m MatchInfo
- GI.GLib.Structs.MatchInfo: matchInfoUnref :: (MonadIO m) => MatchInfo -> m ()
+ GI.GLib.Structs.MatchInfo: matchInfoUnref :: MonadIO m => MatchInfo -> m ()
- GI.GLib.Structs.Node: nodeChildIndex :: (MonadIO m) => Node -> Ptr () -> m Int32
+ GI.GLib.Structs.Node: nodeChildIndex :: MonadIO m => Node -> Ptr () -> m Int32
- GI.GLib.Structs.Node: nodeChildPosition :: (MonadIO m) => Node -> Node -> m Int32
+ GI.GLib.Structs.Node: nodeChildPosition :: MonadIO m => Node -> Node -> m Int32
- GI.GLib.Structs.Node: nodeDepth :: (MonadIO m) => Node -> m Word32
+ GI.GLib.Structs.Node: nodeDepth :: MonadIO m => Node -> m Word32
- GI.GLib.Structs.Node: nodeDestroy :: (MonadIO m) => Node -> m ()
+ GI.GLib.Structs.Node: nodeDestroy :: MonadIO m => Node -> m ()
- GI.GLib.Structs.Node: nodeIsAncestor :: (MonadIO m) => Node -> Node -> m Bool
+ GI.GLib.Structs.Node: nodeIsAncestor :: MonadIO m => Node -> Node -> m Bool
- GI.GLib.Structs.Node: nodeMaxHeight :: (MonadIO m) => Node -> m Word32
+ GI.GLib.Structs.Node: nodeMaxHeight :: MonadIO m => Node -> m Word32
- GI.GLib.Structs.Node: nodeNChildren :: (MonadIO m) => Node -> m Word32
+ GI.GLib.Structs.Node: nodeNChildren :: MonadIO m => Node -> m Word32
- GI.GLib.Structs.Node: nodeNNodes :: (MonadIO m) => Node -> [TraverseFlags] -> m Word32
+ GI.GLib.Structs.Node: nodeNNodes :: MonadIO m => Node -> [TraverseFlags] -> m Word32
- GI.GLib.Structs.Node: nodeReadChildren :: Node -> IO Node
+ GI.GLib.Structs.Node: nodeReadChildren :: MonadIO m => Node -> m (Maybe Node)
- GI.GLib.Structs.Node: nodeReadData :: Node -> IO (Ptr ())
+ GI.GLib.Structs.Node: nodeReadData :: MonadIO m => Node -> m (Ptr ())
- GI.GLib.Structs.Node: nodeReadNext :: Node -> IO Node
+ GI.GLib.Structs.Node: nodeReadNext :: MonadIO m => Node -> m (Maybe Node)
- GI.GLib.Structs.Node: nodeReadParent :: Node -> IO Node
+ GI.GLib.Structs.Node: nodeReadParent :: MonadIO m => Node -> m (Maybe Node)
- GI.GLib.Structs.Node: nodeReadPrev :: Node -> IO Node
+ GI.GLib.Structs.Node: nodeReadPrev :: MonadIO m => Node -> m (Maybe Node)
- GI.GLib.Structs.Node: nodeReverseChildren :: (MonadIO m) => Node -> m ()
+ GI.GLib.Structs.Node: nodeReverseChildren :: MonadIO m => Node -> m ()
- GI.GLib.Structs.Node: nodeUnlink :: (MonadIO m) => Node -> m ()
+ GI.GLib.Structs.Node: nodeUnlink :: MonadIO m => Node -> m ()
- GI.GLib.Structs.Once: onceInitEnter :: (MonadIO m) => Ptr () -> m Bool
+ GI.GLib.Structs.Once: onceInitEnter :: MonadIO m => Ptr () -> m Bool
- GI.GLib.Structs.Once: onceInitLeave :: (MonadIO m) => Ptr () -> Word64 -> m ()
+ GI.GLib.Structs.Once: onceInitLeave :: MonadIO m => Ptr () -> Word64 -> m ()
- GI.GLib.Structs.Once: onceReadRetval :: Once -> IO (Ptr ())
+ GI.GLib.Structs.Once: onceReadRetval :: MonadIO m => Once -> m (Ptr ())
- GI.GLib.Structs.Once: onceReadStatus :: Once -> IO OnceStatus
+ GI.GLib.Structs.Once: onceReadStatus :: MonadIO m => Once -> m OnceStatus
- GI.GLib.Structs.OptionContext: optionContextAddGroup :: (MonadIO m) => OptionContext -> OptionGroup -> m ()
+ GI.GLib.Structs.OptionContext: optionContextAddGroup :: MonadIO m => OptionContext -> OptionGroup -> m ()
- GI.GLib.Structs.OptionContext: optionContextAddMainEntries :: (MonadIO m) => OptionContext -> OptionEntry -> Maybe (Text) -> m ()
+ GI.GLib.Structs.OptionContext: optionContextAddMainEntries :: MonadIO m => OptionContext -> OptionEntry -> Maybe (Text) -> m ()
- GI.GLib.Structs.OptionContext: optionContextFree :: (MonadIO m) => OptionContext -> m ()
+ GI.GLib.Structs.OptionContext: optionContextFree :: MonadIO m => OptionContext -> m ()
- GI.GLib.Structs.OptionContext: optionContextGetDescription :: (MonadIO m) => OptionContext -> m Text
+ GI.GLib.Structs.OptionContext: optionContextGetDescription :: MonadIO m => OptionContext -> m Text
- GI.GLib.Structs.OptionContext: optionContextGetHelp :: (MonadIO m) => OptionContext -> Bool -> Maybe (OptionGroup) -> m Text
+ GI.GLib.Structs.OptionContext: optionContextGetHelp :: MonadIO m => OptionContext -> Bool -> Maybe (OptionGroup) -> m Text
- GI.GLib.Structs.OptionContext: optionContextGetHelpEnabled :: (MonadIO m) => OptionContext -> m Bool
+ GI.GLib.Structs.OptionContext: optionContextGetHelpEnabled :: MonadIO m => OptionContext -> m Bool
- GI.GLib.Structs.OptionContext: optionContextGetIgnoreUnknownOptions :: (MonadIO m) => OptionContext -> m Bool
+ GI.GLib.Structs.OptionContext: optionContextGetIgnoreUnknownOptions :: MonadIO m => OptionContext -> m Bool
- GI.GLib.Structs.OptionContext: optionContextGetMainGroup :: (MonadIO m) => OptionContext -> m OptionGroup
+ GI.GLib.Structs.OptionContext: optionContextGetMainGroup :: MonadIO m => OptionContext -> m OptionGroup
- GI.GLib.Structs.OptionContext: optionContextGetStrictPosix :: (MonadIO m) => OptionContext -> m Bool
+ GI.GLib.Structs.OptionContext: optionContextGetStrictPosix :: MonadIO m => OptionContext -> m Bool
- GI.GLib.Structs.OptionContext: optionContextGetSummary :: (MonadIO m) => OptionContext -> m Text
+ GI.GLib.Structs.OptionContext: optionContextGetSummary :: MonadIO m => OptionContext -> m Text
- GI.GLib.Structs.OptionContext: optionContextParseStrv :: (MonadIO m) => OptionContext -> Ptr CString -> m ((Ptr CString))
+ GI.GLib.Structs.OptionContext: optionContextParseStrv :: MonadIO m => OptionContext -> Ptr CString -> m ((Ptr CString))
- GI.GLib.Structs.OptionContext: optionContextSetDescription :: (MonadIO m) => OptionContext -> Maybe (Text) -> m ()
+ GI.GLib.Structs.OptionContext: optionContextSetDescription :: MonadIO m => OptionContext -> Maybe (Text) -> m ()
- GI.GLib.Structs.OptionContext: optionContextSetHelpEnabled :: (MonadIO m) => OptionContext -> Bool -> m ()
+ GI.GLib.Structs.OptionContext: optionContextSetHelpEnabled :: MonadIO m => OptionContext -> Bool -> m ()
- GI.GLib.Structs.OptionContext: optionContextSetIgnoreUnknownOptions :: (MonadIO m) => OptionContext -> Bool -> m ()
+ GI.GLib.Structs.OptionContext: optionContextSetIgnoreUnknownOptions :: MonadIO m => OptionContext -> Bool -> m ()
- GI.GLib.Structs.OptionContext: optionContextSetMainGroup :: (MonadIO m) => OptionContext -> OptionGroup -> m ()
+ GI.GLib.Structs.OptionContext: optionContextSetMainGroup :: MonadIO m => OptionContext -> OptionGroup -> m ()
- GI.GLib.Structs.OptionContext: optionContextSetStrictPosix :: (MonadIO m) => OptionContext -> Bool -> m ()
+ GI.GLib.Structs.OptionContext: optionContextSetStrictPosix :: MonadIO m => OptionContext -> Bool -> m ()
- GI.GLib.Structs.OptionContext: optionContextSetSummary :: (MonadIO m) => OptionContext -> Maybe (Text) -> m ()
+ GI.GLib.Structs.OptionContext: optionContextSetSummary :: MonadIO m => OptionContext -> Maybe (Text) -> m ()
- GI.GLib.Structs.OptionContext: optionContextSetTranslateFunc :: (MonadIO m) => OptionContext -> Maybe (TranslateFunc) -> m ()
+ GI.GLib.Structs.OptionContext: optionContextSetTranslateFunc :: MonadIO m => OptionContext -> Maybe (TranslateFunc) -> m ()
- GI.GLib.Structs.OptionContext: optionContextSetTranslationDomain :: (MonadIO m) => OptionContext -> Text -> m ()
+ GI.GLib.Structs.OptionContext: optionContextSetTranslationDomain :: MonadIO m => OptionContext -> Text -> m ()
- GI.GLib.Structs.OptionEntry: optionEntryReadArg :: OptionEntry -> IO OptionArg
+ GI.GLib.Structs.OptionEntry: optionEntryReadArg :: MonadIO m => OptionEntry -> m OptionArg
- GI.GLib.Structs.OptionEntry: optionEntryReadArgData :: OptionEntry -> IO (Ptr ())
+ GI.GLib.Structs.OptionEntry: optionEntryReadArgData :: MonadIO m => OptionEntry -> m (Ptr ())
- GI.GLib.Structs.OptionEntry: optionEntryReadArgDescription :: OptionEntry -> IO Text
+ GI.GLib.Structs.OptionEntry: optionEntryReadArgDescription :: MonadIO m => OptionEntry -> m (Maybe Text)
- GI.GLib.Structs.OptionEntry: optionEntryReadDescription :: OptionEntry -> IO Text
+ GI.GLib.Structs.OptionEntry: optionEntryReadDescription :: MonadIO m => OptionEntry -> m (Maybe Text)
- GI.GLib.Structs.OptionEntry: optionEntryReadFlags :: OptionEntry -> IO Int32
+ GI.GLib.Structs.OptionEntry: optionEntryReadFlags :: MonadIO m => OptionEntry -> m Int32
- GI.GLib.Structs.OptionEntry: optionEntryReadLongName :: OptionEntry -> IO Text
+ GI.GLib.Structs.OptionEntry: optionEntryReadLongName :: MonadIO m => OptionEntry -> m (Maybe Text)
- GI.GLib.Structs.OptionEntry: optionEntryReadShortName :: OptionEntry -> IO Int8
+ GI.GLib.Structs.OptionEntry: optionEntryReadShortName :: MonadIO m => OptionEntry -> m Int8
- GI.GLib.Structs.OptionGroup: optionGroupAddEntries :: (MonadIO m) => OptionGroup -> OptionEntry -> m ()
+ GI.GLib.Structs.OptionGroup: optionGroupAddEntries :: MonadIO m => OptionGroup -> OptionEntry -> m ()
- GI.GLib.Structs.OptionGroup: optionGroupFree :: (MonadIO m) => OptionGroup -> m ()
+ GI.GLib.Structs.OptionGroup: optionGroupFree :: MonadIO m => OptionGroup -> m ()
- GI.GLib.Structs.OptionGroup: optionGroupNew :: (MonadIO m) => Text -> Text -> Text -> Maybe (Ptr ()) -> Maybe (DestroyNotify) -> m OptionGroup
+ GI.GLib.Structs.OptionGroup: optionGroupNew :: MonadIO m => Text -> Text -> Text -> Ptr () -> Maybe (DestroyNotify) -> m OptionGroup
- GI.GLib.Structs.OptionGroup: optionGroupRef :: (MonadIO m) => OptionGroup -> m OptionGroup
+ GI.GLib.Structs.OptionGroup: optionGroupRef :: MonadIO m => OptionGroup -> m OptionGroup
- GI.GLib.Structs.OptionGroup: optionGroupSetTranslateFunc :: (MonadIO m) => OptionGroup -> Maybe (TranslateFunc) -> m ()
+ GI.GLib.Structs.OptionGroup: optionGroupSetTranslateFunc :: MonadIO m => OptionGroup -> Maybe (TranslateFunc) -> m ()
- GI.GLib.Structs.OptionGroup: optionGroupSetTranslationDomain :: (MonadIO m) => OptionGroup -> Text -> m ()
+ GI.GLib.Structs.OptionGroup: optionGroupSetTranslationDomain :: MonadIO m => OptionGroup -> Text -> m ()
- GI.GLib.Structs.OptionGroup: optionGroupUnref :: (MonadIO m) => OptionGroup -> m ()
+ GI.GLib.Structs.OptionGroup: optionGroupUnref :: MonadIO m => OptionGroup -> m ()
- GI.GLib.Structs.PatternSpec: patternSpecEqual :: (MonadIO m) => PatternSpec -> PatternSpec -> m Bool
+ GI.GLib.Structs.PatternSpec: patternSpecEqual :: MonadIO m => PatternSpec -> PatternSpec -> m Bool
- GI.GLib.Structs.PatternSpec: patternSpecFree :: (MonadIO m) => PatternSpec -> m ()
+ GI.GLib.Structs.PatternSpec: patternSpecFree :: MonadIO m => PatternSpec -> m ()
- GI.GLib.Structs.PollFD: pollFDReadEvents :: PollFD -> IO Word16
+ GI.GLib.Structs.PollFD: pollFDReadEvents :: MonadIO m => PollFD -> m Word16
- GI.GLib.Structs.PollFD: pollFDReadFd :: PollFD -> IO Int32
+ GI.GLib.Structs.PollFD: pollFDReadFd :: MonadIO m => PollFD -> m Int32
- GI.GLib.Structs.PollFD: pollFDReadRevents :: PollFD -> IO Word16
+ GI.GLib.Structs.PollFD: pollFDReadRevents :: MonadIO m => PollFD -> m Word16
- GI.GLib.Structs.PtrArray: ptrArrayReadLen :: PtrArray -> IO Word32
+ GI.GLib.Structs.PtrArray: ptrArrayReadLen :: MonadIO m => PtrArray -> m Word32
- GI.GLib.Structs.PtrArray: ptrArrayReadPdata :: PtrArray -> IO (Ptr ())
+ GI.GLib.Structs.PtrArray: ptrArrayReadPdata :: MonadIO m => PtrArray -> m (Ptr ())
- GI.GLib.Structs.Queue: queueClear :: (MonadIO m) => Queue -> m ()
+ GI.GLib.Structs.Queue: queueClear :: MonadIO m => Queue -> m ()
- GI.GLib.Structs.Queue: queueFree :: (MonadIO m) => Queue -> m ()
+ GI.GLib.Structs.Queue: queueFree :: MonadIO m => Queue -> m ()
- GI.GLib.Structs.Queue: queueFreeFull :: (MonadIO m) => Queue -> DestroyNotify -> m ()
+ GI.GLib.Structs.Queue: queueFreeFull :: MonadIO m => Queue -> DestroyNotify -> m ()
- GI.GLib.Structs.Queue: queueGetLength :: (MonadIO m) => Queue -> m Word32
+ GI.GLib.Structs.Queue: queueGetLength :: MonadIO m => Queue -> m Word32
- GI.GLib.Structs.Queue: queueIndex :: (MonadIO m) => Queue -> Ptr () -> m Int32
+ GI.GLib.Structs.Queue: queueIndex :: MonadIO m => Queue -> Ptr () -> m Int32
- GI.GLib.Structs.Queue: queueInit :: (MonadIO m) => Queue -> m ()
+ GI.GLib.Structs.Queue: queueInit :: MonadIO m => Queue -> m ()
- GI.GLib.Structs.Queue: queueIsEmpty :: (MonadIO m) => Queue -> m Bool
+ GI.GLib.Structs.Queue: queueIsEmpty :: MonadIO m => Queue -> m Bool
- GI.GLib.Structs.Queue: queuePushHead :: (MonadIO m) => Queue -> Ptr () -> m ()
+ GI.GLib.Structs.Queue: queuePushHead :: MonadIO m => Queue -> Ptr () -> m ()
- GI.GLib.Structs.Queue: queuePushNth :: (MonadIO m) => Queue -> Ptr () -> Int32 -> m ()
+ GI.GLib.Structs.Queue: queuePushNth :: MonadIO m => Queue -> Ptr () -> Int32 -> m ()
- GI.GLib.Structs.Queue: queuePushTail :: (MonadIO m) => Queue -> Ptr () -> m ()
+ GI.GLib.Structs.Queue: queuePushTail :: MonadIO m => Queue -> Ptr () -> m ()
- GI.GLib.Structs.Queue: queueReadHead :: Queue -> IO ([Ptr ()])
+ GI.GLib.Structs.Queue: queueReadHead :: MonadIO m => Queue -> m ([Ptr ()])
- GI.GLib.Structs.Queue: queueReadLength :: Queue -> IO Word32
+ GI.GLib.Structs.Queue: queueReadLength :: MonadIO m => Queue -> m Word32
- GI.GLib.Structs.Queue: queueReadTail :: Queue -> IO ([Ptr ()])
+ GI.GLib.Structs.Queue: queueReadTail :: MonadIO m => Queue -> m ([Ptr ()])
- GI.GLib.Structs.Queue: queueRemove :: (MonadIO m) => Queue -> Ptr () -> m Bool
+ GI.GLib.Structs.Queue: queueRemove :: MonadIO m => Queue -> Ptr () -> m Bool
- GI.GLib.Structs.Queue: queueRemoveAll :: (MonadIO m) => Queue -> Ptr () -> m Word32
+ GI.GLib.Structs.Queue: queueRemoveAll :: MonadIO m => Queue -> Ptr () -> m Word32
- GI.GLib.Structs.Queue: queueReverse :: (MonadIO m) => Queue -> m ()
+ GI.GLib.Structs.Queue: queueReverse :: MonadIO m => Queue -> m ()
- GI.GLib.Structs.RWLock: rWLockClear :: (MonadIO m) => RWLock -> m ()
+ GI.GLib.Structs.RWLock: rWLockClear :: MonadIO m => RWLock -> m ()
- GI.GLib.Structs.RWLock: rWLockInit :: (MonadIO m) => RWLock -> m ()
+ GI.GLib.Structs.RWLock: rWLockInit :: MonadIO m => RWLock -> m ()
- GI.GLib.Structs.RWLock: rWLockReaderLock :: (MonadIO m) => RWLock -> m ()
+ GI.GLib.Structs.RWLock: rWLockReaderLock :: MonadIO m => RWLock -> m ()
- GI.GLib.Structs.RWLock: rWLockReaderTrylock :: (MonadIO m) => RWLock -> m Bool
+ GI.GLib.Structs.RWLock: rWLockReaderTrylock :: MonadIO m => RWLock -> m Bool
- GI.GLib.Structs.RWLock: rWLockReaderUnlock :: (MonadIO m) => RWLock -> m ()
+ GI.GLib.Structs.RWLock: rWLockReaderUnlock :: MonadIO m => RWLock -> m ()
- GI.GLib.Structs.RWLock: rWLockWriterLock :: (MonadIO m) => RWLock -> m ()
+ GI.GLib.Structs.RWLock: rWLockWriterLock :: MonadIO m => RWLock -> m ()
- GI.GLib.Structs.RWLock: rWLockWriterTrylock :: (MonadIO m) => RWLock -> m Bool
+ GI.GLib.Structs.RWLock: rWLockWriterTrylock :: MonadIO m => RWLock -> m Bool
- GI.GLib.Structs.RWLock: rWLockWriterUnlock :: (MonadIO m) => RWLock -> m ()
+ GI.GLib.Structs.RWLock: rWLockWriterUnlock :: MonadIO m => RWLock -> m ()
- GI.GLib.Structs.Rand: randDouble :: (MonadIO m) => Rand -> m Double
+ GI.GLib.Structs.Rand: randDouble :: MonadIO m => Rand -> m Double
- GI.GLib.Structs.Rand: randDoubleRange :: (MonadIO m) => Rand -> Double -> Double -> m Double
+ GI.GLib.Structs.Rand: randDoubleRange :: MonadIO m => Rand -> Double -> Double -> m Double
- GI.GLib.Structs.Rand: randFree :: (MonadIO m) => Rand -> m ()
+ GI.GLib.Structs.Rand: randFree :: MonadIO m => Rand -> m ()
- GI.GLib.Structs.Rand: randInt :: (MonadIO m) => Rand -> m Word32
+ GI.GLib.Structs.Rand: randInt :: MonadIO m => Rand -> m Word32
- GI.GLib.Structs.Rand: randIntRange :: (MonadIO m) => Rand -> Int32 -> Int32 -> m Int32
+ GI.GLib.Structs.Rand: randIntRange :: MonadIO m => Rand -> Int32 -> Int32 -> m Int32
- GI.GLib.Structs.Rand: randSetSeed :: (MonadIO m) => Rand -> Word32 -> m ()
+ GI.GLib.Structs.Rand: randSetSeed :: MonadIO m => Rand -> Word32 -> m ()
- GI.GLib.Structs.Rand: randSetSeedArray :: (MonadIO m) => Rand -> Word32 -> Word32 -> m ()
+ GI.GLib.Structs.Rand: randSetSeedArray :: MonadIO m => Rand -> Word32 -> Word32 -> m ()
- GI.GLib.Structs.RecMutex: recMutexClear :: (MonadIO m) => RecMutex -> m ()
+ GI.GLib.Structs.RecMutex: recMutexClear :: MonadIO m => RecMutex -> m ()
- GI.GLib.Structs.RecMutex: recMutexInit :: (MonadIO m) => RecMutex -> m ()
+ GI.GLib.Structs.RecMutex: recMutexInit :: MonadIO m => RecMutex -> m ()
- GI.GLib.Structs.RecMutex: recMutexLock :: (MonadIO m) => RecMutex -> m ()
+ GI.GLib.Structs.RecMutex: recMutexLock :: MonadIO m => RecMutex -> m ()
- GI.GLib.Structs.RecMutex: recMutexTrylock :: (MonadIO m) => RecMutex -> m Bool
+ GI.GLib.Structs.RecMutex: recMutexTrylock :: MonadIO m => RecMutex -> m Bool
- GI.GLib.Structs.RecMutex: recMutexUnlock :: (MonadIO m) => RecMutex -> m ()
+ GI.GLib.Structs.RecMutex: recMutexUnlock :: MonadIO m => RecMutex -> m ()
- GI.GLib.Structs.Regex: regexCheckReplacement :: (MonadIO m) => Text -> m (Bool)
+ GI.GLib.Structs.Regex: regexCheckReplacement :: MonadIO m => Text -> m (Bool)
- GI.GLib.Structs.Regex: regexErrorQuark :: (MonadIO m) => m Word32
+ GI.GLib.Structs.Regex: regexErrorQuark :: MonadIO m => m Word32
- GI.GLib.Structs.Regex: regexEscapeNul :: (MonadIO m) => Text -> Int32 -> m Text
+ GI.GLib.Structs.Regex: regexEscapeNul :: MonadIO m => Text -> Int32 -> m Text
- GI.GLib.Structs.Regex: regexEscapeString :: (MonadIO m) => [Text] -> m Text
+ GI.GLib.Structs.Regex: regexEscapeString :: MonadIO m => [Text] -> m Text
- GI.GLib.Structs.Regex: regexGetCaptureCount :: (MonadIO m) => Regex -> m Int32
+ GI.GLib.Structs.Regex: regexGetCaptureCount :: MonadIO m => Regex -> m Int32
- GI.GLib.Structs.Regex: regexGetCompileFlags :: (MonadIO m) => Regex -> m [RegexCompileFlags]
+ GI.GLib.Structs.Regex: regexGetCompileFlags :: MonadIO m => Regex -> m [RegexCompileFlags]
- GI.GLib.Structs.Regex: regexGetHasCrOrLf :: (MonadIO m) => Regex -> m Bool
+ GI.GLib.Structs.Regex: regexGetHasCrOrLf :: MonadIO m => Regex -> m Bool
- GI.GLib.Structs.Regex: regexGetMatchFlags :: (MonadIO m) => Regex -> m [RegexMatchFlags]
+ GI.GLib.Structs.Regex: regexGetMatchFlags :: MonadIO m => Regex -> m [RegexMatchFlags]
- GI.GLib.Structs.Regex: regexGetMaxBackref :: (MonadIO m) => Regex -> m Int32
+ GI.GLib.Structs.Regex: regexGetMaxBackref :: MonadIO m => Regex -> m Int32
- GI.GLib.Structs.Regex: regexGetMaxLookbehind :: (MonadIO m) => Regex -> m Int32
+ GI.GLib.Structs.Regex: regexGetMaxLookbehind :: MonadIO m => Regex -> m Int32
- GI.GLib.Structs.Regex: regexGetPattern :: (MonadIO m) => Regex -> m Text
+ GI.GLib.Structs.Regex: regexGetPattern :: MonadIO m => Regex -> m Text
- GI.GLib.Structs.Regex: regexGetStringNumber :: (MonadIO m) => Regex -> Text -> m Int32
+ GI.GLib.Structs.Regex: regexGetStringNumber :: MonadIO m => Regex -> Text -> m Int32
- GI.GLib.Structs.Regex: regexMatch :: (MonadIO m) => Regex -> Text -> [RegexMatchFlags] -> m (Bool, MatchInfo)
+ GI.GLib.Structs.Regex: regexMatch :: MonadIO m => Regex -> Text -> [RegexMatchFlags] -> m (Bool, MatchInfo)
- GI.GLib.Structs.Regex: regexMatchAll :: (MonadIO m) => Regex -> Text -> [RegexMatchFlags] -> m (Bool, MatchInfo)
+ GI.GLib.Structs.Regex: regexMatchAll :: MonadIO m => Regex -> Text -> [RegexMatchFlags] -> m (Bool, MatchInfo)
- GI.GLib.Structs.Regex: regexMatchAllFull :: (MonadIO m) => Regex -> [Text] -> Int32 -> [RegexMatchFlags] -> m (MatchInfo)
+ GI.GLib.Structs.Regex: regexMatchAllFull :: MonadIO m => Regex -> [Text] -> Int32 -> [RegexMatchFlags] -> m (MatchInfo)
- GI.GLib.Structs.Regex: regexMatchFull :: (MonadIO m) => Regex -> [Text] -> Int32 -> [RegexMatchFlags] -> m (MatchInfo)
+ GI.GLib.Structs.Regex: regexMatchFull :: MonadIO m => Regex -> [Text] -> Int32 -> [RegexMatchFlags] -> m (MatchInfo)
- GI.GLib.Structs.Regex: regexMatchSimple :: (MonadIO m) => Text -> Text -> [RegexCompileFlags] -> [RegexMatchFlags] -> m Bool
+ GI.GLib.Structs.Regex: regexMatchSimple :: MonadIO m => Text -> Text -> [RegexCompileFlags] -> [RegexMatchFlags] -> m Bool
- GI.GLib.Structs.Regex: regexNew :: (MonadIO m) => Text -> [RegexCompileFlags] -> [RegexMatchFlags] -> m Regex
+ GI.GLib.Structs.Regex: regexNew :: MonadIO m => Text -> [RegexCompileFlags] -> [RegexMatchFlags] -> m Regex
- GI.GLib.Structs.Regex: regexRef :: (MonadIO m) => Regex -> m Regex
+ GI.GLib.Structs.Regex: regexRef :: MonadIO m => Regex -> m Regex
- GI.GLib.Structs.Regex: regexReplace :: (MonadIO m) => Regex -> [Text] -> Int32 -> Text -> [RegexMatchFlags] -> m Text
+ GI.GLib.Structs.Regex: regexReplace :: MonadIO m => Regex -> [Text] -> Int32 -> Text -> [RegexMatchFlags] -> m Text
- GI.GLib.Structs.Regex: regexReplaceLiteral :: (MonadIO m) => Regex -> [Text] -> Int32 -> Text -> [RegexMatchFlags] -> m Text
+ GI.GLib.Structs.Regex: regexReplaceLiteral :: MonadIO m => Regex -> [Text] -> Int32 -> Text -> [RegexMatchFlags] -> m Text
- GI.GLib.Structs.Regex: regexSplit :: (MonadIO m) => Regex -> Text -> [RegexMatchFlags] -> m [Text]
+ GI.GLib.Structs.Regex: regexSplit :: MonadIO m => Regex -> Text -> [RegexMatchFlags] -> m [Text]
- GI.GLib.Structs.Regex: regexSplitFull :: (MonadIO m) => Regex -> [Text] -> Int32 -> [RegexMatchFlags] -> Int32 -> m [Text]
+ GI.GLib.Structs.Regex: regexSplitFull :: MonadIO m => Regex -> [Text] -> Int32 -> [RegexMatchFlags] -> Int32 -> m [Text]
- GI.GLib.Structs.Regex: regexSplitSimple :: (MonadIO m) => Text -> Text -> [RegexCompileFlags] -> [RegexMatchFlags] -> m [Text]
+ GI.GLib.Structs.Regex: regexSplitSimple :: MonadIO m => Text -> Text -> [RegexCompileFlags] -> [RegexMatchFlags] -> m [Text]
- GI.GLib.Structs.Regex: regexUnref :: (MonadIO m) => Regex -> m ()
+ GI.GLib.Structs.Regex: regexUnref :: MonadIO m => Regex -> m ()
- GI.GLib.Structs.Scanner: scannerCurLine :: (MonadIO m) => Scanner -> m Word32
+ GI.GLib.Structs.Scanner: scannerCurLine :: MonadIO m => Scanner -> m Word32
- GI.GLib.Structs.Scanner: scannerCurPosition :: (MonadIO m) => Scanner -> m Word32
+ GI.GLib.Structs.Scanner: scannerCurPosition :: MonadIO m => Scanner -> m Word32
- GI.GLib.Structs.Scanner: scannerCurToken :: (MonadIO m) => Scanner -> m TokenType
+ GI.GLib.Structs.Scanner: scannerCurToken :: MonadIO m => Scanner -> m TokenType
- GI.GLib.Structs.Scanner: scannerDestroy :: (MonadIO m) => Scanner -> m ()
+ GI.GLib.Structs.Scanner: scannerDestroy :: MonadIO m => Scanner -> m ()
- GI.GLib.Structs.Scanner: scannerEof :: (MonadIO m) => Scanner -> m Bool
+ GI.GLib.Structs.Scanner: scannerEof :: MonadIO m => Scanner -> m Bool
- GI.GLib.Structs.Scanner: scannerGetNextToken :: (MonadIO m) => Scanner -> m TokenType
+ GI.GLib.Structs.Scanner: scannerGetNextToken :: MonadIO m => Scanner -> m TokenType
- GI.GLib.Structs.Scanner: scannerInputFile :: (MonadIO m) => Scanner -> Int32 -> m ()
+ GI.GLib.Structs.Scanner: scannerInputFile :: MonadIO m => Scanner -> Int32 -> m ()
- GI.GLib.Structs.Scanner: scannerInputText :: (MonadIO m) => Scanner -> Text -> Word32 -> m ()
+ GI.GLib.Structs.Scanner: scannerInputText :: MonadIO m => Scanner -> Text -> Word32 -> m ()
- GI.GLib.Structs.Scanner: scannerPeekNextToken :: (MonadIO m) => Scanner -> m TokenType
+ GI.GLib.Structs.Scanner: scannerPeekNextToken :: MonadIO m => Scanner -> m TokenType
- GI.GLib.Structs.Scanner: scannerReadConfig :: Scanner -> IO ScannerConfig
+ GI.GLib.Structs.Scanner: scannerReadConfig :: MonadIO m => Scanner -> m (Maybe ScannerConfig)
- GI.GLib.Structs.Scanner: scannerReadInputName :: Scanner -> IO Text
+ GI.GLib.Structs.Scanner: scannerReadInputName :: MonadIO m => Scanner -> m (Maybe Text)
- GI.GLib.Structs.Scanner: scannerReadLine :: Scanner -> IO Word32
+ GI.GLib.Structs.Scanner: scannerReadLine :: MonadIO m => Scanner -> m Word32
- GI.GLib.Structs.Scanner: scannerReadMaxParseErrors :: Scanner -> IO Word32
+ GI.GLib.Structs.Scanner: scannerReadMaxParseErrors :: MonadIO m => Scanner -> m Word32
- GI.GLib.Structs.Scanner: scannerReadNextLine :: Scanner -> IO Word32
+ GI.GLib.Structs.Scanner: scannerReadNextLine :: MonadIO m => Scanner -> m Word32
- GI.GLib.Structs.Scanner: scannerReadNextPosition :: Scanner -> IO Word32
+ GI.GLib.Structs.Scanner: scannerReadNextPosition :: MonadIO m => Scanner -> m Word32
- GI.GLib.Structs.Scanner: scannerReadNextToken :: Scanner -> IO TokenType
+ GI.GLib.Structs.Scanner: scannerReadNextToken :: MonadIO m => Scanner -> m TokenType
- GI.GLib.Structs.Scanner: scannerReadNextValue :: Scanner -> IO TokenValue
+ GI.GLib.Structs.Scanner: scannerReadNextValue :: MonadIO m => Scanner -> m (Maybe TokenValue)
- GI.GLib.Structs.Scanner: scannerReadParseErrors :: Scanner -> IO Word32
+ GI.GLib.Structs.Scanner: scannerReadParseErrors :: MonadIO m => Scanner -> m Word32
- GI.GLib.Structs.Scanner: scannerReadPosition :: Scanner -> IO Word32
+ GI.GLib.Structs.Scanner: scannerReadPosition :: MonadIO m => Scanner -> m Word32
- GI.GLib.Structs.Scanner: scannerReadQdata :: Scanner -> IO Data
+ GI.GLib.Structs.Scanner: scannerReadQdata :: MonadIO m => Scanner -> m (Maybe Data)
- GI.GLib.Structs.Scanner: scannerReadToken :: Scanner -> IO TokenType
+ GI.GLib.Structs.Scanner: scannerReadToken :: MonadIO m => Scanner -> m TokenType
- GI.GLib.Structs.Scanner: scannerReadUserData :: Scanner -> IO (Ptr ())
+ GI.GLib.Structs.Scanner: scannerReadUserData :: MonadIO m => Scanner -> m (Ptr ())
- GI.GLib.Structs.Scanner: scannerReadValue :: Scanner -> IO TokenValue
+ GI.GLib.Structs.Scanner: scannerReadValue :: MonadIO m => Scanner -> m (Maybe TokenValue)
- GI.GLib.Structs.Scanner: scannerScopeAddSymbol :: (MonadIO m) => Scanner -> Word32 -> Text -> Ptr () -> m ()
+ GI.GLib.Structs.Scanner: scannerScopeAddSymbol :: MonadIO m => Scanner -> Word32 -> Text -> Ptr () -> m ()
- GI.GLib.Structs.Scanner: scannerScopeRemoveSymbol :: (MonadIO m) => Scanner -> Word32 -> Text -> m ()
+ GI.GLib.Structs.Scanner: scannerScopeRemoveSymbol :: MonadIO m => Scanner -> Word32 -> Text -> m ()
- GI.GLib.Structs.Scanner: scannerSetScope :: (MonadIO m) => Scanner -> Word32 -> m Word32
+ GI.GLib.Structs.Scanner: scannerSetScope :: MonadIO m => Scanner -> Word32 -> m Word32
- GI.GLib.Structs.Scanner: scannerSyncFileOffset :: (MonadIO m) => Scanner -> m ()
+ GI.GLib.Structs.Scanner: scannerSyncFileOffset :: MonadIO m => Scanner -> m ()
- GI.GLib.Structs.Scanner: scannerUnexpToken :: (MonadIO m) => Scanner -> TokenType -> Text -> Text -> Text -> Text -> Int32 -> m ()
+ GI.GLib.Structs.Scanner: scannerUnexpToken :: MonadIO m => Scanner -> TokenType -> Text -> Text -> Text -> Text -> Int32 -> m ()
- GI.GLib.Structs.ScannerConfig: scannerConfigReadCaseSensitive :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadCaseSensitive :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadChar2Token :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadChar2Token :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadCpairCommentSingle :: ScannerConfig -> IO Text
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadCpairCommentSingle :: MonadIO m => ScannerConfig -> m (Maybe Text)
- GI.GLib.Structs.ScannerConfig: scannerConfigReadCsetIdentifierFirst :: ScannerConfig -> IO Text
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadCsetIdentifierFirst :: MonadIO m => ScannerConfig -> m (Maybe Text)
- GI.GLib.Structs.ScannerConfig: scannerConfigReadCsetIdentifierNth :: ScannerConfig -> IO Text
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadCsetIdentifierNth :: MonadIO m => ScannerConfig -> m (Maybe Text)
- GI.GLib.Structs.ScannerConfig: scannerConfigReadCsetSkipCharacters :: ScannerConfig -> IO Text
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadCsetSkipCharacters :: MonadIO m => ScannerConfig -> m (Maybe Text)
- GI.GLib.Structs.ScannerConfig: scannerConfigReadIdentifier2String :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadIdentifier2String :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadInt2Float :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadInt2Float :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadNumbers2Int :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadNumbers2Int :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadScanBinary :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadScanBinary :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadScanCommentMulti :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadScanCommentMulti :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadScanFloat :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadScanFloat :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadScanHex :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadScanHex :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadScanHexDollar :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadScanHexDollar :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadScanIdentifier :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadScanIdentifier :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadScanIdentifier1char :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadScanIdentifier1char :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadScanIdentifierNULL :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadScanIdentifierNULL :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadScanOctal :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadScanOctal :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadScanStringDq :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadScanStringDq :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadScanStringSq :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadScanStringSq :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadScanSymbols :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadScanSymbols :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadScope0Fallback :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadScope0Fallback :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadSkipCommentMulti :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadSkipCommentMulti :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadSkipCommentSingle :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadSkipCommentSingle :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadStoreInt64 :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadStoreInt64 :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.ScannerConfig: scannerConfigReadSymbol2Token :: ScannerConfig -> IO Word32
+ GI.GLib.Structs.ScannerConfig: scannerConfigReadSymbol2Token :: MonadIO m => ScannerConfig -> m Word32
- GI.GLib.Structs.Sequence: sequenceFree :: (MonadIO m) => Sequence -> m ()
+ GI.GLib.Structs.Sequence: sequenceFree :: MonadIO m => Sequence -> m ()
- GI.GLib.Structs.Sequence: sequenceGetLength :: (MonadIO m) => Sequence -> m Int32
+ GI.GLib.Structs.Sequence: sequenceGetLength :: MonadIO m => Sequence -> m Int32
- GI.GLib.Structs.Sequence: sequenceMove :: (MonadIO m) => SequenceIter -> SequenceIter -> m ()
+ GI.GLib.Structs.Sequence: sequenceMove :: MonadIO m => SequenceIter -> SequenceIter -> m ()
- GI.GLib.Structs.Sequence: sequenceMoveRange :: (MonadIO m) => SequenceIter -> SequenceIter -> SequenceIter -> m ()
+ GI.GLib.Structs.Sequence: sequenceMoveRange :: MonadIO m => SequenceIter -> SequenceIter -> SequenceIter -> m ()
- GI.GLib.Structs.Sequence: sequenceRemove :: (MonadIO m) => SequenceIter -> m ()
+ GI.GLib.Structs.Sequence: sequenceRemove :: MonadIO m => SequenceIter -> m ()
- GI.GLib.Structs.Sequence: sequenceRemoveRange :: (MonadIO m) => SequenceIter -> SequenceIter -> m ()
+ GI.GLib.Structs.Sequence: sequenceRemoveRange :: MonadIO m => SequenceIter -> SequenceIter -> m ()
- GI.GLib.Structs.Sequence: sequenceSet :: (MonadIO m) => SequenceIter -> Ptr () -> m ()
+ GI.GLib.Structs.Sequence: sequenceSet :: MonadIO m => SequenceIter -> Ptr () -> m ()
- GI.GLib.Structs.Sequence: sequenceSwap :: (MonadIO m) => SequenceIter -> SequenceIter -> m ()
+ GI.GLib.Structs.Sequence: sequenceSwap :: MonadIO m => SequenceIter -> SequenceIter -> m ()
- GI.GLib.Structs.SequenceIter: sequenceIterCompare :: (MonadIO m) => SequenceIter -> SequenceIter -> m Int32
+ GI.GLib.Structs.SequenceIter: sequenceIterCompare :: MonadIO m => SequenceIter -> SequenceIter -> m Int32
- GI.GLib.Structs.SequenceIter: sequenceIterGetPosition :: (MonadIO m) => SequenceIter -> m Int32
+ GI.GLib.Structs.SequenceIter: sequenceIterGetPosition :: MonadIO m => SequenceIter -> m Int32
- GI.GLib.Structs.SequenceIter: sequenceIterIsBegin :: (MonadIO m) => SequenceIter -> m Bool
+ GI.GLib.Structs.SequenceIter: sequenceIterIsBegin :: MonadIO m => SequenceIter -> m Bool
- GI.GLib.Structs.SequenceIter: sequenceIterIsEnd :: (MonadIO m) => SequenceIter -> m Bool
+ GI.GLib.Structs.SequenceIter: sequenceIterIsEnd :: MonadIO m => SequenceIter -> m Bool
- GI.GLib.Structs.Source: sourceAddChildSource :: (MonadIO m) => Source -> Source -> m ()
+ GI.GLib.Structs.Source: sourceAddChildSource :: MonadIO m => Source -> Source -> m ()
- GI.GLib.Structs.Source: sourceAddPoll :: (MonadIO m) => Source -> PollFD -> m ()
+ GI.GLib.Structs.Source: sourceAddPoll :: MonadIO m => Source -> PollFD -> m ()
- GI.GLib.Structs.Source: sourceAttach :: (MonadIO m) => Source -> Maybe (MainContext) -> m Word32
+ GI.GLib.Structs.Source: sourceAttach :: MonadIO m => Source -> Maybe (MainContext) -> m Word32
- GI.GLib.Structs.Source: sourceDestroy :: (MonadIO m) => Source -> m ()
+ GI.GLib.Structs.Source: sourceDestroy :: MonadIO m => Source -> m ()
- GI.GLib.Structs.Source: sourceGetCanRecurse :: (MonadIO m) => Source -> m Bool
+ GI.GLib.Structs.Source: sourceGetCanRecurse :: MonadIO m => Source -> m Bool
- GI.GLib.Structs.Source: sourceGetContext :: (MonadIO m) => Source -> m MainContext
+ GI.GLib.Structs.Source: sourceGetContext :: MonadIO m => Source -> m MainContext
- GI.GLib.Structs.Source: sourceGetCurrentTime :: (MonadIO m) => Source -> TimeVal -> m ()
+ GI.GLib.Structs.Source: sourceGetCurrentTime :: MonadIO m => Source -> TimeVal -> m ()
- GI.GLib.Structs.Source: sourceGetId :: (MonadIO m) => Source -> m Word32
+ GI.GLib.Structs.Source: sourceGetId :: MonadIO m => Source -> m Word32
- GI.GLib.Structs.Source: sourceGetName :: (MonadIO m) => Source -> m Text
+ GI.GLib.Structs.Source: sourceGetName :: MonadIO m => Source -> m Text
- GI.GLib.Structs.Source: sourceGetPriority :: (MonadIO m) => Source -> m Int32
+ GI.GLib.Structs.Source: sourceGetPriority :: MonadIO m => Source -> m Int32
- GI.GLib.Structs.Source: sourceGetReadyTime :: (MonadIO m) => Source -> m Int64
+ GI.GLib.Structs.Source: sourceGetReadyTime :: MonadIO m => Source -> m Int64
- GI.GLib.Structs.Source: sourceGetTime :: (MonadIO m) => Source -> m Int64
+ GI.GLib.Structs.Source: sourceGetTime :: MonadIO m => Source -> m Int64
- GI.GLib.Structs.Source: sourceIsDestroyed :: (MonadIO m) => Source -> m Bool
+ GI.GLib.Structs.Source: sourceIsDestroyed :: MonadIO m => Source -> m Bool
- GI.GLib.Structs.Source: sourceModifyUnixFd :: (MonadIO m) => Source -> Ptr () -> [IOCondition] -> m ()
+ GI.GLib.Structs.Source: sourceModifyUnixFd :: MonadIO m => Source -> Ptr () -> [IOCondition] -> m ()
- GI.GLib.Structs.Source: sourceNew :: (MonadIO m) => SourceFuncs -> Word32 -> m Source
+ GI.GLib.Structs.Source: sourceNew :: MonadIO m => SourceFuncs -> Word32 -> m Source
- GI.GLib.Structs.Source: sourceQueryUnixFd :: (MonadIO m) => Source -> Ptr () -> m [IOCondition]
+ GI.GLib.Structs.Source: sourceQueryUnixFd :: MonadIO m => Source -> Ptr () -> m [IOCondition]
- GI.GLib.Structs.Source: sourceRef :: (MonadIO m) => Source -> m Source
+ GI.GLib.Structs.Source: sourceRef :: MonadIO m => Source -> m Source
- GI.GLib.Structs.Source: sourceRemove :: (MonadIO m) => Word32 -> m Bool
+ GI.GLib.Structs.Source: sourceRemove :: MonadIO m => Word32 -> m Bool
- GI.GLib.Structs.Source: sourceRemoveByFuncsUserData :: (MonadIO m) => SourceFuncs -> Ptr () -> m Bool
+ GI.GLib.Structs.Source: sourceRemoveByFuncsUserData :: MonadIO m => SourceFuncs -> Ptr () -> m Bool
- GI.GLib.Structs.Source: sourceRemoveByUserData :: (MonadIO m) => Ptr () -> m Bool
+ GI.GLib.Structs.Source: sourceRemoveByUserData :: MonadIO m => Ptr () -> m Bool
- GI.GLib.Structs.Source: sourceRemoveChildSource :: (MonadIO m) => Source -> Source -> m ()
+ GI.GLib.Structs.Source: sourceRemoveChildSource :: MonadIO m => Source -> Source -> m ()
- GI.GLib.Structs.Source: sourceRemovePoll :: (MonadIO m) => Source -> PollFD -> m ()
+ GI.GLib.Structs.Source: sourceRemovePoll :: MonadIO m => Source -> PollFD -> m ()
- GI.GLib.Structs.Source: sourceRemoveUnixFd :: (MonadIO m) => Source -> Ptr () -> m ()
+ GI.GLib.Structs.Source: sourceRemoveUnixFd :: MonadIO m => Source -> Ptr () -> m ()
- GI.GLib.Structs.Source: sourceSetCallback :: (MonadIO m) => Source -> SourceFunc -> m ()
+ GI.GLib.Structs.Source: sourceSetCallback :: MonadIO m => Source -> SourceFunc -> m ()
- GI.GLib.Structs.Source: sourceSetCallbackIndirect :: (MonadIO m) => Source -> Ptr () -> SourceCallbackFuncs -> m ()
+ GI.GLib.Structs.Source: sourceSetCallbackIndirect :: MonadIO m => Source -> Ptr () -> SourceCallbackFuncs -> m ()
- GI.GLib.Structs.Source: sourceSetCanRecurse :: (MonadIO m) => Source -> Bool -> m ()
+ GI.GLib.Structs.Source: sourceSetCanRecurse :: MonadIO m => Source -> Bool -> m ()
- GI.GLib.Structs.Source: sourceSetFuncs :: (MonadIO m) => Source -> SourceFuncs -> m ()
+ GI.GLib.Structs.Source: sourceSetFuncs :: MonadIO m => Source -> SourceFuncs -> m ()
- GI.GLib.Structs.Source: sourceSetName :: (MonadIO m) => Source -> Text -> m ()
+ GI.GLib.Structs.Source: sourceSetName :: MonadIO m => Source -> Text -> m ()
- GI.GLib.Structs.Source: sourceSetNameById :: (MonadIO m) => Word32 -> Text -> m ()
+ GI.GLib.Structs.Source: sourceSetNameById :: MonadIO m => Word32 -> Text -> m ()
- GI.GLib.Structs.Source: sourceSetPriority :: (MonadIO m) => Source -> Int32 -> m ()
+ GI.GLib.Structs.Source: sourceSetPriority :: MonadIO m => Source -> Int32 -> m ()
- GI.GLib.Structs.Source: sourceSetReadyTime :: (MonadIO m) => Source -> Int64 -> m ()
+ GI.GLib.Structs.Source: sourceSetReadyTime :: MonadIO m => Source -> Int64 -> m ()
- GI.GLib.Structs.Source: sourceUnref :: (MonadIO m) => Source -> m ()
+ GI.GLib.Structs.Source: sourceUnref :: MonadIO m => Source -> m ()
- GI.GLib.Structs.String: stringAppend :: (MonadIO m) => String -> Text -> m String
+ GI.GLib.Structs.String: stringAppend :: MonadIO m => String -> Text -> m String
- GI.GLib.Structs.String: stringAppendC :: (MonadIO m) => String -> Int8 -> m String
+ GI.GLib.Structs.String: stringAppendC :: MonadIO m => String -> Int8 -> m String
- GI.GLib.Structs.String: stringAppendLen :: (MonadIO m) => String -> Text -> Int64 -> m String
+ GI.GLib.Structs.String: stringAppendLen :: MonadIO m => String -> Text -> Int64 -> m String
- GI.GLib.Structs.String: stringAppendUnichar :: (MonadIO m) => String -> Char -> m String
+ GI.GLib.Structs.String: stringAppendUnichar :: MonadIO m => String -> Char -> m String
- GI.GLib.Structs.String: stringAppendUriEscaped :: (MonadIO m) => String -> Text -> Text -> Bool -> m String
+ GI.GLib.Structs.String: stringAppendUriEscaped :: MonadIO m => String -> Text -> Text -> Bool -> m String
- GI.GLib.Structs.String: stringAsciiDown :: (MonadIO m) => String -> m String
+ GI.GLib.Structs.String: stringAsciiDown :: MonadIO m => String -> m String
- GI.GLib.Structs.String: stringAsciiUp :: (MonadIO m) => String -> m String
+ GI.GLib.Structs.String: stringAsciiUp :: MonadIO m => String -> m String
- GI.GLib.Structs.String: stringAssign :: (MonadIO m) => String -> Text -> m String
+ GI.GLib.Structs.String: stringAssign :: MonadIO m => String -> Text -> m String
- GI.GLib.Structs.String: stringDown :: (MonadIO m) => String -> m String
+ GI.GLib.Structs.String: stringDown :: MonadIO m => String -> m String
- GI.GLib.Structs.String: stringEqual :: (MonadIO m) => String -> String -> m Bool
+ GI.GLib.Structs.String: stringEqual :: MonadIO m => String -> String -> m Bool
- GI.GLib.Structs.String: stringErase :: (MonadIO m) => String -> Int64 -> Int64 -> m String
+ GI.GLib.Structs.String: stringErase :: MonadIO m => String -> Int64 -> Int64 -> m String
- GI.GLib.Structs.String: stringFree :: (MonadIO m) => String -> Bool -> m Text
+ GI.GLib.Structs.String: stringFree :: MonadIO m => String -> Bool -> m (Maybe Text)
- GI.GLib.Structs.String: stringFreeToBytes :: (MonadIO m) => String -> m Bytes
+ GI.GLib.Structs.String: stringFreeToBytes :: MonadIO m => String -> m Bytes
- GI.GLib.Structs.String: stringHash :: (MonadIO m) => String -> m Word32
+ GI.GLib.Structs.String: stringHash :: MonadIO m => String -> m Word32
- GI.GLib.Structs.String: stringInsert :: (MonadIO m) => String -> Int64 -> Text -> m String
+ GI.GLib.Structs.String: stringInsert :: MonadIO m => String -> Int64 -> Text -> m String
- GI.GLib.Structs.String: stringInsertC :: (MonadIO m) => String -> Int64 -> Int8 -> m String
+ GI.GLib.Structs.String: stringInsertC :: MonadIO m => String -> Int64 -> Int8 -> m String
- GI.GLib.Structs.String: stringInsertLen :: (MonadIO m) => String -> Int64 -> Text -> Int64 -> m String
+ GI.GLib.Structs.String: stringInsertLen :: MonadIO m => String -> Int64 -> Text -> Int64 -> m String
- GI.GLib.Structs.String: stringInsertUnichar :: (MonadIO m) => String -> Int64 -> Char -> m String
+ GI.GLib.Structs.String: stringInsertUnichar :: MonadIO m => String -> Int64 -> Char -> m String
- GI.GLib.Structs.String: stringOverwrite :: (MonadIO m) => String -> Word64 -> Text -> m String
+ GI.GLib.Structs.String: stringOverwrite :: MonadIO m => String -> Word64 -> Text -> m String
- GI.GLib.Structs.String: stringOverwriteLen :: (MonadIO m) => String -> Word64 -> Text -> Int64 -> m String
+ GI.GLib.Structs.String: stringOverwriteLen :: MonadIO m => String -> Word64 -> Text -> Int64 -> m String
- GI.GLib.Structs.String: stringPrepend :: (MonadIO m) => String -> Text -> m String
+ GI.GLib.Structs.String: stringPrepend :: MonadIO m => String -> Text -> m String
- GI.GLib.Structs.String: stringPrependC :: (MonadIO m) => String -> Int8 -> m String
+ GI.GLib.Structs.String: stringPrependC :: MonadIO m => String -> Int8 -> m String
- GI.GLib.Structs.String: stringPrependLen :: (MonadIO m) => String -> Text -> Int64 -> m String
+ GI.GLib.Structs.String: stringPrependLen :: MonadIO m => String -> Text -> Int64 -> m String
- GI.GLib.Structs.String: stringPrependUnichar :: (MonadIO m) => String -> Char -> m String
+ GI.GLib.Structs.String: stringPrependUnichar :: MonadIO m => String -> Char -> m String
- GI.GLib.Structs.String: stringReadAllocatedLen :: String -> IO Word64
+ GI.GLib.Structs.String: stringReadAllocatedLen :: MonadIO m => String -> m Word64
- GI.GLib.Structs.String: stringReadLen :: String -> IO Word64
+ GI.GLib.Structs.String: stringReadLen :: MonadIO m => String -> m Word64
- GI.GLib.Structs.String: stringReadStr :: String -> IO Text
+ GI.GLib.Structs.String: stringReadStr :: MonadIO m => String -> m (Maybe Text)
- GI.GLib.Structs.String: stringSetSize :: (MonadIO m) => String -> Word64 -> m String
+ GI.GLib.Structs.String: stringSetSize :: MonadIO m => String -> Word64 -> m String
- GI.GLib.Structs.String: stringTruncate :: (MonadIO m) => String -> Word64 -> m String
+ GI.GLib.Structs.String: stringTruncate :: MonadIO m => String -> Word64 -> m String
- GI.GLib.Structs.String: stringUp :: (MonadIO m) => String -> m String
+ GI.GLib.Structs.String: stringUp :: MonadIO m => String -> m String
- GI.GLib.Structs.StringChunk: stringChunkClear :: (MonadIO m) => StringChunk -> m ()
+ GI.GLib.Structs.StringChunk: stringChunkClear :: MonadIO m => StringChunk -> m ()
- GI.GLib.Structs.StringChunk: stringChunkFree :: (MonadIO m) => StringChunk -> m ()
+ GI.GLib.Structs.StringChunk: stringChunkFree :: MonadIO m => StringChunk -> m ()
- GI.GLib.Structs.StringChunk: stringChunkInsert :: (MonadIO m) => StringChunk -> Text -> m Text
+ GI.GLib.Structs.StringChunk: stringChunkInsert :: MonadIO m => StringChunk -> Text -> m Text
- GI.GLib.Structs.StringChunk: stringChunkInsertConst :: (MonadIO m) => StringChunk -> Text -> m Text
+ GI.GLib.Structs.StringChunk: stringChunkInsertConst :: MonadIO m => StringChunk -> Text -> m Text
- GI.GLib.Structs.StringChunk: stringChunkInsertLen :: (MonadIO m) => StringChunk -> Text -> Int64 -> m Text
+ GI.GLib.Structs.StringChunk: stringChunkInsertLen :: MonadIO m => StringChunk -> Text -> Int64 -> m Text
- GI.GLib.Structs.TestConfig: testConfigReadTestInitialized :: TestConfig -> IO Bool
+ GI.GLib.Structs.TestConfig: testConfigReadTestInitialized :: MonadIO m => TestConfig -> m Bool
- GI.GLib.Structs.TestConfig: testConfigReadTestPerf :: TestConfig -> IO Bool
+ GI.GLib.Structs.TestConfig: testConfigReadTestPerf :: MonadIO m => TestConfig -> m Bool
- GI.GLib.Structs.TestConfig: testConfigReadTestQuick :: TestConfig -> IO Bool
+ GI.GLib.Structs.TestConfig: testConfigReadTestQuick :: MonadIO m => TestConfig -> m Bool
- GI.GLib.Structs.TestConfig: testConfigReadTestQuiet :: TestConfig -> IO Bool
+ GI.GLib.Structs.TestConfig: testConfigReadTestQuiet :: MonadIO m => TestConfig -> m Bool
- GI.GLib.Structs.TestConfig: testConfigReadTestUndefined :: TestConfig -> IO Bool
+ GI.GLib.Structs.TestConfig: testConfigReadTestUndefined :: MonadIO m => TestConfig -> m Bool
- GI.GLib.Structs.TestConfig: testConfigReadTestVerbose :: TestConfig -> IO Bool
+ GI.GLib.Structs.TestConfig: testConfigReadTestVerbose :: MonadIO m => TestConfig -> m Bool
- GI.GLib.Structs.TestLogBuffer: testLogBufferFree :: (MonadIO m) => TestLogBuffer -> m ()
+ GI.GLib.Structs.TestLogBuffer: testLogBufferFree :: MonadIO m => TestLogBuffer -> m ()
- GI.GLib.Structs.TestLogBuffer: testLogBufferPush :: (MonadIO m) => TestLogBuffer -> Word32 -> Word8 -> m ()
+ GI.GLib.Structs.TestLogBuffer: testLogBufferPush :: MonadIO m => TestLogBuffer -> Word32 -> Word8 -> m ()
- GI.GLib.Structs.TestLogMsg: testLogMsgFree :: (MonadIO m) => TestLogMsg -> m ()
+ GI.GLib.Structs.TestLogMsg: testLogMsgFree :: MonadIO m => TestLogMsg -> m ()
- GI.GLib.Structs.TestLogMsg: testLogMsgReadLogType :: TestLogMsg -> IO TestLogType
+ GI.GLib.Structs.TestLogMsg: testLogMsgReadLogType :: MonadIO m => TestLogMsg -> m TestLogType
- GI.GLib.Structs.TestLogMsg: testLogMsgReadNNums :: TestLogMsg -> IO Word32
+ GI.GLib.Structs.TestLogMsg: testLogMsgReadNNums :: MonadIO m => TestLogMsg -> m Word32
- GI.GLib.Structs.TestLogMsg: testLogMsgReadNStrings :: TestLogMsg -> IO Word32
+ GI.GLib.Structs.TestLogMsg: testLogMsgReadNStrings :: MonadIO m => TestLogMsg -> m Word32
- GI.GLib.Structs.TestLogMsg: testLogMsgReadNums :: TestLogMsg -> IO Int64
+ GI.GLib.Structs.TestLogMsg: testLogMsgReadNums :: MonadIO m => TestLogMsg -> m CLong
- GI.GLib.Structs.TestLogMsg: testLogMsgReadStrings :: TestLogMsg -> IO Text
+ GI.GLib.Structs.TestLogMsg: testLogMsgReadStrings :: MonadIO m => TestLogMsg -> m (Maybe Text)
- GI.GLib.Structs.TestSuite: testSuiteAdd :: (MonadIO m) => TestSuite -> TestCase -> m ()
+ GI.GLib.Structs.TestSuite: testSuiteAdd :: MonadIO m => TestSuite -> TestCase -> m ()
- GI.GLib.Structs.TestSuite: testSuiteAddSuite :: (MonadIO m) => TestSuite -> TestSuite -> m ()
+ GI.GLib.Structs.TestSuite: testSuiteAddSuite :: MonadIO m => TestSuite -> TestSuite -> m ()
- GI.GLib.Structs.Thread: threadErrorQuark :: (MonadIO m) => m Word32
+ GI.GLib.Structs.Thread: threadErrorQuark :: MonadIO m => m Word32
- GI.GLib.Structs.Thread: threadExit :: (MonadIO m) => Ptr () -> m ()
+ GI.GLib.Structs.Thread: threadExit :: MonadIO m => Ptr () -> m ()
- GI.GLib.Structs.Thread: threadRef :: (MonadIO m) => Thread -> m Thread
+ GI.GLib.Structs.Thread: threadRef :: MonadIO m => Thread -> m Thread
- GI.GLib.Structs.Thread: threadSelf :: (MonadIO m) => m Thread
+ GI.GLib.Structs.Thread: threadSelf :: MonadIO m => m Thread
- GI.GLib.Structs.Thread: threadUnref :: (MonadIO m) => Thread -> m ()
+ GI.GLib.Structs.Thread: threadUnref :: MonadIO m => Thread -> m ()
- GI.GLib.Structs.Thread: threadYield :: (MonadIO m) => m ()
+ GI.GLib.Structs.Thread: threadYield :: MonadIO m => m ()
- GI.GLib.Structs.ThreadPool: threadPoolFree :: (MonadIO m) => ThreadPool -> Bool -> Bool -> m ()
+ GI.GLib.Structs.ThreadPool: threadPoolFree :: MonadIO m => ThreadPool -> Bool -> Bool -> m ()
- GI.GLib.Structs.ThreadPool: threadPoolGetMaxIdleTime :: (MonadIO m) => m Word32
+ GI.GLib.Structs.ThreadPool: threadPoolGetMaxIdleTime :: MonadIO m => m Word32
- GI.GLib.Structs.ThreadPool: threadPoolGetMaxThreads :: (MonadIO m) => ThreadPool -> m Int32
+ GI.GLib.Structs.ThreadPool: threadPoolGetMaxThreads :: MonadIO m => ThreadPool -> m Int32
- GI.GLib.Structs.ThreadPool: threadPoolGetMaxUnusedThreads :: (MonadIO m) => m Int32
+ GI.GLib.Structs.ThreadPool: threadPoolGetMaxUnusedThreads :: MonadIO m => m Int32
- GI.GLib.Structs.ThreadPool: threadPoolGetNumThreads :: (MonadIO m) => ThreadPool -> m Word32
+ GI.GLib.Structs.ThreadPool: threadPoolGetNumThreads :: MonadIO m => ThreadPool -> m Word32
- GI.GLib.Structs.ThreadPool: threadPoolGetNumUnusedThreads :: (MonadIO m) => m Word32
+ GI.GLib.Structs.ThreadPool: threadPoolGetNumUnusedThreads :: MonadIO m => m Word32
- GI.GLib.Structs.ThreadPool: threadPoolMoveToFront :: (MonadIO m) => ThreadPool -> Ptr () -> m Bool
+ GI.GLib.Structs.ThreadPool: threadPoolMoveToFront :: MonadIO m => ThreadPool -> Ptr () -> m Bool
- GI.GLib.Structs.ThreadPool: threadPoolPush :: (MonadIO m) => ThreadPool -> Ptr () -> m ()
+ GI.GLib.Structs.ThreadPool: threadPoolPush :: MonadIO m => ThreadPool -> Ptr () -> m ()
- GI.GLib.Structs.ThreadPool: threadPoolReadExclusive :: ThreadPool -> IO Bool
+ GI.GLib.Structs.ThreadPool: threadPoolReadExclusive :: MonadIO m => ThreadPool -> m Bool
- GI.GLib.Structs.ThreadPool: threadPoolReadUserData :: ThreadPool -> IO (Ptr ())
+ GI.GLib.Structs.ThreadPool: threadPoolReadUserData :: MonadIO m => ThreadPool -> m (Ptr ())
- GI.GLib.Structs.ThreadPool: threadPoolSetMaxIdleTime :: (MonadIO m) => Word32 -> m ()
+ GI.GLib.Structs.ThreadPool: threadPoolSetMaxIdleTime :: MonadIO m => Word32 -> m ()
- GI.GLib.Structs.ThreadPool: threadPoolSetMaxThreads :: (MonadIO m) => ThreadPool -> Int32 -> m ()
+ GI.GLib.Structs.ThreadPool: threadPoolSetMaxThreads :: MonadIO m => ThreadPool -> Int32 -> m ()
- GI.GLib.Structs.ThreadPool: threadPoolSetMaxUnusedThreads :: (MonadIO m) => Int32 -> m ()
+ GI.GLib.Structs.ThreadPool: threadPoolSetMaxUnusedThreads :: MonadIO m => Int32 -> m ()
- GI.GLib.Structs.ThreadPool: threadPoolStopUnusedThreads :: (MonadIO m) => m ()
+ GI.GLib.Structs.ThreadPool: threadPoolStopUnusedThreads :: MonadIO m => m ()
- GI.GLib.Structs.ThreadPool: threadPoolUnprocessed :: (MonadIO m) => ThreadPool -> m Word32
+ GI.GLib.Structs.ThreadPool: threadPoolUnprocessed :: MonadIO m => ThreadPool -> m Word32
- GI.GLib.Structs.TimeVal: timeValAdd :: (MonadIO m) => TimeVal -> Int64 -> m ()
+ GI.GLib.Structs.TimeVal: timeValAdd :: MonadIO m => TimeVal -> CLong -> m ()
- GI.GLib.Structs.TimeVal: timeValFromIso8601 :: (MonadIO m) => Text -> m (Bool, TimeVal)
+ GI.GLib.Structs.TimeVal: timeValFromIso8601 :: MonadIO m => Text -> m (Bool, TimeVal)
- GI.GLib.Structs.TimeVal: timeValReadTvSec :: TimeVal -> IO Int64
+ GI.GLib.Structs.TimeVal: timeValReadTvSec :: MonadIO m => TimeVal -> m CLong
- GI.GLib.Structs.TimeVal: timeValReadTvUsec :: TimeVal -> IO Int64
+ GI.GLib.Structs.TimeVal: timeValReadTvUsec :: MonadIO m => TimeVal -> m CLong
- GI.GLib.Structs.TimeVal: timeValToIso8601 :: (MonadIO m) => TimeVal -> m Text
+ GI.GLib.Structs.TimeVal: timeValToIso8601 :: MonadIO m => TimeVal -> m Text
- GI.GLib.Structs.TimeZone: timeZoneAdjustTime :: (MonadIO m) => TimeZone -> TimeType -> Int64 -> m Int32
+ GI.GLib.Structs.TimeZone: timeZoneAdjustTime :: MonadIO m => TimeZone -> TimeType -> Int64 -> m Int32
- GI.GLib.Structs.TimeZone: timeZoneFindInterval :: (MonadIO m) => TimeZone -> TimeType -> Int64 -> m Int32
+ GI.GLib.Structs.TimeZone: timeZoneFindInterval :: MonadIO m => TimeZone -> TimeType -> Int64 -> m Int32
- GI.GLib.Structs.TimeZone: timeZoneGetAbbreviation :: (MonadIO m) => TimeZone -> Int32 -> m Text
+ GI.GLib.Structs.TimeZone: timeZoneGetAbbreviation :: MonadIO m => TimeZone -> Int32 -> m Text
- GI.GLib.Structs.TimeZone: timeZoneGetOffset :: (MonadIO m) => TimeZone -> Int32 -> m Int32
+ GI.GLib.Structs.TimeZone: timeZoneGetOffset :: MonadIO m => TimeZone -> Int32 -> m Int32
- GI.GLib.Structs.TimeZone: timeZoneIsDst :: (MonadIO m) => TimeZone -> Int32 -> m Bool
+ GI.GLib.Structs.TimeZone: timeZoneIsDst :: MonadIO m => TimeZone -> Int32 -> m Bool
- GI.GLib.Structs.TimeZone: timeZoneNew :: (MonadIO m) => Maybe (Text) -> m TimeZone
+ GI.GLib.Structs.TimeZone: timeZoneNew :: MonadIO m => Maybe (Text) -> m TimeZone
- GI.GLib.Structs.TimeZone: timeZoneNewLocal :: (MonadIO m) => m TimeZone
+ GI.GLib.Structs.TimeZone: timeZoneNewLocal :: MonadIO m => m TimeZone
- GI.GLib.Structs.TimeZone: timeZoneNewUtc :: (MonadIO m) => m TimeZone
+ GI.GLib.Structs.TimeZone: timeZoneNewUtc :: MonadIO m => m TimeZone
- GI.GLib.Structs.TimeZone: timeZoneRef :: (MonadIO m) => TimeZone -> m TimeZone
+ GI.GLib.Structs.TimeZone: timeZoneRef :: MonadIO m => TimeZone -> m TimeZone
- GI.GLib.Structs.TimeZone: timeZoneUnref :: (MonadIO m) => TimeZone -> m ()
+ GI.GLib.Structs.TimeZone: timeZoneUnref :: MonadIO m => TimeZone -> m ()
- GI.GLib.Structs.Timer: timerContinue :: (MonadIO m) => Timer -> m ()
+ GI.GLib.Structs.Timer: timerContinue :: MonadIO m => Timer -> m ()
- GI.GLib.Structs.Timer: timerDestroy :: (MonadIO m) => Timer -> m ()
+ GI.GLib.Structs.Timer: timerDestroy :: MonadIO m => Timer -> m ()
- GI.GLib.Structs.Timer: timerElapsed :: (MonadIO m) => Timer -> Word64 -> m Double
+ GI.GLib.Structs.Timer: timerElapsed :: MonadIO m => Timer -> CULong -> m Double
- GI.GLib.Structs.Timer: timerReset :: (MonadIO m) => Timer -> m ()
+ GI.GLib.Structs.Timer: timerReset :: MonadIO m => Timer -> m ()
- GI.GLib.Structs.Timer: timerStart :: (MonadIO m) => Timer -> m ()
+ GI.GLib.Structs.Timer: timerStart :: MonadIO m => Timer -> m ()
- GI.GLib.Structs.Timer: timerStop :: (MonadIO m) => Timer -> m ()
+ GI.GLib.Structs.Timer: timerStop :: MonadIO m => Timer -> m ()
- GI.GLib.Structs.TrashStack: trashStackHeight :: (MonadIO m) => TrashStack -> m Word32
+ GI.GLib.Structs.TrashStack: trashStackHeight :: MonadIO m => TrashStack -> m Word32
- GI.GLib.Structs.TrashStack: trashStackPush :: (MonadIO m) => TrashStack -> Ptr () -> m ()
+ GI.GLib.Structs.TrashStack: trashStackPush :: MonadIO m => TrashStack -> Ptr () -> m ()
- GI.GLib.Structs.TrashStack: trashStackReadNext :: TrashStack -> IO TrashStack
+ GI.GLib.Structs.TrashStack: trashStackReadNext :: MonadIO m => TrashStack -> m (Maybe TrashStack)
- GI.GLib.Structs.Tree: treeDestroy :: (MonadIO m) => Tree -> m ()
+ GI.GLib.Structs.Tree: treeDestroy :: MonadIO m => Tree -> m ()
- GI.GLib.Structs.Tree: treeHeight :: (MonadIO m) => Tree -> m Int32
+ GI.GLib.Structs.Tree: treeHeight :: MonadIO m => Tree -> m Int32
- GI.GLib.Structs.Tree: treeInsert :: (MonadIO m) => Tree -> Ptr () -> Ptr () -> m ()
+ GI.GLib.Structs.Tree: treeInsert :: MonadIO m => Tree -> Ptr () -> Ptr () -> m ()
- GI.GLib.Structs.Tree: treeLookupExtended :: (MonadIO m) => Tree -> Ptr () -> Ptr () -> Ptr () -> m Bool
+ GI.GLib.Structs.Tree: treeLookupExtended :: MonadIO m => Tree -> Ptr () -> Ptr () -> Ptr () -> m Bool
- GI.GLib.Structs.Tree: treeNnodes :: (MonadIO m) => Tree -> m Int32
+ GI.GLib.Structs.Tree: treeNnodes :: MonadIO m => Tree -> m Int32
- GI.GLib.Structs.Tree: treeRemove :: (MonadIO m) => Tree -> Ptr () -> m Bool
+ GI.GLib.Structs.Tree: treeRemove :: MonadIO m => Tree -> Ptr () -> m Bool
- GI.GLib.Structs.Tree: treeReplace :: (MonadIO m) => Tree -> Ptr () -> Ptr () -> m ()
+ GI.GLib.Structs.Tree: treeReplace :: MonadIO m => Tree -> Ptr () -> Ptr () -> m ()
- GI.GLib.Structs.Tree: treeSteal :: (MonadIO m) => Tree -> Ptr () -> m Bool
+ GI.GLib.Structs.Tree: treeSteal :: MonadIO m => Tree -> Ptr () -> m Bool
- GI.GLib.Structs.Tree: treeUnref :: (MonadIO m) => Tree -> m ()
+ GI.GLib.Structs.Tree: treeUnref :: MonadIO m => Tree -> m ()
- GI.GLib.Structs.VariantBuilder: variantBuilderAddValue :: (MonadIO m) => VariantBuilder -> GVariant -> m ()
+ GI.GLib.Structs.VariantBuilder: variantBuilderAddValue :: MonadIO m => VariantBuilder -> GVariant -> m ()
- GI.GLib.Structs.VariantBuilder: variantBuilderClose :: (MonadIO m) => VariantBuilder -> m ()
+ GI.GLib.Structs.VariantBuilder: variantBuilderClose :: MonadIO m => VariantBuilder -> m ()
- GI.GLib.Structs.VariantBuilder: variantBuilderEnd :: (MonadIO m) => VariantBuilder -> m GVariant
+ GI.GLib.Structs.VariantBuilder: variantBuilderEnd :: MonadIO m => VariantBuilder -> m GVariant
- GI.GLib.Structs.VariantBuilder: variantBuilderNew :: (MonadIO m) => VariantType -> m VariantBuilder
+ GI.GLib.Structs.VariantBuilder: variantBuilderNew :: MonadIO m => VariantType -> m VariantBuilder
- GI.GLib.Structs.VariantBuilder: variantBuilderOpen :: (MonadIO m) => VariantBuilder -> VariantType -> m ()
+ GI.GLib.Structs.VariantBuilder: variantBuilderOpen :: MonadIO m => VariantBuilder -> VariantType -> m ()
- GI.GLib.Structs.VariantBuilder: variantBuilderRef :: (MonadIO m) => VariantBuilder -> m VariantBuilder
+ GI.GLib.Structs.VariantBuilder: variantBuilderRef :: MonadIO m => VariantBuilder -> m VariantBuilder
- GI.GLib.Structs.VariantBuilder: variantBuilderUnref :: (MonadIO m) => VariantBuilder -> m ()
+ GI.GLib.Structs.VariantBuilder: variantBuilderUnref :: MonadIO m => VariantBuilder -> m ()
- GI.GLib.Structs.VariantDict: variantDictClear :: (MonadIO m) => VariantDict -> m ()
+ GI.GLib.Structs.VariantDict: variantDictClear :: MonadIO m => VariantDict -> m ()
- GI.GLib.Structs.VariantDict: variantDictContains :: (MonadIO m) => VariantDict -> Text -> m Bool
+ GI.GLib.Structs.VariantDict: variantDictContains :: MonadIO m => VariantDict -> Text -> m Bool
- GI.GLib.Structs.VariantDict: variantDictEnd :: (MonadIO m) => VariantDict -> m GVariant
+ GI.GLib.Structs.VariantDict: variantDictEnd :: MonadIO m => VariantDict -> m GVariant
- GI.GLib.Structs.VariantDict: variantDictInsertValue :: (MonadIO m) => VariantDict -> Text -> GVariant -> m ()
+ GI.GLib.Structs.VariantDict: variantDictInsertValue :: MonadIO m => VariantDict -> Text -> GVariant -> m ()
- GI.GLib.Structs.VariantDict: variantDictLookupValue :: (MonadIO m) => VariantDict -> Text -> Maybe (VariantType) -> m GVariant
+ GI.GLib.Structs.VariantDict: variantDictLookupValue :: MonadIO m => VariantDict -> Text -> Maybe (VariantType) -> m GVariant
- GI.GLib.Structs.VariantDict: variantDictNew :: (MonadIO m) => Maybe (GVariant) -> m VariantDict
+ GI.GLib.Structs.VariantDict: variantDictNew :: MonadIO m => Maybe (GVariant) -> m VariantDict
- GI.GLib.Structs.VariantDict: variantDictRef :: (MonadIO m) => VariantDict -> m VariantDict
+ GI.GLib.Structs.VariantDict: variantDictRef :: MonadIO m => VariantDict -> m VariantDict
- GI.GLib.Structs.VariantDict: variantDictRemove :: (MonadIO m) => VariantDict -> Text -> m Bool
+ GI.GLib.Structs.VariantDict: variantDictRemove :: MonadIO m => VariantDict -> Text -> m Bool
- GI.GLib.Structs.VariantDict: variantDictUnref :: (MonadIO m) => VariantDict -> m ()
+ GI.GLib.Structs.VariantDict: variantDictUnref :: MonadIO m => VariantDict -> m ()
- GI.GLib.Structs.VariantType: variantTypeChecked_ :: (MonadIO m) => Text -> m VariantType
+ GI.GLib.Structs.VariantType: variantTypeChecked_ :: MonadIO m => Text -> m VariantType
- GI.GLib.Structs.VariantType: variantTypeCopy :: (MonadIO m) => VariantType -> m VariantType
+ GI.GLib.Structs.VariantType: variantTypeCopy :: MonadIO m => VariantType -> m VariantType
- GI.GLib.Structs.VariantType: variantTypeDupString :: (MonadIO m) => VariantType -> m Text
+ GI.GLib.Structs.VariantType: variantTypeDupString :: MonadIO m => VariantType -> m Text
- GI.GLib.Structs.VariantType: variantTypeElement :: (MonadIO m) => VariantType -> m VariantType
+ GI.GLib.Structs.VariantType: variantTypeElement :: MonadIO m => VariantType -> m VariantType
- GI.GLib.Structs.VariantType: variantTypeEqual :: (MonadIO m) => VariantType -> VariantType -> m Bool
+ GI.GLib.Structs.VariantType: variantTypeEqual :: MonadIO m => VariantType -> VariantType -> m Bool
- GI.GLib.Structs.VariantType: variantTypeFirst :: (MonadIO m) => VariantType -> m VariantType
+ GI.GLib.Structs.VariantType: variantTypeFirst :: MonadIO m => VariantType -> m VariantType
- GI.GLib.Structs.VariantType: variantTypeFree :: (MonadIO m) => VariantType -> m ()
+ GI.GLib.Structs.VariantType: variantTypeFree :: MonadIO m => VariantType -> m ()
- GI.GLib.Structs.VariantType: variantTypeGetStringLength :: (MonadIO m) => VariantType -> m Word64
+ GI.GLib.Structs.VariantType: variantTypeGetStringLength :: MonadIO m => VariantType -> m Word64
- GI.GLib.Structs.VariantType: variantTypeHash :: (MonadIO m) => VariantType -> m Word32
+ GI.GLib.Structs.VariantType: variantTypeHash :: MonadIO m => VariantType -> m Word32
- GI.GLib.Structs.VariantType: variantTypeIsArray :: (MonadIO m) => VariantType -> m Bool
+ GI.GLib.Structs.VariantType: variantTypeIsArray :: MonadIO m => VariantType -> m Bool
- GI.GLib.Structs.VariantType: variantTypeIsBasic :: (MonadIO m) => VariantType -> m Bool
+ GI.GLib.Structs.VariantType: variantTypeIsBasic :: MonadIO m => VariantType -> m Bool
- GI.GLib.Structs.VariantType: variantTypeIsContainer :: (MonadIO m) => VariantType -> m Bool
+ GI.GLib.Structs.VariantType: variantTypeIsContainer :: MonadIO m => VariantType -> m Bool
- GI.GLib.Structs.VariantType: variantTypeIsDefinite :: (MonadIO m) => VariantType -> m Bool
+ GI.GLib.Structs.VariantType: variantTypeIsDefinite :: MonadIO m => VariantType -> m Bool
- GI.GLib.Structs.VariantType: variantTypeIsDictEntry :: (MonadIO m) => VariantType -> m Bool
+ GI.GLib.Structs.VariantType: variantTypeIsDictEntry :: MonadIO m => VariantType -> m Bool
- GI.GLib.Structs.VariantType: variantTypeIsMaybe :: (MonadIO m) => VariantType -> m Bool
+ GI.GLib.Structs.VariantType: variantTypeIsMaybe :: MonadIO m => VariantType -> m Bool
- GI.GLib.Structs.VariantType: variantTypeIsSubtypeOf :: (MonadIO m) => VariantType -> VariantType -> m Bool
+ GI.GLib.Structs.VariantType: variantTypeIsSubtypeOf :: MonadIO m => VariantType -> VariantType -> m Bool
- GI.GLib.Structs.VariantType: variantTypeIsTuple :: (MonadIO m) => VariantType -> m Bool
+ GI.GLib.Structs.VariantType: variantTypeIsTuple :: MonadIO m => VariantType -> m Bool
- GI.GLib.Structs.VariantType: variantTypeIsVariant :: (MonadIO m) => VariantType -> m Bool
+ GI.GLib.Structs.VariantType: variantTypeIsVariant :: MonadIO m => VariantType -> m Bool
- GI.GLib.Structs.VariantType: variantTypeKey :: (MonadIO m) => VariantType -> m VariantType
+ GI.GLib.Structs.VariantType: variantTypeKey :: MonadIO m => VariantType -> m VariantType
- GI.GLib.Structs.VariantType: variantTypeNItems :: (MonadIO m) => VariantType -> m Word64
+ GI.GLib.Structs.VariantType: variantTypeNItems :: MonadIO m => VariantType -> m Word64
- GI.GLib.Structs.VariantType: variantTypeNew :: (MonadIO m) => Text -> m VariantType
+ GI.GLib.Structs.VariantType: variantTypeNew :: MonadIO m => Text -> m VariantType
- GI.GLib.Structs.VariantType: variantTypeNewArray :: (MonadIO m) => VariantType -> m VariantType
+ GI.GLib.Structs.VariantType: variantTypeNewArray :: MonadIO m => VariantType -> m VariantType
- GI.GLib.Structs.VariantType: variantTypeNewDictEntry :: (MonadIO m) => VariantType -> VariantType -> m VariantType
+ GI.GLib.Structs.VariantType: variantTypeNewDictEntry :: MonadIO m => VariantType -> VariantType -> m VariantType
- GI.GLib.Structs.VariantType: variantTypeNewMaybe :: (MonadIO m) => VariantType -> m VariantType
+ GI.GLib.Structs.VariantType: variantTypeNewMaybe :: MonadIO m => VariantType -> m VariantType
- GI.GLib.Structs.VariantType: variantTypeNewTuple :: (MonadIO m) => [VariantType] -> m VariantType
+ GI.GLib.Structs.VariantType: variantTypeNewTuple :: MonadIO m => [VariantType] -> m VariantType
- GI.GLib.Structs.VariantType: variantTypeNext :: (MonadIO m) => VariantType -> m VariantType
+ GI.GLib.Structs.VariantType: variantTypeNext :: MonadIO m => VariantType -> m VariantType
- GI.GLib.Structs.VariantType: variantTypeStringIsValid :: (MonadIO m) => Text -> m Bool
+ GI.GLib.Structs.VariantType: variantTypeStringIsValid :: MonadIO m => Text -> m Bool
- GI.GLib.Structs.VariantType: variantTypeStringScan :: (MonadIO m) => Text -> Maybe (Text) -> m (Bool, Text)
+ GI.GLib.Structs.VariantType: variantTypeStringScan :: MonadIO m => Text -> Maybe (Text) -> m (Bool, Text)
- GI.GLib.Structs.VariantType: variantTypeValue :: (MonadIO m) => VariantType -> m VariantType
+ GI.GLib.Structs.VariantType: variantTypeValue :: MonadIO m => VariantType -> m VariantType
- GI.GLib.Unions.DoubleIEEE754: doubleIEEE754ReadVDouble :: DoubleIEEE754 -> IO Double
+ GI.GLib.Unions.DoubleIEEE754: doubleIEEE754ReadVDouble :: MonadIO m => DoubleIEEE754 -> m Double
- GI.GLib.Unions.FloatIEEE754: floatIEEE754ReadVFloat :: FloatIEEE754 -> IO Float
+ GI.GLib.Unions.FloatIEEE754: floatIEEE754ReadVFloat :: MonadIO m => FloatIEEE754 -> m Float
- GI.GLib.Unions.Mutex: mutexClear :: (MonadIO m) => Mutex -> m ()
+ GI.GLib.Unions.Mutex: mutexClear :: MonadIO m => Mutex -> m ()
- GI.GLib.Unions.Mutex: mutexInit :: (MonadIO m) => Mutex -> m ()
+ GI.GLib.Unions.Mutex: mutexInit :: MonadIO m => Mutex -> m ()
- GI.GLib.Unions.Mutex: mutexLock :: (MonadIO m) => Mutex -> m ()
+ GI.GLib.Unions.Mutex: mutexLock :: MonadIO m => Mutex -> m ()
- GI.GLib.Unions.Mutex: mutexTrylock :: (MonadIO m) => Mutex -> m Bool
+ GI.GLib.Unions.Mutex: mutexTrylock :: MonadIO m => Mutex -> m Bool
- GI.GLib.Unions.Mutex: mutexUnlock :: (MonadIO m) => Mutex -> m ()
+ GI.GLib.Unions.Mutex: mutexUnlock :: MonadIO m => Mutex -> m ()
- GI.GLib.Unions.TokenValue: tokenValueReadVBinary :: TokenValue -> IO Word64
+ GI.GLib.Unions.TokenValue: tokenValueReadVBinary :: MonadIO m => TokenValue -> m CULong
- GI.GLib.Unions.TokenValue: tokenValueReadVChar :: TokenValue -> IO Word8
+ GI.GLib.Unions.TokenValue: tokenValueReadVChar :: MonadIO m => TokenValue -> m Word8
- GI.GLib.Unions.TokenValue: tokenValueReadVComment :: TokenValue -> IO Text
+ GI.GLib.Unions.TokenValue: tokenValueReadVComment :: MonadIO m => TokenValue -> m (Maybe Text)
- GI.GLib.Unions.TokenValue: tokenValueReadVError :: TokenValue -> IO Word32
+ GI.GLib.Unions.TokenValue: tokenValueReadVError :: MonadIO m => TokenValue -> m Word32
- GI.GLib.Unions.TokenValue: tokenValueReadVFloat :: TokenValue -> IO Double
+ GI.GLib.Unions.TokenValue: tokenValueReadVFloat :: MonadIO m => TokenValue -> m Double
- GI.GLib.Unions.TokenValue: tokenValueReadVHex :: TokenValue -> IO Word64
+ GI.GLib.Unions.TokenValue: tokenValueReadVHex :: MonadIO m => TokenValue -> m CULong
- GI.GLib.Unions.TokenValue: tokenValueReadVIdentifier :: TokenValue -> IO Text
+ GI.GLib.Unions.TokenValue: tokenValueReadVIdentifier :: MonadIO m => TokenValue -> m (Maybe Text)
- GI.GLib.Unions.TokenValue: tokenValueReadVInt :: TokenValue -> IO Word64
+ GI.GLib.Unions.TokenValue: tokenValueReadVInt :: MonadIO m => TokenValue -> m CULong
- GI.GLib.Unions.TokenValue: tokenValueReadVInt64 :: TokenValue -> IO Word64
+ GI.GLib.Unions.TokenValue: tokenValueReadVInt64 :: MonadIO m => TokenValue -> m Word64
- GI.GLib.Unions.TokenValue: tokenValueReadVOctal :: TokenValue -> IO Word64
+ GI.GLib.Unions.TokenValue: tokenValueReadVOctal :: MonadIO m => TokenValue -> m CULong
- GI.GLib.Unions.TokenValue: tokenValueReadVString :: TokenValue -> IO Text
+ GI.GLib.Unions.TokenValue: tokenValueReadVString :: MonadIO m => TokenValue -> m (Maybe Text)
- GI.GLib.Unions.TokenValue: tokenValueReadVSymbol :: TokenValue -> IO (Ptr ())
+ GI.GLib.Unions.TokenValue: tokenValueReadVSymbol :: MonadIO m => TokenValue -> m (Ptr ())
Files
- GI/GLib.hs +1/−1
- GI/GLib/Callbacks.hs +5/−5
- GI/GLib/Constants.hs +1/−1
- GI/GLib/Enums.hs +1/−1
- GI/GLib/Flags.hs +3/−3
- GI/GLib/Functions.hs +9829/−9856
- GI/GLib/Structs.hs +1/−1
- GI/GLib/Structs/AsyncQueue.hs +30/−26
- GI/GLib/Structs/AsyncQueue.hs-boot +1/−1
- GI/GLib/Structs/BookmarkFile.hs +76/−72
- GI/GLib/Structs/BookmarkFile.hs-boot +1/−1
- GI/GLib/Structs/ByteArray.hs +65/−10
- GI/GLib/Structs/ByteArray.hs-boot +1/−1
- GI/GLib/Structs/Bytes.hs +22/−18
- GI/GLib/Structs/Bytes.hs-boot +1/−1
- GI/GLib/Structs/Checksum.hs +12/−8
- GI/GLib/Structs/Checksum.hs-boot +1/−1
- GI/GLib/Structs/Cond.hs +18/−7
- GI/GLib/Structs/Cond.hs-boot +1/−1
- GI/GLib/Structs/Data.hs +5/−1
- GI/GLib/Structs/Data.hs-boot +1/−1
- GI/GLib/Structs/Date.hs +227/−84
- GI/GLib/Structs/Date.hs-boot +1/−1
- GI/GLib/Structs/DateTime.hs +100/−96
- GI/GLib/Structs/DateTime.hs-boot +1/−1
- GI/GLib/Structs/DebugKey.hs +69/−7
- GI/GLib/Structs/DebugKey.hs-boot +1/−1
- GI/GLib/Structs/Dir.hs +9/−5
- GI/GLib/Structs/Dir.hs-boot +1/−1
- GI/GLib/Structs/HashTableIter.hs +28/−25
- GI/GLib/Structs/HashTableIter.hs-boot +1/−1
- GI/GLib/Structs/Hmac.hs +9/−5
- GI/GLib/Structs/Hmac.hs-boot +1/−1
- GI/GLib/Structs/Hook.hs +219/−31
- GI/GLib/Structs/Hook.hs-boot +1/−1
- GI/GLib/Structs/HookList.hs +153/−22
- GI/GLib/Structs/HookList.hs-boot +1/−1
- GI/GLib/Structs/IConv.hs +6/−2
- GI/GLib/Structs/IConv.hs-boot +1/−1
- GI/GLib/Structs/IOChannel.hs +54/−43
- GI/GLib/Structs/IOChannel.hs-boot +1/−1
- GI/GLib/Structs/IOFuncs.hs +18/−15
- GI/GLib/Structs/IOFuncs.hs-boot +1/−1
- GI/GLib/Structs/KeyFile.hs +54/−50
- GI/GLib/Structs/KeyFile.hs-boot +1/−1
- GI/GLib/Structs/MainContext.hs +57/−53
- GI/GLib/Structs/MainContext.hs-boot +1/−1
- GI/GLib/Structs/MainLoop.hs +12/−8
- GI/GLib/Structs/MainLoop.hs-boot +1/−1
- GI/GLib/Structs/MappedFile.hs +15/−11
- GI/GLib/Structs/MappedFile.hs-boot +1/−1
- GI/GLib/Structs/MarkupParseContext.hs +17/−13
- GI/GLib/Structs/MarkupParseContext.hs-boot +1/−1
- GI/GLib/Structs/MarkupParser.hs +15/−9
- GI/GLib/Structs/MarkupParser.hs-boot +1/−1
- GI/GLib/Structs/MatchInfo.hs +29/−25
- GI/GLib/Structs/MatchInfo.hs-boot +1/−1
- GI/GLib/Structs/MemVTable.hs +12/−2
- GI/GLib/Structs/MemVTable.hs-boot +1/−1
- GI/GLib/Structs/Node.hs +185/−31
- GI/GLib/Structs/Node.hs-boot +1/−1
- GI/GLib/Structs/Once.hs +72/−11
- GI/GLib/Structs/Once.hs-boot +1/−1
- GI/GLib/Structs/OptionContext.hs +89/−24
- GI/GLib/Structs/OptionContext.hs-boot +2/−1
- GI/GLib/Structs/OptionEntry.hs +213/−21
- GI/GLib/Structs/OptionEntry.hs-boot +1/−1
- GI/GLib/Structs/OptionGroup.hs +18/−18
- GI/GLib/Structs/OptionGroup.hs-boot +1/−1
- GI/GLib/Structs/PatternSpec.hs +7/−3
- GI/GLib/Structs/PatternSpec.hs-boot +1/−1
- GI/GLib/Structs/PollFD.hs +84/−7
- GI/GLib/Structs/PollFD.hs-boot +1/−1
- GI/GLib/Structs/PtrArray.hs +65/−5
- GI/GLib/Structs/PtrArray.hs-boot +1/−1
- GI/GLib/Structs/Queue.hs +120/−33
- GI/GLib/Structs/Queue.hs-boot +1/−1
- GI/GLib/Structs/RWLock.hs +20/−9
- GI/GLib/Structs/RWLock.hs-boot +1/−1
- GI/GLib/Structs/Rand.hs +14/−10
- GI/GLib/Structs/Rand.hs-boot +1/−1
- GI/GLib/Structs/RecMutex.hs +17/−6
- GI/GLib/Structs/RecMutex.hs-boot +1/−1
- GI/GLib/Structs/Regex.hs +46/−42
- GI/GLib/Structs/Regex.hs-boot +1/−1
- GI/GLib/Structs/Scanner.hs +428/−68
- GI/GLib/Structs/Scanner.hs-boot +1/−1
- GI/GLib/Structs/ScannerConfig.hs +672/−61
- GI/GLib/Structs/ScannerConfig.hs-boot +1/−1
- GI/GLib/Structs/Sequence.hs +15/−11
- GI/GLib/Structs/Sequence.hs-boot +1/−1
- GI/GLib/Structs/SequenceIter.hs +9/−5
- GI/GLib/Structs/SequenceIter.hs-boot +1/−1
- GI/GLib/Structs/Source.hs +66/−55
- GI/GLib/Structs/Source.hs-boot +1/−1
- GI/GLib/Structs/SourceCallbackFuncs.hs +12/−3
- GI/GLib/Structs/SourceCallbackFuncs.hs-boot +1/−1
- GI/GLib/Structs/SourceFuncs.hs +13/−5
- GI/GLib/Structs/SourceFuncs.hs-boot +1/−1
- GI/GLib/Structs/StatBuf.hs +5/−1
- GI/GLib/Structs/StatBuf.hs-boot +1/−1
- GI/GLib/Structs/String.hs +127/−42
- GI/GLib/Structs/String.hs-boot +1/−1
- GI/GLib/Structs/StringChunk.hs +10/−6
- GI/GLib/Structs/StringChunk.hs-boot +1/−1
- GI/GLib/Structs/TestCase.hs +5/−1
- GI/GLib/Structs/TestCase.hs-boot +1/−1
- GI/GLib/Structs/TestConfig.hs +162/−13
- GI/GLib/Structs/TestConfig.hs-boot +1/−1
- GI/GLib/Structs/TestLogBuffer.hs +16/−5
- GI/GLib/Structs/TestLogBuffer.hs-boot +1/−1
- GI/GLib/Structs/TestLogMsg.hs +144/−15
- GI/GLib/Structs/TestLogMsg.hs-boot +1/−1
- GI/GLib/Structs/TestSuite.hs +7/−3
- GI/GLib/Structs/TestSuite.hs-boot +1/−1
- GI/GLib/Structs/Thread.hs +13/−9
- GI/GLib/Structs/Thread.hs-boot +1/−1
- GI/GLib/Structs/ThreadPool.hs +94/−34
- GI/GLib/Structs/ThreadPool.hs-boot +1/−1
- GI/GLib/Structs/TimeVal.hs +73/−18
- GI/GLib/Structs/TimeVal.hs-boot +1/−1
- GI/GLib/Structs/TimeZone.hs +27/−23
- GI/GLib/Structs/TimeZone.hs-boot +1/−1
- GI/GLib/Structs/Timer.hs +15/−11
- GI/GLib/Structs/Timer.hs-boot +1/−1
- GI/GLib/Structs/TrashStack.hs +49/−9
- GI/GLib/Structs/TrashStack.hs-boot +1/−1
- GI/GLib/Structs/Tree.hs +28/−24
- GI/GLib/Structs/Tree.hs-boot +1/−1
- GI/GLib/Structs/VariantBuilder.hs +19/−8
- GI/GLib/Structs/VariantBuilder.hs-boot +1/−1
- GI/GLib/Structs/VariantDict.hs +21/−10
- GI/GLib/Structs/VariantDict.hs-boot +1/−1
- GI/GLib/Structs/VariantType.hs +37/−33
- GI/GLib/Structs/VariantType.hs-boot +1/−1
- GI/GLib/Unions.hs +1/−1
- GI/GLib/Unions/DoubleIEEE754.hs +37/−3
- GI/GLib/Unions/DoubleIEEE754.hs-boot +1/−1
- GI/GLib/Unions/FloatIEEE754.hs +37/−3
- GI/GLib/Unions/FloatIEEE754.hs-boot +1/−1
- GI/GLib/Unions/Mutex.hs +17/−6
- GI/GLib/Unions/Mutex.hs-boot +1/−1
- GI/GLib/Unions/TokenValue.hs +337/−35
- GI/GLib/Unions/TokenValue.hs-boot +1/−1
- gi-glib.cabal +3/−3
GI/GLib.hs view
@@ -30,9 +30,9 @@ import GI.GLib.Structs import GI.GLib.Unions -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Callbacks.hs view
@@ -554,9 +554,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -872,9 +872,9 @@ Ptr Source -> Int32 -> IO CInt-sourceFuncsPrepareFieldCallbackWrapper funptrptr _cb source timeout = do+sourceFuncsPrepareFieldCallbackWrapper funptrptr _cb source timeout_ = do source' <- (newBoxed Source) source- result <- _cb source' timeout+ result <- _cb source' timeout_ maybeReleaseFunPtr funptrptr let result' = (fromIntegral . fromEnum) result return result'@@ -1221,9 +1221,9 @@ Word32 -> Int32 -> IO Int32-pollFuncWrapper funptrptr _cb ufds nfsd timeout = do+pollFuncWrapper funptrptr _cb ufds nfsd timeout_ = do ufds' <- (newBoxed PollFD) ufds- result <- _cb ufds' nfsd timeout+ result <- _cb ufds' nfsd timeout_ maybeReleaseFunPtr funptrptr return result
GI/GLib/Constants.hs view
@@ -142,9 +142,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Enums.hs view
@@ -72,9 +72,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Flags.hs view
@@ -31,9 +31,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -505,8 +505,8 @@ foreign import ccall "g_io_condition_get_type" c_g_io_condition_get_type :: IO GType -instance BoxedEnum IOCondition where- boxedEnumType _ = c_g_io_condition_get_type+instance BoxedFlags IOCondition where+ boxedFlagsType _ = c_g_io_condition_get_type instance IsGFlag IOCondition
GI/GLib/Functions.hs view
@@ -1474,9862 +1474,9835 @@ ) 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.GLib.Types-import GI.GLib.Callbacks---- function g_warn_message--- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "file", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "line", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "warnexpr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_warn_message" g_warn_message :: - CString -> -- domain : TBasicType TUTF8- CString -> -- file : TBasicType TUTF8- Int32 -> -- line : TBasicType TInt32- CString -> -- func : TBasicType TUTF8- CString -> -- warnexpr : TBasicType TUTF8- IO ()---warnMessage ::- (MonadIO m) =>- T.Text -- domain- -> T.Text -- file- -> Int32 -- line- -> T.Text -- func- -> T.Text -- warnexpr- -> m () -- result-warnMessage domain file line func warnexpr = liftIO $ do- domain' <- textToCString domain- file' <- textToCString file- func' <- textToCString func- warnexpr' <- textToCString warnexpr- g_warn_message domain' file' line func' warnexpr'- freeMem domain'- freeMem file'- freeMem func'- freeMem warnexpr'- return ()----- function g_variant_get_gtype--- Args : []--- Lengths : []--- returnType : TBasicType TGType--- throws : False--- Skip return : False--foreign import ccall "g_variant_get_gtype" g_variant_get_gtype :: - IO CGType---variantGetGtype ::- (MonadIO m) =>- m GType -- result-variantGetGtype = liftIO $ do- result <- g_variant_get_gtype- let result' = GType result- return result'----- function g_utf8_validate--- Args : [Arg {argCName = "str", argType = TCArray False (-1) 1 (TBasicType TUInt8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "max_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "end", argType = TBasicType TUTF8, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : [Arg {argCName = "max_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_utf8_validate" g_utf8_validate :: - Ptr Word8 -> -- str : TCArray False (-1) 1 (TBasicType TUInt8)- Int64 -> -- max_len : TBasicType TInt64- Ptr CString -> -- end : TBasicType TUTF8- IO CInt---utf8Validate ::- (MonadIO m) =>- ByteString -- str- -> m (Bool,T.Text) -- result-utf8Validate str = liftIO $ do- let maxLen = fromIntegral $ B.length str- str' <- packByteString str- end <- allocMem :: IO (Ptr CString)- result <- g_utf8_validate str' maxLen end- let result' = (/= 0) result- end' <- peek end- end'' <- cstringToText end'- freeMem str'- freeMem end- return (result', end'')----- function g_utf8_substring--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "start_pos", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "end_pos", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_utf8_substring" g_utf8_substring :: - CString -> -- str : TBasicType TUTF8- Int64 -> -- start_pos : TBasicType TInt64- Int64 -> -- end_pos : TBasicType TInt64- IO CString---utf8Substring ::- (MonadIO m) =>- T.Text -- str- -> Int64 -- startPos- -> Int64 -- endPos- -> m T.Text -- result-utf8Substring str startPos endPos = liftIO $ do- str' <- textToCString str- result <- g_utf8_substring str' startPos endPos- checkUnexpectedReturnNULL "g_utf8_substring" result- result' <- cstringToText result- freeMem result- freeMem str'- return result'----- function g_utf8_strup--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_utf8_strup" g_utf8_strup :: - CString -> -- str : TBasicType TUTF8- Int64 -> -- len : TBasicType TInt64- IO CString---utf8Strup ::- (MonadIO m) =>- T.Text -- str- -> Int64 -- len- -> m T.Text -- result-utf8Strup str len = liftIO $ do- str' <- textToCString str- result <- g_utf8_strup str' len- checkUnexpectedReturnNULL "g_utf8_strup" result- result' <- cstringToText result- freeMem result- freeMem str'- return result'----- function g_utf8_strreverse--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_utf8_strreverse" g_utf8_strreverse :: - CString -> -- str : TBasicType TUTF8- Int64 -> -- len : TBasicType TInt64- IO CString---utf8Strreverse ::- (MonadIO m) =>- T.Text -- str- -> Int64 -- len- -> m T.Text -- result-utf8Strreverse str len = liftIO $ do- str' <- textToCString str- result <- g_utf8_strreverse str' len- checkUnexpectedReturnNULL "g_utf8_strreverse" result- result' <- cstringToText result- freeMem result- freeMem str'- return result'----- function g_utf8_strrchr--- Args : [Arg {argCName = "p", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_utf8_strrchr" g_utf8_strrchr :: - CString -> -- p : TBasicType TUTF8- Int64 -> -- len : TBasicType TInt64- CInt -> -- c : TBasicType TUniChar- IO CString---utf8Strrchr ::- (MonadIO m) =>- T.Text -- p- -> Int64 -- len- -> Char -- c- -> m T.Text -- result-utf8Strrchr p len c = liftIO $ do- p' <- textToCString p- let c' = (fromIntegral . ord) c- result <- g_utf8_strrchr p' len c'- checkUnexpectedReturnNULL "g_utf8_strrchr" result- result' <- cstringToText result- freeMem result- freeMem p'- return result'----- function g_utf8_strncpy--- Args : [Arg {argCName = "dest", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "src", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_utf8_strncpy" g_utf8_strncpy :: - CString -> -- dest : TBasicType TUTF8- CString -> -- src : TBasicType TUTF8- Word64 -> -- n : TBasicType TUInt64- IO CString---utf8Strncpy ::- (MonadIO m) =>- T.Text -- dest- -> T.Text -- src- -> Word64 -- n- -> m T.Text -- result-utf8Strncpy dest src n = liftIO $ do- dest' <- textToCString dest- src' <- textToCString src- result <- g_utf8_strncpy dest' src' n- checkUnexpectedReturnNULL "g_utf8_strncpy" result- result' <- cstringToText result- freeMem result- freeMem dest'- freeMem src'- return result'----- function g_utf8_strlen--- Args : [Arg {argCName = "p", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "max", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt64--- throws : False--- Skip return : False--foreign import ccall "g_utf8_strlen" g_utf8_strlen :: - CString -> -- p : TBasicType TUTF8- Int64 -> -- max : TBasicType TInt64- IO Int64---utf8Strlen ::- (MonadIO m) =>- T.Text -- p- -> Int64 -- max- -> m Int64 -- result-utf8Strlen p max = liftIO $ do- p' <- textToCString p- result <- g_utf8_strlen p' max- freeMem p'- return result----- function g_utf8_strdown--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_utf8_strdown" g_utf8_strdown :: - CString -> -- str : TBasicType TUTF8- Int64 -> -- len : TBasicType TInt64- IO CString---utf8Strdown ::- (MonadIO m) =>- T.Text -- str- -> Int64 -- len- -> m T.Text -- result-utf8Strdown str len = liftIO $ do- str' <- textToCString str- result <- g_utf8_strdown str' len- checkUnexpectedReturnNULL "g_utf8_strdown" result- result' <- cstringToText result- freeMem result- freeMem str'- return result'----- function g_utf8_strchr--- Args : [Arg {argCName = "p", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_utf8_strchr" g_utf8_strchr :: - CString -> -- p : TBasicType TUTF8- Int64 -> -- len : TBasicType TInt64- CInt -> -- c : TBasicType TUniChar- IO CString---utf8Strchr ::- (MonadIO m) =>- T.Text -- p- -> Int64 -- len- -> Char -- c- -> m T.Text -- result-utf8Strchr p len c = liftIO $ do- p' <- textToCString p- let c' = (fromIntegral . ord) c- result <- g_utf8_strchr p' len c'- checkUnexpectedReturnNULL "g_utf8_strchr" result- result' <- cstringToText result- freeMem result- freeMem p'- return result'----- function g_utf8_prev_char--- Args : [Arg {argCName = "p", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_utf8_prev_char" g_utf8_prev_char :: - CString -> -- p : TBasicType TUTF8- IO CString---utf8PrevChar ::- (MonadIO m) =>- T.Text -- p- -> m T.Text -- result-utf8PrevChar p = liftIO $ do- p' <- textToCString p- result <- g_utf8_prev_char p'- checkUnexpectedReturnNULL "g_utf8_prev_char" result- result' <- cstringToText result- freeMem result- freeMem p'- return result'----- function g_utf8_pointer_to_offset--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pos", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt64--- throws : False--- Skip return : False--foreign import ccall "g_utf8_pointer_to_offset" g_utf8_pointer_to_offset :: - CString -> -- str : TBasicType TUTF8- CString -> -- pos : TBasicType TUTF8- IO Int64---utf8PointerToOffset ::- (MonadIO m) =>- T.Text -- str- -> T.Text -- pos- -> m Int64 -- result-utf8PointerToOffset str pos = liftIO $ do- str' <- textToCString str- pos' <- textToCString pos- result <- g_utf8_pointer_to_offset str' pos'- freeMem str'- freeMem pos'- return result----- function g_utf8_offset_to_pointer--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "offset", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_utf8_offset_to_pointer" g_utf8_offset_to_pointer :: - CString -> -- str : TBasicType TUTF8- Int64 -> -- offset : TBasicType TInt64- IO CString---utf8OffsetToPointer ::- (MonadIO m) =>- T.Text -- str- -> Int64 -- offset- -> m T.Text -- result-utf8OffsetToPointer str offset = liftIO $ do- str' <- textToCString str- result <- g_utf8_offset_to_pointer str' offset- checkUnexpectedReturnNULL "g_utf8_offset_to_pointer" result- result' <- cstringToText result- freeMem result- freeMem str'- return result'----- function g_utf8_normalize--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mode", argType = TInterface "GLib" "NormalizeMode", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_utf8_normalize" g_utf8_normalize :: - CString -> -- str : TBasicType TUTF8- Int64 -> -- len : TBasicType TInt64- CUInt -> -- mode : TInterface "GLib" "NormalizeMode"- IO CString---utf8Normalize ::- (MonadIO m) =>- T.Text -- str- -> Int64 -- len- -> NormalizeMode -- mode- -> m T.Text -- result-utf8Normalize str len mode = liftIO $ do- str' <- textToCString str- let mode' = (fromIntegral . fromEnum) mode- result <- g_utf8_normalize str' len mode'- checkUnexpectedReturnNULL "g_utf8_normalize" result- result' <- cstringToText result- freeMem result- freeMem str'- return result'----- function g_utf8_get_char_validated--- Args : [Arg {argCName = "p", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "max_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUniChar--- throws : False--- Skip return : False--foreign import ccall "g_utf8_get_char_validated" g_utf8_get_char_validated :: - CString -> -- p : TBasicType TUTF8- Int64 -> -- max_len : TBasicType TInt64- IO CInt---utf8GetCharValidated ::- (MonadIO m) =>- T.Text -- p- -> Int64 -- maxLen- -> m Char -- result-utf8GetCharValidated p maxLen = liftIO $ do- p' <- textToCString p- result <- g_utf8_get_char_validated p' maxLen- let result' = (chr . fromIntegral) result- freeMem p'- return result'----- function g_utf8_get_char--- Args : [Arg {argCName = "p", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUniChar--- throws : False--- Skip return : False--foreign import ccall "g_utf8_get_char" g_utf8_get_char :: - CString -> -- p : TBasicType TUTF8- IO CInt---utf8GetChar ::- (MonadIO m) =>- T.Text -- p- -> m Char -- result-utf8GetChar p = liftIO $ do- p' <- textToCString p- result <- g_utf8_get_char p'- let result' = (chr . fromIntegral) result- freeMem p'- return result'----- function g_utf8_find_prev_char--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "p", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_utf8_find_prev_char" g_utf8_find_prev_char :: - CString -> -- str : TBasicType TUTF8- CString -> -- p : TBasicType TUTF8- IO CString---utf8FindPrevChar ::- (MonadIO m) =>- T.Text -- str- -> T.Text -- p- -> m T.Text -- result-utf8FindPrevChar str p = liftIO $ do- str' <- textToCString str- p' <- textToCString p- result <- g_utf8_find_prev_char str' p'- checkUnexpectedReturnNULL "g_utf8_find_prev_char" result- result' <- cstringToText result- freeMem result- freeMem str'- freeMem p'- return result'----- function g_utf8_find_next_char--- Args : [Arg {argCName = "p", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "end", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_utf8_find_next_char" g_utf8_find_next_char :: - CString -> -- p : TBasicType TUTF8- CString -> -- end : TBasicType TUTF8- IO CString---utf8FindNextChar ::- (MonadIO m) =>- T.Text -- p- -> T.Text -- end- -> m T.Text -- result-utf8FindNextChar p end = liftIO $ do- p' <- textToCString p- end' <- textToCString end- result <- g_utf8_find_next_char p' end'- checkUnexpectedReturnNULL "g_utf8_find_next_char" result- result' <- cstringToText result- freeMem result- freeMem p'- freeMem end'- return result'----- function g_utf8_collate_key_for_filename--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_utf8_collate_key_for_filename" g_utf8_collate_key_for_filename :: - CString -> -- str : TBasicType TUTF8- Int64 -> -- len : TBasicType TInt64- IO CString---utf8CollateKeyForFilename ::- (MonadIO m) =>- T.Text -- str- -> Int64 -- len- -> m T.Text -- result-utf8CollateKeyForFilename str len = liftIO $ do- str' <- textToCString str- result <- g_utf8_collate_key_for_filename str' len- checkUnexpectedReturnNULL "g_utf8_collate_key_for_filename" result- result' <- cstringToText result- freeMem result- freeMem str'- return result'----- function g_utf8_collate_key--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_utf8_collate_key" g_utf8_collate_key :: - CString -> -- str : TBasicType TUTF8- Int64 -> -- len : TBasicType TInt64- IO CString---utf8CollateKey ::- (MonadIO m) =>- T.Text -- str- -> Int64 -- len- -> m T.Text -- result-utf8CollateKey str len = liftIO $ do- str' <- textToCString str- result <- g_utf8_collate_key str' len- checkUnexpectedReturnNULL "g_utf8_collate_key" result- result' <- cstringToText result- freeMem result- freeMem str'- return result'----- function g_utf8_collate--- Args : [Arg {argCName = "str1", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "str2", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_utf8_collate" g_utf8_collate :: - CString -> -- str1 : TBasicType TUTF8- CString -> -- str2 : TBasicType TUTF8- IO Int32---utf8Collate ::- (MonadIO m) =>- T.Text -- str1- -> T.Text -- str2- -> m Int32 -- result-utf8Collate str1 str2 = liftIO $ do- str1' <- textToCString str1- str2' <- textToCString str2- result <- g_utf8_collate str1' str2'- freeMem str1'- freeMem str2'- return result----- function g_utf8_casefold--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_utf8_casefold" g_utf8_casefold :: - CString -> -- str : TBasicType TUTF8- Int64 -> -- len : TBasicType TInt64- IO CString---utf8Casefold ::- (MonadIO m) =>- T.Text -- str- -> Int64 -- len- -> m T.Text -- result-utf8Casefold str len = liftIO $ do- str' <- textToCString str- result <- g_utf8_casefold str' len- checkUnexpectedReturnNULL "g_utf8_casefold" result- result' <- cstringToText result- freeMem result- freeMem str'- return result'----- function g_usleep--- Args : [Arg {argCName = "microseconds", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_usleep" g_usleep :: - Word64 -> -- microseconds : TBasicType TUInt64- IO ()---usleep ::- (MonadIO m) =>- Word64 -- microseconds- -> m () -- result-usleep microseconds = liftIO $ do- g_usleep microseconds- return ()----- function g_uri_unescape_string--- Args : [Arg {argCName = "escaped_string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "illegal_characters", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_uri_unescape_string" g_uri_unescape_string :: - CString -> -- escaped_string : TBasicType TUTF8- CString -> -- illegal_characters : TBasicType TUTF8- IO CString---uriUnescapeString ::- (MonadIO m) =>- T.Text -- escapedString- -> Maybe (T.Text) -- illegalCharacters- -> m T.Text -- result-uriUnescapeString escapedString illegalCharacters = liftIO $ do- escapedString' <- textToCString escapedString- maybeIllegalCharacters <- case illegalCharacters of- Nothing -> return nullPtr- Just jIllegalCharacters -> do- jIllegalCharacters' <- textToCString jIllegalCharacters- return jIllegalCharacters'- result <- g_uri_unescape_string escapedString' maybeIllegalCharacters- checkUnexpectedReturnNULL "g_uri_unescape_string" result- result' <- cstringToText result- freeMem result- freeMem escapedString'- freeMem maybeIllegalCharacters- return result'----- function g_uri_unescape_segment--- Args : [Arg {argCName = "escaped_string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "escaped_string_end", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "illegal_characters", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_uri_unescape_segment" g_uri_unescape_segment :: - CString -> -- escaped_string : TBasicType TUTF8- CString -> -- escaped_string_end : TBasicType TUTF8- CString -> -- illegal_characters : TBasicType TUTF8- IO CString---uriUnescapeSegment ::- (MonadIO m) =>- Maybe (T.Text) -- escapedString- -> Maybe (T.Text) -- escapedStringEnd- -> Maybe (T.Text) -- illegalCharacters- -> m T.Text -- result-uriUnescapeSegment escapedString escapedStringEnd illegalCharacters = liftIO $ do- maybeEscapedString <- case escapedString of- Nothing -> return nullPtr- Just jEscapedString -> do- jEscapedString' <- textToCString jEscapedString- return jEscapedString'- maybeEscapedStringEnd <- case escapedStringEnd of- Nothing -> return nullPtr- Just jEscapedStringEnd -> do- jEscapedStringEnd' <- textToCString jEscapedStringEnd- return jEscapedStringEnd'- maybeIllegalCharacters <- case illegalCharacters of- Nothing -> return nullPtr- Just jIllegalCharacters -> do- jIllegalCharacters' <- textToCString jIllegalCharacters- return jIllegalCharacters'- result <- g_uri_unescape_segment maybeEscapedString maybeEscapedStringEnd maybeIllegalCharacters- checkUnexpectedReturnNULL "g_uri_unescape_segment" result- result' <- cstringToText result- freeMem result- freeMem maybeEscapedString- freeMem maybeEscapedStringEnd- freeMem maybeIllegalCharacters- return result'----- function g_uri_parse_scheme--- Args : [Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_uri_parse_scheme" g_uri_parse_scheme :: - CString -> -- uri : TBasicType TUTF8- IO CString---uriParseScheme ::- (MonadIO m) =>- T.Text -- uri- -> m T.Text -- result-uriParseScheme uri = liftIO $ do- uri' <- textToCString uri- result <- g_uri_parse_scheme uri'- checkUnexpectedReturnNULL "g_uri_parse_scheme" result- result' <- cstringToText result- freeMem result- freeMem uri'- return result'----- function g_uri_list_extract_uris--- Args : [Arg {argCName = "uri_list", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TCArray True (-1) (-1) (TBasicType TUTF8)--- throws : False--- Skip return : False--foreign import ccall "g_uri_list_extract_uris" g_uri_list_extract_uris :: - CString -> -- uri_list : TBasicType TUTF8- IO (Ptr CString)---uriListExtractUris ::- (MonadIO m) =>- T.Text -- uriList- -> m [T.Text] -- result-uriListExtractUris uriList = liftIO $ do- uriList' <- textToCString uriList- result <- g_uri_list_extract_uris uriList'- checkUnexpectedReturnNULL "g_uri_list_extract_uris" result- result' <- unpackZeroTerminatedUTF8CArray result- mapZeroTerminatedCArray freeMem result- freeMem result- freeMem uriList'- return result'----- function g_uri_escape_string--- Args : [Arg {argCName = "unescaped", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "reserved_chars_allowed", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "allow_utf8", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_uri_escape_string" g_uri_escape_string :: - CString -> -- unescaped : TBasicType TUTF8- CString -> -- reserved_chars_allowed : TBasicType TUTF8- CInt -> -- allow_utf8 : TBasicType TBoolean- IO CString---uriEscapeString ::- (MonadIO m) =>- T.Text -- unescaped- -> Maybe (T.Text) -- reservedCharsAllowed- -> Bool -- allowUtf8- -> m T.Text -- result-uriEscapeString unescaped reservedCharsAllowed allowUtf8 = liftIO $ do- unescaped' <- textToCString unescaped- maybeReservedCharsAllowed <- case reservedCharsAllowed of- Nothing -> return nullPtr- Just jReservedCharsAllowed -> do- jReservedCharsAllowed' <- textToCString jReservedCharsAllowed- return jReservedCharsAllowed'- let allowUtf8' = (fromIntegral . fromEnum) allowUtf8- result <- g_uri_escape_string unescaped' maybeReservedCharsAllowed allowUtf8'- checkUnexpectedReturnNULL "g_uri_escape_string" result- result' <- cstringToText result- freeMem result- freeMem unescaped'- freeMem maybeReservedCharsAllowed- return result'----- function g_unsetenv--- Args : [Arg {argCName = "variable", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_unsetenv" g_unsetenv :: - CString -> -- variable : TBasicType TUTF8- IO ()---unsetenv ::- (MonadIO m) =>- T.Text -- variable- -> m () -- result-unsetenv variable = liftIO $ do- variable' <- textToCString variable- g_unsetenv variable'- freeMem variable'- return ()----- function g_unlink--- Args : [Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_unlink" g_unlink :: - CString -> -- filename : TBasicType TUTF8- IO Int32---unlink ::- (MonadIO m) =>- T.Text -- filename- -> m Int32 -- result-unlink filename = liftIO $ do- filename' <- textToCString filename- result <- g_unlink filename'- freeMem filename'- return result----- function g_unix_signal_source_new--- Args : [Arg {argCName = "signum", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TInterface "GLib" "Source"--- throws : False--- Skip return : False--foreign import ccall "g_unix_signal_source_new" g_unix_signal_source_new :: - Int32 -> -- signum : TBasicType TInt32- IO (Ptr Source)---unixSignalSourceNew ::- (MonadIO m) =>- Int32 -- signum- -> m Source -- result-unixSignalSourceNew signum = liftIO $ do- result <- g_unix_signal_source_new signum- checkUnexpectedReturnNULL "g_unix_signal_source_new" result- result' <- (wrapBoxed Source) result- return result'----- function g_unix_signal_add_full--- Args : [Arg {argCName = "priority", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "signum", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "handler", argType = TInterface "GLib" "SourceFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeNotified, argClosure = 3, argDestroy = 4, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_unix_signal_add_full" g_unix_signal_add_full :: - Int32 -> -- priority : TBasicType TInt32- Int32 -> -- signum : TBasicType TInt32- FunPtr SourceFuncC -> -- handler : TInterface "GLib" "SourceFunc"- Ptr () -> -- user_data : TBasicType TVoid- FunPtr DestroyNotifyC -> -- notify : TInterface "GLib" "DestroyNotify"- IO Word32---unixSignalAdd ::- (MonadIO m) =>- Int32 -- priority- -> Int32 -- signum- -> SourceFunc -- handler- -> m Word32 -- result-unixSignalAdd priority signum handler = liftIO $ do- handler' <- mkSourceFunc (sourceFuncWrapper Nothing handler)- let userData = castFunPtrToPtr handler'- let notify = safeFreeFunPtrPtr- result <- g_unix_signal_add_full priority signum handler' userData notify- return result----- function g_unix_set_fd_nonblocking--- Args : [Arg {argCName = "fd", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "nonblock", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : True--- Skip return : False--foreign import ccall "g_unix_set_fd_nonblocking" g_unix_set_fd_nonblocking :: - Int32 -> -- fd : TBasicType TInt32- CInt -> -- nonblock : TBasicType TBoolean- Ptr (Ptr GError) -> -- error- IO CInt---unixSetFdNonblocking ::- (MonadIO m) =>- Int32 -- fd- -> Bool -- nonblock- -> m () -- result-unixSetFdNonblocking fd nonblock = liftIO $ do- let nonblock' = (fromIntegral . fromEnum) nonblock- onException (do- _ <- propagateGError $ g_unix_set_fd_nonblocking fd nonblock'- return ()- ) (do- return ()- )----- function g_unix_open_pipe--- Args : [Arg {argCName = "fds", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : True--- Skip return : False--foreign import ccall "g_unix_open_pipe" g_unix_open_pipe :: - Int32 -> -- fds : TBasicType TInt32- Int32 -> -- flags : TBasicType TInt32- Ptr (Ptr GError) -> -- error- IO CInt---unixOpenPipe ::- (MonadIO m) =>- Int32 -- fds- -> Int32 -- flags- -> m () -- result-unixOpenPipe fds flags = liftIO $ do- onException (do- _ <- propagateGError $ g_unix_open_pipe fds flags- return ()- ) (do- return ()- )----- function g_unix_fd_source_new--- Args : [Arg {argCName = "fd", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "condition", argType = TInterface "GLib" "IOCondition", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TInterface "GLib" "Source"--- throws : False--- Skip return : False--foreign import ccall "g_unix_fd_source_new" g_unix_fd_source_new :: - Int32 -> -- fd : TBasicType TInt32- CUInt -> -- condition : TInterface "GLib" "IOCondition"- IO (Ptr Source)---unixFdSourceNew ::- (MonadIO m) =>- Int32 -- fd- -> [IOCondition] -- condition- -> m Source -- result-unixFdSourceNew fd condition = liftIO $ do- let condition' = gflagsToWord condition- result <- g_unix_fd_source_new fd condition'- checkUnexpectedReturnNULL "g_unix_fd_source_new" result- result' <- (wrapBoxed Source) result- return result'----- function g_unix_fd_add_full--- Args : [Arg {argCName = "priority", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "fd", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "condition", argType = TInterface "GLib" "IOCondition", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "function", argType = TInterface "GLib" "UnixFDSourceFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeNotified, argClosure = 4, argDestroy = 5, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_unix_fd_add_full" g_unix_fd_add_full :: - Int32 -> -- priority : TBasicType TInt32- Int32 -> -- fd : TBasicType TInt32- CUInt -> -- condition : TInterface "GLib" "IOCondition"- FunPtr UnixFDSourceFuncC -> -- function : TInterface "GLib" "UnixFDSourceFunc"- Ptr () -> -- user_data : TBasicType TVoid- FunPtr DestroyNotifyC -> -- notify : TInterface "GLib" "DestroyNotify"- IO Word32---unixFdAddFull ::- (MonadIO m) =>- Int32 -- priority- -> Int32 -- fd- -> [IOCondition] -- condition- -> UnixFDSourceFunc -- function- -> m Word32 -- result-unixFdAddFull priority fd condition function = liftIO $ do- let condition' = gflagsToWord condition- function' <- mkUnixFDSourceFunc (unixFDSourceFuncWrapper Nothing function)- let userData = castFunPtrToPtr function'- let notify = safeFreeFunPtrPtr- result <- g_unix_fd_add_full priority fd condition' function' userData notify- return result----- function g_unix_error_quark--- Args : []--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_unix_error_quark" g_unix_error_quark :: - IO Word32---unixErrorQuark ::- (MonadIO m) =>- m Word32 -- result-unixErrorQuark = liftIO $ do- result <- g_unix_error_quark- return result----- function g_unicode_script_to_iso15924--- Args : [Arg {argCName = "script", argType = TInterface "GLib" "UnicodeScript", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_unicode_script_to_iso15924" g_unicode_script_to_iso15924 :: - CUInt -> -- script : TInterface "GLib" "UnicodeScript"- IO Word32---unicodeScriptToIso15924 ::- (MonadIO m) =>- UnicodeScript -- script- -> m Word32 -- result-unicodeScriptToIso15924 script = liftIO $ do- let script' = (fromIntegral . fromEnum) script- result <- g_unicode_script_to_iso15924 script'- return result----- function g_unicode_script_from_iso15924--- Args : [Arg {argCName = "iso15924", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TInterface "GLib" "UnicodeScript"--- throws : False--- Skip return : False--foreign import ccall "g_unicode_script_from_iso15924" g_unicode_script_from_iso15924 :: - Word32 -> -- iso15924 : TBasicType TUInt32- IO CUInt---unicodeScriptFromIso15924 ::- (MonadIO m) =>- Word32 -- iso15924- -> m UnicodeScript -- result-unicodeScriptFromIso15924 iso15924 = liftIO $ do- result <- g_unicode_script_from_iso15924 iso15924- let result' = (toEnum . fromIntegral) result- return result'----- function g_unicode_canonical_ordering--- Args : [Arg {argCName = "string", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_unicode_canonical_ordering" g_unicode_canonical_ordering :: - CInt -> -- string : TBasicType TUniChar- Word64 -> -- len : TBasicType TUInt64- IO ()---unicodeCanonicalOrdering ::- (MonadIO m) =>- Char -- string- -> Word64 -- len- -> m () -- result-unicodeCanonicalOrdering string len = liftIO $ do- let string' = (fromIntegral . ord) string- g_unicode_canonical_ordering string' len- return ()----- function g_unicode_canonical_decomposition--- Args : [Arg {argCName = "ch", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "result_len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUniChar--- throws : False--- Skip return : False--foreign import ccall "g_unicode_canonical_decomposition" g_unicode_canonical_decomposition :: - CInt -> -- ch : TBasicType TUniChar- Word64 -> -- result_len : TBasicType TUInt64- IO CInt--{-# DEPRECATED unicodeCanonicalDecomposition ["(Since version 2.30)","Use the more flexible g_unichar_fully_decompose()"," instead."]#-}-unicodeCanonicalDecomposition ::- (MonadIO m) =>- Char -- ch- -> Word64 -- resultLen- -> m Char -- result-unicodeCanonicalDecomposition ch resultLen = liftIO $ do- let ch' = (fromIntegral . ord) ch- result <- g_unicode_canonical_decomposition ch' resultLen- let result' = (chr . fromIntegral) result- return result'----- function g_unichar_xdigit_value--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_unichar_xdigit_value" g_unichar_xdigit_value :: - CInt -> -- c : TBasicType TUniChar- IO Int32---unicharXdigitValue ::- (MonadIO m) =>- Char -- c- -> m Int32 -- result-unicharXdigitValue c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_xdigit_value c'- return result----- function g_unichar_validate--- Args : [Arg {argCName = "ch", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_validate" g_unichar_validate :: - CInt -> -- ch : TBasicType TUniChar- IO CInt---unicharValidate ::- (MonadIO m) =>- Char -- ch- -> m Bool -- result-unicharValidate ch = liftIO $ do- let ch' = (fromIntegral . ord) ch- result <- g_unichar_validate ch'- let result' = (/= 0) result- return result'----- function g_unichar_type--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TInterface "GLib" "UnicodeType"--- throws : False--- Skip return : False--foreign import ccall "g_unichar_type" g_unichar_type :: - CInt -> -- c : TBasicType TUniChar- IO CUInt---unicharType ::- (MonadIO m) =>- Char -- c- -> m UnicodeType -- result-unicharType c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_type c'- let result' = (toEnum . fromIntegral) result- return result'----- function g_unichar_toupper--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUniChar--- throws : False--- Skip return : False--foreign import ccall "g_unichar_toupper" g_unichar_toupper :: - CInt -> -- c : TBasicType TUniChar- IO CInt---unicharToupper ::- (MonadIO m) =>- Char -- c- -> m Char -- result-unicharToupper c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_toupper c'- let result' = (chr . fromIntegral) result- return result'----- function g_unichar_totitle--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUniChar--- throws : False--- Skip return : False--foreign import ccall "g_unichar_totitle" g_unichar_totitle :: - CInt -> -- c : TBasicType TUniChar- IO CInt---unicharTotitle ::- (MonadIO m) =>- Char -- c- -> m Char -- result-unicharTotitle c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_totitle c'- let result' = (chr . fromIntegral) result- return result'----- function g_unichar_tolower--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUniChar--- throws : False--- Skip return : False--foreign import ccall "g_unichar_tolower" g_unichar_tolower :: - CInt -> -- c : TBasicType TUniChar- IO CInt---unicharTolower ::- (MonadIO m) =>- Char -- c- -> m Char -- result-unicharTolower c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_tolower c'- let result' = (chr . fromIntegral) result- return result'----- function g_unichar_to_utf8--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "outbuf", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_unichar_to_utf8" g_unichar_to_utf8 :: - CInt -> -- c : TBasicType TUniChar- CString -> -- outbuf : TBasicType TUTF8- IO Int32---unicharToUtf8 ::- (MonadIO m) =>- Char -- c- -> T.Text -- outbuf- -> m Int32 -- result-unicharToUtf8 c outbuf = liftIO $ do- let c' = (fromIntegral . ord) c- outbuf' <- textToCString outbuf- result <- g_unichar_to_utf8 c' outbuf'- freeMem outbuf'- return result----- function g_unichar_iszerowidth--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_iszerowidth" g_unichar_iszerowidth :: - CInt -> -- c : TBasicType TUniChar- IO CInt---unicharIszerowidth ::- (MonadIO m) =>- Char -- c- -> m Bool -- result-unicharIszerowidth c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_iszerowidth c'- let result' = (/= 0) result- return result'----- function g_unichar_isxdigit--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_isxdigit" g_unichar_isxdigit :: - CInt -> -- c : TBasicType TUniChar- IO CInt---unicharIsxdigit ::- (MonadIO m) =>- Char -- c- -> m Bool -- result-unicharIsxdigit c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_isxdigit c'- let result' = (/= 0) result- return result'----- function g_unichar_iswide_cjk--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_iswide_cjk" g_unichar_iswide_cjk :: - CInt -> -- c : TBasicType TUniChar- IO CInt---unicharIswideCjk ::- (MonadIO m) =>- Char -- c- -> m Bool -- result-unicharIswideCjk c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_iswide_cjk c'- let result' = (/= 0) result- return result'----- function g_unichar_iswide--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_iswide" g_unichar_iswide :: - CInt -> -- c : TBasicType TUniChar- IO CInt---unicharIswide ::- (MonadIO m) =>- Char -- c- -> m Bool -- result-unicharIswide c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_iswide c'- let result' = (/= 0) result- return result'----- function g_unichar_isupper--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_isupper" g_unichar_isupper :: - CInt -> -- c : TBasicType TUniChar- IO CInt---unicharIsupper ::- (MonadIO m) =>- Char -- c- -> m Bool -- result-unicharIsupper c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_isupper c'- let result' = (/= 0) result- return result'----- function g_unichar_istitle--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_istitle" g_unichar_istitle :: - CInt -> -- c : TBasicType TUniChar- IO CInt---unicharIstitle ::- (MonadIO m) =>- Char -- c- -> m Bool -- result-unicharIstitle c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_istitle c'- let result' = (/= 0) result- return result'----- function g_unichar_isspace--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_isspace" g_unichar_isspace :: - CInt -> -- c : TBasicType TUniChar- IO CInt---unicharIsspace ::- (MonadIO m) =>- Char -- c- -> m Bool -- result-unicharIsspace c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_isspace c'- let result' = (/= 0) result- return result'----- function g_unichar_ispunct--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_ispunct" g_unichar_ispunct :: - CInt -> -- c : TBasicType TUniChar- IO CInt---unicharIspunct ::- (MonadIO m) =>- Char -- c- -> m Bool -- result-unicharIspunct c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_ispunct c'- let result' = (/= 0) result- return result'----- function g_unichar_isprint--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_isprint" g_unichar_isprint :: - CInt -> -- c : TBasicType TUniChar- IO CInt---unicharIsprint ::- (MonadIO m) =>- Char -- c- -> m Bool -- result-unicharIsprint c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_isprint c'- let result' = (/= 0) result- return result'----- function g_unichar_ismark--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_ismark" g_unichar_ismark :: - CInt -> -- c : TBasicType TUniChar- IO CInt---unicharIsmark ::- (MonadIO m) =>- Char -- c- -> m Bool -- result-unicharIsmark c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_ismark c'- let result' = (/= 0) result- return result'----- function g_unichar_islower--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_islower" g_unichar_islower :: - CInt -> -- c : TBasicType TUniChar- IO CInt---unicharIslower ::- (MonadIO m) =>- Char -- c- -> m Bool -- result-unicharIslower c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_islower c'- let result' = (/= 0) result- return result'----- function g_unichar_isgraph--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_isgraph" g_unichar_isgraph :: - CInt -> -- c : TBasicType TUniChar- IO CInt---unicharIsgraph ::- (MonadIO m) =>- Char -- c- -> m Bool -- result-unicharIsgraph c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_isgraph c'- let result' = (/= 0) result- return result'----- function g_unichar_isdigit--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_isdigit" g_unichar_isdigit :: - CInt -> -- c : TBasicType TUniChar- IO CInt---unicharIsdigit ::- (MonadIO m) =>- Char -- c- -> m Bool -- result-unicharIsdigit c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_isdigit c'- let result' = (/= 0) result- return result'----- function g_unichar_isdefined--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_isdefined" g_unichar_isdefined :: - CInt -> -- c : TBasicType TUniChar- IO CInt---unicharIsdefined ::- (MonadIO m) =>- Char -- c- -> m Bool -- result-unicharIsdefined c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_isdefined c'- let result' = (/= 0) result- return result'----- function g_unichar_iscntrl--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_iscntrl" g_unichar_iscntrl :: - CInt -> -- c : TBasicType TUniChar- IO CInt---unicharIscntrl ::- (MonadIO m) =>- Char -- c- -> m Bool -- result-unicharIscntrl c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_iscntrl c'- let result' = (/= 0) result- return result'----- function g_unichar_isalpha--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_isalpha" g_unichar_isalpha :: - CInt -> -- c : TBasicType TUniChar- IO CInt---unicharIsalpha ::- (MonadIO m) =>- Char -- c- -> m Bool -- result-unicharIsalpha c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_isalpha c'- let result' = (/= 0) result- return result'----- function g_unichar_isalnum--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_isalnum" g_unichar_isalnum :: - CInt -> -- c : TBasicType TUniChar- IO CInt---unicharIsalnum ::- (MonadIO m) =>- Char -- c- -> m Bool -- result-unicharIsalnum c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_isalnum c'- let result' = (/= 0) result- return result'----- function g_unichar_get_script--- Args : [Arg {argCName = "ch", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TInterface "GLib" "UnicodeScript"--- throws : False--- Skip return : False--foreign import ccall "g_unichar_get_script" g_unichar_get_script :: - CInt -> -- ch : TBasicType TUniChar- IO CUInt---unicharGetScript ::- (MonadIO m) =>- Char -- ch- -> m UnicodeScript -- result-unicharGetScript ch = liftIO $ do- let ch' = (fromIntegral . ord) ch- result <- g_unichar_get_script ch'- let result' = (toEnum . fromIntegral) result- return result'----- function g_unichar_get_mirror_char--- Args : [Arg {argCName = "ch", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mirrored_ch", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_get_mirror_char" g_unichar_get_mirror_char :: - CInt -> -- ch : TBasicType TUniChar- CInt -> -- mirrored_ch : TBasicType TUniChar- IO CInt---unicharGetMirrorChar ::- (MonadIO m) =>- Char -- ch- -> Char -- mirroredCh- -> m Bool -- result-unicharGetMirrorChar ch mirroredCh = liftIO $ do- let ch' = (fromIntegral . ord) ch- let mirroredCh' = (fromIntegral . ord) mirroredCh- result <- g_unichar_get_mirror_char ch' mirroredCh'- let result' = (/= 0) result- return result'----- function g_unichar_digit_value--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_unichar_digit_value" g_unichar_digit_value :: - CInt -> -- c : TBasicType TUniChar- IO Int32---unicharDigitValue ::- (MonadIO m) =>- Char -- c- -> m Int32 -- result-unicharDigitValue c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_digit_value c'- return result----- function g_unichar_decompose--- Args : [Arg {argCName = "ch", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "a", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "b", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_decompose" g_unichar_decompose :: - CInt -> -- ch : TBasicType TUniChar- CInt -> -- a : TBasicType TUniChar- CInt -> -- b : TBasicType TUniChar- IO CInt---unicharDecompose ::- (MonadIO m) =>- Char -- ch- -> Char -- a- -> Char -- b- -> m Bool -- result-unicharDecompose ch a b = liftIO $ do- let ch' = (fromIntegral . ord) ch- let a' = (fromIntegral . ord) a- let b' = (fromIntegral . ord) b- result <- g_unichar_decompose ch' a' b'- let result' = (/= 0) result- return result'----- function g_unichar_compose--- Args : [Arg {argCName = "a", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "b", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "ch", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_unichar_compose" g_unichar_compose :: - CInt -> -- a : TBasicType TUniChar- CInt -> -- b : TBasicType TUniChar- CInt -> -- ch : TBasicType TUniChar- IO CInt---unicharCompose ::- (MonadIO m) =>- Char -- a- -> Char -- b- -> Char -- ch- -> m Bool -- result-unicharCompose a b ch = liftIO $ do- let a' = (fromIntegral . ord) a- let b' = (fromIntegral . ord) b- let ch' = (fromIntegral . ord) ch- result <- g_unichar_compose a' b' ch'- let result' = (/= 0) result- return result'----- function g_unichar_combining_class--- Args : [Arg {argCName = "uc", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_unichar_combining_class" g_unichar_combining_class :: - CInt -> -- uc : TBasicType TUniChar- IO Int32---unicharCombiningClass ::- (MonadIO m) =>- Char -- uc- -> m Int32 -- result-unicharCombiningClass uc = liftIO $ do- let uc' = (fromIntegral . ord) uc- result <- g_unichar_combining_class uc'- return result----- function g_unichar_break_type--- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TInterface "GLib" "UnicodeBreakType"--- throws : False--- Skip return : False--foreign import ccall "g_unichar_break_type" g_unichar_break_type :: - CInt -> -- c : TBasicType TUniChar- IO CUInt---unicharBreakType ::- (MonadIO m) =>- Char -- c- -> m UnicodeBreakType -- result-unicharBreakType c = liftIO $ do- let c' = (fromIntegral . ord) c- result <- g_unichar_break_type c'- let result' = (toEnum . fromIntegral) result- return result'----- function g_timeout_source_new_seconds--- Args : [Arg {argCName = "interval", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TInterface "GLib" "Source"--- throws : False--- Skip return : False--foreign import ccall "g_timeout_source_new_seconds" g_timeout_source_new_seconds :: - Word32 -> -- interval : TBasicType TUInt32- IO (Ptr Source)---timeoutSourceNewSeconds ::- (MonadIO m) =>- Word32 -- interval- -> m Source -- result-timeoutSourceNewSeconds interval = liftIO $ do- result <- g_timeout_source_new_seconds interval- checkUnexpectedReturnNULL "g_timeout_source_new_seconds" result- result' <- (wrapBoxed Source) result- return result'----- function g_timeout_source_new--- Args : [Arg {argCName = "interval", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TInterface "GLib" "Source"--- throws : False--- Skip return : False--foreign import ccall "g_timeout_source_new" g_timeout_source_new :: - Word32 -> -- interval : TBasicType TUInt32- IO (Ptr Source)---timeoutSourceNew ::- (MonadIO m) =>- Word32 -- interval- -> m Source -- result-timeoutSourceNew interval = liftIO $ do- result <- g_timeout_source_new interval- checkUnexpectedReturnNULL "g_timeout_source_new" result- result' <- (wrapBoxed Source) result- return result'----- function g_timeout_add_seconds_full--- Args : [Arg {argCName = "priority", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "interval", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "function", argType = TInterface "GLib" "SourceFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeNotified, argClosure = 3, argDestroy = 4, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_timeout_add_seconds_full" g_timeout_add_seconds_full :: - Int32 -> -- priority : TBasicType TInt32- Word32 -> -- interval : TBasicType TUInt32- FunPtr SourceFuncC -> -- function : TInterface "GLib" "SourceFunc"- Ptr () -> -- data : TBasicType TVoid- FunPtr DestroyNotifyC -> -- notify : TInterface "GLib" "DestroyNotify"- IO Word32---timeoutAddSeconds ::- (MonadIO m) =>- Int32 -- priority- -> Word32 -- interval- -> SourceFunc -- function- -> m Word32 -- result-timeoutAddSeconds priority interval function = liftIO $ do- function' <- mkSourceFunc (sourceFuncWrapper Nothing function)- let data_ = castFunPtrToPtr function'- let notify = safeFreeFunPtrPtr- result <- g_timeout_add_seconds_full priority interval function' data_ notify- return result----- function g_timeout_add_full--- Args : [Arg {argCName = "priority", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "interval", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "function", argType = TInterface "GLib" "SourceFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeNotified, argClosure = 3, argDestroy = 4, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_timeout_add_full" g_timeout_add_full :: - Int32 -> -- priority : TBasicType TInt32- Word32 -> -- interval : TBasicType TUInt32- FunPtr SourceFuncC -> -- function : TInterface "GLib" "SourceFunc"- Ptr () -> -- data : TBasicType TVoid- FunPtr DestroyNotifyC -> -- notify : TInterface "GLib" "DestroyNotify"- IO Word32---timeoutAdd ::- (MonadIO m) =>- Int32 -- priority- -> Word32 -- interval- -> SourceFunc -- function- -> m Word32 -- result-timeoutAdd priority interval function = liftIO $ do- function' <- mkSourceFunc (sourceFuncWrapper Nothing function)- let data_ = castFunPtrToPtr function'- let notify = safeFreeFunPtrPtr- result <- g_timeout_add_full priority interval function' data_ notify- return result----- function g_test_trap_subprocess--- Args : [Arg {argCName = "test_path", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "usec_timeout", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "test_flags", argType = TInterface "GLib" "TestSubprocessFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_test_trap_subprocess" g_test_trap_subprocess :: - CString -> -- test_path : TBasicType TUTF8- Word64 -> -- usec_timeout : TBasicType TUInt64- CUInt -> -- test_flags : TInterface "GLib" "TestSubprocessFlags"- IO ()---testTrapSubprocess ::- (MonadIO m) =>- Maybe (T.Text) -- testPath- -> Word64 -- usecTimeout- -> [TestSubprocessFlags] -- testFlags- -> m () -- result-testTrapSubprocess testPath usecTimeout testFlags = liftIO $ do- maybeTestPath <- case testPath of- Nothing -> return nullPtr- Just jTestPath -> do- jTestPath' <- textToCString jTestPath- return jTestPath'- let testFlags' = gflagsToWord testFlags- g_test_trap_subprocess maybeTestPath usecTimeout testFlags'- freeMem maybeTestPath- return ()----- function g_test_trap_reached_timeout--- Args : []--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_test_trap_reached_timeout" g_test_trap_reached_timeout :: - IO CInt---testTrapReachedTimeout ::- (MonadIO m) =>- m Bool -- result-testTrapReachedTimeout = liftIO $ do- result <- g_test_trap_reached_timeout- let result' = (/= 0) result- return result'----- function g_test_trap_has_passed--- Args : []--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_test_trap_has_passed" g_test_trap_has_passed :: - IO CInt---testTrapHasPassed ::- (MonadIO m) =>- m Bool -- result-testTrapHasPassed = liftIO $ do- result <- g_test_trap_has_passed- let result' = (/= 0) result- return result'----- function g_test_trap_fork--- Args : [Arg {argCName = "usec_timeout", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "test_trap_flags", argType = TInterface "GLib" "TestTrapFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_test_trap_fork" g_test_trap_fork :: - Word64 -> -- usec_timeout : TBasicType TUInt64- CUInt -> -- test_trap_flags : TInterface "GLib" "TestTrapFlags"- IO CInt--{-# DEPRECATED testTrapFork ["This function is implemented only on Unix platforms,","and is not always reliable due to problems inherent in","fork-without-exec. Use g_test_trap_subprocess() instead."]#-}-testTrapFork ::- (MonadIO m) =>- Word64 -- usecTimeout- -> [TestTrapFlags] -- testTrapFlags- -> m Bool -- result-testTrapFork usecTimeout testTrapFlags = liftIO $ do- let testTrapFlags' = gflagsToWord testTrapFlags- result <- g_test_trap_fork usecTimeout testTrapFlags'- let result' = (/= 0) result- return result'----- function g_test_trap_assertions--- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "file", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "line", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "assertion_flags", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pattern", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_test_trap_assertions" g_test_trap_assertions :: - CString -> -- domain : TBasicType TUTF8- CString -> -- file : TBasicType TUTF8- Int32 -> -- line : TBasicType TInt32- CString -> -- func : TBasicType TUTF8- Word64 -> -- assertion_flags : TBasicType TUInt64- CString -> -- pattern : TBasicType TUTF8- IO ()---testTrapAssertions ::- (MonadIO m) =>- T.Text -- domain- -> T.Text -- file- -> Int32 -- line- -> T.Text -- func- -> Word64 -- assertionFlags- -> T.Text -- pattern- -> m () -- result-testTrapAssertions domain file line func assertionFlags pattern = liftIO $ do- domain' <- textToCString domain- file' <- textToCString file- func' <- textToCString func- pattern' <- textToCString pattern- g_test_trap_assertions domain' file' line func' assertionFlags pattern'- freeMem domain'- freeMem file'- freeMem func'- freeMem pattern'- return ()----- function g_test_timer_start--- Args : []--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_test_timer_start" g_test_timer_start :: - IO ()---testTimerStart ::- (MonadIO m) =>- m () -- result-testTimerStart = liftIO $ do- g_test_timer_start- return ()----- function g_test_timer_last--- Args : []--- Lengths : []--- returnType : TBasicType TDouble--- throws : False--- Skip return : False--foreign import ccall "g_test_timer_last" g_test_timer_last :: - IO CDouble---testTimerLast ::- (MonadIO m) =>- m Double -- result-testTimerLast = liftIO $ do- result <- g_test_timer_last- let result' = realToFrac result- return result'----- function g_test_timer_elapsed--- Args : []--- Lengths : []--- returnType : TBasicType TDouble--- throws : False--- Skip return : False--foreign import ccall "g_test_timer_elapsed" g_test_timer_elapsed :: - IO CDouble---testTimerElapsed ::- (MonadIO m) =>- m Double -- result-testTimerElapsed = liftIO $ do- result <- g_test_timer_elapsed- let result' = realToFrac result- return result'----- function g_test_subprocess--- Args : []--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_test_subprocess" g_test_subprocess :: - IO CInt---testSubprocess ::- (MonadIO m) =>- m Bool -- result-testSubprocess = liftIO $ do- result <- g_test_subprocess- let result' = (/= 0) result- return result'----- function g_test_skip--- Args : [Arg {argCName = "msg", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_test_skip" g_test_skip :: - CString -> -- msg : TBasicType TUTF8- IO ()---testSkip ::- (MonadIO m) =>- Maybe (T.Text) -- msg- -> m () -- result-testSkip msg = liftIO $ do- maybeMsg <- case msg of- Nothing -> return nullPtr- Just jMsg -> do- jMsg' <- textToCString jMsg- return jMsg'- g_test_skip maybeMsg- freeMem maybeMsg- return ()----- function g_test_set_nonfatal_assertions--- Args : []--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_test_set_nonfatal_assertions" g_test_set_nonfatal_assertions :: - IO ()---testSetNonfatalAssertions ::- (MonadIO m) =>- m () -- result-testSetNonfatalAssertions = liftIO $ do- g_test_set_nonfatal_assertions- return ()----- function g_test_run_suite--- Args : [Arg {argCName = "suite", argType = TInterface "GLib" "TestSuite", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_test_run_suite" g_test_run_suite :: - Ptr TestSuite -> -- suite : TInterface "GLib" "TestSuite"- IO Int32---testRunSuite ::- (MonadIO m) =>- TestSuite -- suite- -> m Int32 -- result-testRunSuite suite = liftIO $ do- let suite' = unsafeManagedPtrGetPtr suite- result <- g_test_run_suite suite'- touchManagedPtr suite- return result----- function g_test_run--- Args : []--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_test_run" g_test_run :: - IO Int32---testRun ::- (MonadIO m) =>- m Int32 -- result-testRun = liftIO $ do- result <- g_test_run- return result----- function g_test_rand_int_range--- Args : [Arg {argCName = "begin", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "end", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_test_rand_int_range" g_test_rand_int_range :: - Int32 -> -- begin : TBasicType TInt32- Int32 -> -- end : TBasicType TInt32- IO Int32---testRandIntRange ::- (MonadIO m) =>- Int32 -- begin- -> Int32 -- end- -> m Int32 -- result-testRandIntRange begin end = liftIO $ do- result <- g_test_rand_int_range begin end- return result----- function g_test_rand_int--- Args : []--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_test_rand_int" g_test_rand_int :: - IO Int32---testRandInt ::- (MonadIO m) =>- m Int32 -- result-testRandInt = liftIO $ do- result <- g_test_rand_int- return result----- function g_test_rand_double_range--- Args : [Arg {argCName = "range_start", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "range_end", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TDouble--- throws : False--- Skip return : False--foreign import ccall "g_test_rand_double_range" g_test_rand_double_range :: - CDouble -> -- range_start : TBasicType TDouble- CDouble -> -- range_end : TBasicType TDouble- IO CDouble---testRandDoubleRange ::- (MonadIO m) =>- Double -- rangeStart- -> Double -- rangeEnd- -> m Double -- result-testRandDoubleRange rangeStart rangeEnd = liftIO $ do- let rangeStart' = realToFrac rangeStart- let rangeEnd' = realToFrac rangeEnd- result <- g_test_rand_double_range rangeStart' rangeEnd'- let result' = realToFrac result- return result'----- function g_test_rand_double--- Args : []--- Lengths : []--- returnType : TBasicType TDouble--- throws : False--- Skip return : False--foreign import ccall "g_test_rand_double" g_test_rand_double :: - IO CDouble---testRandDouble ::- (MonadIO m) =>- m Double -- result-testRandDouble = liftIO $ do- result <- g_test_rand_double- let result' = realToFrac result- return result'----- function g_test_queue_free--- Args : [Arg {argCName = "gfree_pointer", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_test_queue_free" g_test_queue_free :: - Ptr () -> -- gfree_pointer : TBasicType TVoid- IO ()---testQueueFree ::- (MonadIO m) =>- Ptr () -- gfreePointer- -> m () -- result-testQueueFree gfreePointer = liftIO $ do- g_test_queue_free gfreePointer- return ()----- function g_test_queue_destroy--- Args : [Arg {argCName = "destroy_func", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "destroy_data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_test_queue_destroy" g_test_queue_destroy :: - FunPtr DestroyNotifyC -> -- destroy_func : TInterface "GLib" "DestroyNotify"- Ptr () -> -- destroy_data : TBasicType TVoid- IO ()---testQueueDestroy ::- (MonadIO m) =>- DestroyNotify -- destroyFunc- -> Ptr () -- destroyData- -> m () -- result-testQueueDestroy destroyFunc destroyData = liftIO $ do- ptrdestroyFunc <- callocMem :: IO (Ptr (FunPtr DestroyNotifyC))- destroyFunc' <- mkDestroyNotify (destroyNotifyWrapper (Just ptrdestroyFunc) destroyFunc)- poke ptrdestroyFunc destroyFunc'- g_test_queue_destroy destroyFunc' destroyData- return ()----- function g_test_log_type_name--- Args : [Arg {argCName = "log_type", argType = TInterface "GLib" "TestLogType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_test_log_type_name" g_test_log_type_name :: - CUInt -> -- log_type : TInterface "GLib" "TestLogType"- IO CString---testLogTypeName ::- (MonadIO m) =>- TestLogType -- logType- -> m T.Text -- result-testLogTypeName logType = liftIO $ do- let logType' = (fromIntegral . fromEnum) logType- result <- g_test_log_type_name logType'- checkUnexpectedReturnNULL "g_test_log_type_name" result- result' <- cstringToText result- return result'----- function g_test_incomplete--- Args : [Arg {argCName = "msg", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_test_incomplete" g_test_incomplete :: - CString -> -- msg : TBasicType TUTF8- IO ()---testIncomplete ::- (MonadIO m) =>- Maybe (T.Text) -- msg- -> m () -- result-testIncomplete msg = liftIO $ do- maybeMsg <- case msg of- Nothing -> return nullPtr- Just jMsg -> do- jMsg' <- textToCString jMsg- return jMsg'- g_test_incomplete maybeMsg- freeMem maybeMsg- return ()----- function g_test_get_dir--- Args : [Arg {argCName = "file_type", argType = TInterface "GLib" "TestFileType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_test_get_dir" g_test_get_dir :: - CUInt -> -- file_type : TInterface "GLib" "TestFileType"- IO CString---testGetDir ::- (MonadIO m) =>- TestFileType -- fileType- -> m T.Text -- result-testGetDir fileType = liftIO $ do- let fileType' = (fromIntegral . fromEnum) fileType- result <- g_test_get_dir fileType'- checkUnexpectedReturnNULL "g_test_get_dir" result- result' <- cstringToText result- return result'----- function g_test_failed--- Args : []--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_test_failed" g_test_failed :: - IO CInt---testFailed ::- (MonadIO m) =>- m Bool -- result-testFailed = liftIO $ do- result <- g_test_failed- let result' = (/= 0) result- return result'----- function g_test_fail--- Args : []--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_test_fail" g_test_fail :: - IO ()---testFail ::- (MonadIO m) =>- m () -- result-testFail = liftIO $ do- g_test_fail- return ()----- function g_test_expect_message--- Args : [Arg {argCName = "log_domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "log_level", argType = TInterface "GLib" "LogLevelFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pattern", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_test_expect_message" g_test_expect_message :: - CString -> -- log_domain : TBasicType TUTF8- CUInt -> -- log_level : TInterface "GLib" "LogLevelFlags"- CString -> -- pattern : TBasicType TUTF8- IO ()---testExpectMessage ::- (MonadIO m) =>- Maybe (T.Text) -- logDomain- -> [LogLevelFlags] -- logLevel- -> T.Text -- pattern- -> m () -- result-testExpectMessage logDomain logLevel pattern = liftIO $ do- maybeLogDomain <- case logDomain of- Nothing -> return nullPtr- Just jLogDomain -> do- jLogDomain' <- textToCString jLogDomain- return jLogDomain'- let logLevel' = gflagsToWord logLevel- pattern' <- textToCString pattern- g_test_expect_message maybeLogDomain logLevel' pattern'- freeMem maybeLogDomain- freeMem pattern'- return ()----- function g_test_bug_base--- Args : [Arg {argCName = "uri_pattern", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_test_bug_base" g_test_bug_base :: - CString -> -- uri_pattern : TBasicType TUTF8- IO ()---testBugBase ::- (MonadIO m) =>- T.Text -- uriPattern- -> m () -- result-testBugBase uriPattern = liftIO $ do- uriPattern' <- textToCString uriPattern- g_test_bug_base uriPattern'- freeMem uriPattern'- return ()----- function g_test_bug--- Args : [Arg {argCName = "bug_uri_snippet", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_test_bug" g_test_bug :: - CString -> -- bug_uri_snippet : TBasicType TUTF8- IO ()---testBug ::- (MonadIO m) =>- T.Text -- bugUriSnippet- -> m () -- result-testBug bugUriSnippet = liftIO $ do- bugUriSnippet' <- textToCString bugUriSnippet- g_test_bug bugUriSnippet'- freeMem bugUriSnippet'- return ()----- function g_test_assert_expected_messages_internal--- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "file", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "line", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_test_assert_expected_messages_internal" g_test_assert_expected_messages_internal :: - CString -> -- domain : TBasicType TUTF8- CString -> -- file : TBasicType TUTF8- Int32 -> -- line : TBasicType TInt32- CString -> -- func : TBasicType TUTF8- IO ()---testAssertExpectedMessagesInternal ::- (MonadIO m) =>- T.Text -- domain- -> T.Text -- file- -> Int32 -- line- -> T.Text -- func- -> m () -- result-testAssertExpectedMessagesInternal domain file line func = liftIO $ do- domain' <- textToCString domain- file' <- textToCString file- func' <- textToCString func- g_test_assert_expected_messages_internal domain' file' line func'- freeMem domain'- freeMem file'- freeMem func'- return ()----- function g_test_add_func--- Args : [Arg {argCName = "testpath", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "test_func", argType = TInterface "GLib" "TestFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_test_add_func" g_test_add_func :: - CString -> -- testpath : TBasicType TUTF8- FunPtr TestFuncC -> -- test_func : TInterface "GLib" "TestFunc"- IO ()---testAddFunc ::- (MonadIO m) =>- T.Text -- testpath- -> TestFunc -- testFunc- -> m () -- result-testAddFunc testpath testFunc = liftIO $ do- testpath' <- textToCString testpath- ptrtestFunc <- callocMem :: IO (Ptr (FunPtr TestFuncC))- testFunc' <- mkTestFunc (testFuncWrapper (Just ptrtestFunc) testFunc)- poke ptrtestFunc testFunc'- g_test_add_func testpath' testFunc'- freeMem testpath'- return ()----- function g_test_add_data_func--- Args : [Arg {argCName = "testpath", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "test_data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "test_func", argType = TInterface "GLib" "TestDataFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_test_add_data_func" g_test_add_data_func :: - CString -> -- testpath : TBasicType TUTF8- Ptr () -> -- test_data : TBasicType TVoid- FunPtr TestDataFuncC -> -- test_func : TInterface "GLib" "TestDataFunc"- IO ()---testAddDataFunc ::- (MonadIO m) =>- T.Text -- testpath- -> Ptr () -- testData- -> TestDataFunc -- testFunc- -> m () -- result-testAddDataFunc testpath testData testFunc = liftIO $ do- testpath' <- textToCString testpath- ptrtestFunc <- callocMem :: IO (Ptr (FunPtr TestDataFuncC))- testFunc' <- mkTestDataFunc (testDataFuncWrapper (Just ptrtestFunc) testFunc)- poke ptrtestFunc testFunc'- g_test_add_data_func testpath' testData testFunc'- freeMem testpath'- return ()----- function g_strv_length--- Args : [Arg {argCName = "str_array", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_strv_length" g_strv_length :: - CString -> -- str_array : TBasicType TUTF8- IO Word32---strvLength ::- (MonadIO m) =>- T.Text -- strArray- -> m Word32 -- result-strvLength strArray = liftIO $ do- strArray' <- textToCString strArray- result <- g_strv_length strArray'- freeMem strArray'- return result----- function g_strv_get_type--- Args : []--- Lengths : []--- returnType : TBasicType TGType--- throws : False--- Skip return : False--foreign import ccall "g_strv_get_type" g_strv_get_type :: - IO CGType---strvGetType ::- (MonadIO m) =>- m GType -- result-strvGetType = liftIO $ do- result <- g_strv_get_type- let result' = GType result- return result'----- function g_strv_contains--- Args : [Arg {argCName = "strv", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_strv_contains" g_strv_contains :: - CString -> -- strv : TBasicType TUTF8- CString -> -- str : TBasicType TUTF8- IO CInt---strvContains ::- (MonadIO m) =>- T.Text -- strv- -> T.Text -- str- -> m Bool -- result-strvContains strv str = liftIO $ do- strv' <- textToCString strv- str' <- textToCString str- result <- g_strv_contains strv' str'- let result' = (/= 0) result- freeMem strv'- freeMem str'- return result'----- function g_strup--- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_strup" g_strup :: - CString -> -- string : TBasicType TUTF8- IO CString--{-# DEPRECATED strup ["(Since version 2.2)","This function is totally broken for the reasons"," discussed in the g_strncasecmp() docs - use g_ascii_strup()"," or g_utf8_strup() instead."]#-}-strup ::- (MonadIO m) =>- T.Text -- string- -> m T.Text -- result-strup string = liftIO $ do- string' <- textToCString string- result <- g_strup string'- checkUnexpectedReturnNULL "g_strup" result- result' <- cstringToText result- freeMem result- freeMem string'- return result'----- function g_strtod--- Args : [Arg {argCName = "nptr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "endptr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TDouble--- throws : False--- Skip return : False--foreign import ccall "g_strtod" g_strtod :: - CString -> -- nptr : TBasicType TUTF8- CString -> -- endptr : TBasicType TUTF8- IO CDouble---strtod ::- (MonadIO m) =>- T.Text -- nptr- -> T.Text -- endptr- -> m Double -- result-strtod nptr endptr = liftIO $ do- nptr' <- textToCString nptr- endptr' <- textToCString endptr- result <- g_strtod nptr' endptr'- let result' = realToFrac result- freeMem nptr'- freeMem endptr'- return result'----- function g_strstr_len--- Args : [Arg {argCName = "haystack", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "haystack_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "needle", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_strstr_len" g_strstr_len :: - CString -> -- haystack : TBasicType TUTF8- Int64 -> -- haystack_len : TBasicType TInt64- CString -> -- needle : TBasicType TUTF8- IO CString---strstrLen ::- (MonadIO m) =>- T.Text -- haystack- -> Int64 -- haystackLen- -> T.Text -- needle- -> m T.Text -- result-strstrLen haystack haystackLen needle = liftIO $ do- haystack' <- textToCString haystack- needle' <- textToCString needle- result <- g_strstr_len haystack' haystackLen needle'- checkUnexpectedReturnNULL "g_strstr_len" result- result' <- cstringToText result- freeMem result- freeMem haystack'- freeMem needle'- return result'----- function g_strsignal--- Args : [Arg {argCName = "signum", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_strsignal" g_strsignal :: - Int32 -> -- signum : TBasicType TInt32- IO CString---strsignal ::- (MonadIO m) =>- Int32 -- signum- -> m T.Text -- result-strsignal signum = liftIO $ do- result <- g_strsignal signum- checkUnexpectedReturnNULL "g_strsignal" result- result' <- cstringToText result- return result'----- function g_strrstr_len--- Args : [Arg {argCName = "haystack", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "haystack_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "needle", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_strrstr_len" g_strrstr_len :: - CString -> -- haystack : TBasicType TUTF8- Int64 -> -- haystack_len : TBasicType TInt64- CString -> -- needle : TBasicType TUTF8- IO CString---strrstrLen ::- (MonadIO m) =>- T.Text -- haystack- -> Int64 -- haystackLen- -> T.Text -- needle- -> m T.Text -- result-strrstrLen haystack haystackLen needle = liftIO $ do- haystack' <- textToCString haystack- needle' <- textToCString needle- result <- g_strrstr_len haystack' haystackLen needle'- checkUnexpectedReturnNULL "g_strrstr_len" result- result' <- cstringToText result- freeMem result- freeMem haystack'- freeMem needle'- return result'----- function g_strrstr--- Args : [Arg {argCName = "haystack", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "needle", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_strrstr" g_strrstr :: - CString -> -- haystack : TBasicType TUTF8- CString -> -- needle : TBasicType TUTF8- IO CString---strrstr ::- (MonadIO m) =>- T.Text -- haystack- -> T.Text -- needle- -> m T.Text -- result-strrstr haystack needle = liftIO $ do- haystack' <- textToCString haystack- needle' <- textToCString needle- result <- g_strrstr haystack' needle'- checkUnexpectedReturnNULL "g_strrstr" result- result' <- cstringToText result- freeMem result- freeMem haystack'- freeMem needle'- return result'----- function g_strreverse--- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_strreverse" g_strreverse :: - CString -> -- string : TBasicType TUTF8- IO CString---strreverse ::- (MonadIO m) =>- T.Text -- string- -> m T.Text -- result-strreverse string = liftIO $ do- string' <- textToCString string- result <- g_strreverse string'- checkUnexpectedReturnNULL "g_strreverse" result- result' <- cstringToText result- freeMem result- freeMem string'- return result'----- function g_strnfill--- Args : [Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "fill_char", argType = TBasicType TInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_strnfill" g_strnfill :: - Word64 -> -- length : TBasicType TUInt64- Int8 -> -- fill_char : TBasicType TInt8- IO CString---strnfill ::- (MonadIO m) =>- Word64 -- length_- -> Int8 -- fillChar- -> m T.Text -- result-strnfill length_ fillChar = liftIO $ do- result <- g_strnfill length_ fillChar- checkUnexpectedReturnNULL "g_strnfill" result- result' <- cstringToText result- freeMem result- return result'----- function g_strndup--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_strndup" g_strndup :: - CString -> -- str : TBasicType TUTF8- Word64 -> -- n : TBasicType TUInt64- IO CString---strndup ::- (MonadIO m) =>- T.Text -- str- -> Word64 -- n- -> m T.Text -- result-strndup str n = liftIO $ do- str' <- textToCString str- result <- g_strndup str' n- checkUnexpectedReturnNULL "g_strndup" result- result' <- cstringToText result- freeMem result- freeMem str'- return result'----- function g_strncasecmp--- Args : [Arg {argCName = "s1", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "s2", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_strncasecmp" g_strncasecmp :: - CString -> -- s1 : TBasicType TUTF8- CString -> -- s2 : TBasicType TUTF8- Word32 -> -- n : TBasicType TUInt32- IO Int32--{-# DEPRECATED strncasecmp ["(Since version 2.2)","The problem with g_strncasecmp() is that it does"," the comparison by calling toupper()/tolower(). These functions"," are locale-specific and operate on single bytes. However, it is"," impossible to handle things correctly from an internationalization"," standpoint by operating on bytes, since characters may be multibyte."," Thus g_strncasecmp() is broken if your string is guaranteed to be"," ASCII, since it is locale-sensitive, and it's broken if your string"," is localized, since it doesn't work on many encodings at all,"," including UTF-8, EUC-JP, etc.",""," There are therefore two replacement techniques: g_ascii_strncasecmp(),"," which only works on ASCII and is not locale-sensitive, and"," g_utf8_casefold() followed by strcmp() on the resulting strings,"," which is good for case-insensitive sorting of UTF-8."]#-}-strncasecmp ::- (MonadIO m) =>- T.Text -- s1- -> T.Text -- s2- -> Word32 -- n- -> m Int32 -- result-strncasecmp s1 s2 n = liftIO $ do- s1' <- textToCString s1- s2' <- textToCString s2- result <- g_strncasecmp s1' s2' n- freeMem s1'- freeMem s2'- return result----- function g_strlcpy--- Args : [Arg {argCName = "dest", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "src", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "dest_size", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt64--- throws : False--- Skip return : False--foreign import ccall "g_strlcpy" g_strlcpy :: - CString -> -- dest : TBasicType TUTF8- CString -> -- src : TBasicType TUTF8- Word64 -> -- dest_size : TBasicType TUInt64- IO Word64---strlcpy ::- (MonadIO m) =>- T.Text -- dest- -> T.Text -- src- -> Word64 -- destSize- -> m Word64 -- result-strlcpy dest src destSize = liftIO $ do- dest' <- textToCString dest- src' <- textToCString src- result <- g_strlcpy dest' src' destSize- freeMem dest'- freeMem src'- return result----- function g_strlcat--- Args : [Arg {argCName = "dest", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "src", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "dest_size", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt64--- throws : False--- Skip return : False--foreign import ccall "g_strlcat" g_strlcat :: - CString -> -- dest : TBasicType TUTF8- CString -> -- src : TBasicType TUTF8- Word64 -> -- dest_size : TBasicType TUInt64- IO Word64---strlcat ::- (MonadIO m) =>- T.Text -- dest- -> T.Text -- src- -> Word64 -- destSize- -> m Word64 -- result-strlcat dest src destSize = liftIO $ do- dest' <- textToCString dest- src' <- textToCString src- result <- g_strlcat dest' src' destSize- freeMem dest'- freeMem src'- return result----- function g_strjoinv--- Args : [Arg {argCName = "separator", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "str_array", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_strjoinv" g_strjoinv :: - CString -> -- separator : TBasicType TUTF8- CString -> -- str_array : TBasicType TUTF8- IO CString---strjoinv ::- (MonadIO m) =>- Maybe (T.Text) -- separator- -> T.Text -- strArray- -> m T.Text -- result-strjoinv separator strArray = liftIO $ do- maybeSeparator <- case separator of- Nothing -> return nullPtr- Just jSeparator -> do- jSeparator' <- textToCString jSeparator- return jSeparator'- strArray' <- textToCString strArray- result <- g_strjoinv maybeSeparator strArray'- checkUnexpectedReturnNULL "g_strjoinv" result- result' <- cstringToText result- freeMem result- freeMem maybeSeparator- freeMem strArray'- return result'----- function g_strip_context--- Args : [Arg {argCName = "msgid", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "msgval", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_strip_context" g_strip_context :: - CString -> -- msgid : TBasicType TUTF8- CString -> -- msgval : TBasicType TUTF8- IO CString---stripContext ::- (MonadIO m) =>- T.Text -- msgid- -> T.Text -- msgval- -> m T.Text -- result-stripContext msgid msgval = liftIO $ do- msgid' <- textToCString msgid- msgval' <- textToCString msgval- result <- g_strip_context msgid' msgval'- checkUnexpectedReturnNULL "g_strip_context" result- result' <- cstringToText result- freeMem msgid'- freeMem msgval'- return result'----- function g_string_sized_new--- Args : [Arg {argCName = "dfl_size", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TInterface "GLib" "String"--- throws : False--- Skip return : False--foreign import ccall "g_string_sized_new" g_string_sized_new :: - Word64 -> -- dfl_size : TBasicType TUInt64- IO (Ptr String)---stringSizedNew ::- (MonadIO m) =>- Word64 -- dflSize- -> m String -- result-stringSizedNew dflSize = liftIO $ do- result <- g_string_sized_new dflSize- checkUnexpectedReturnNULL "g_string_sized_new" result- result' <- (wrapBoxed String) result- return result'----- function g_string_new_len--- Args : [Arg {argCName = "init", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TInterface "GLib" "String"--- throws : False--- Skip return : False--foreign import ccall "g_string_new_len" g_string_new_len :: - CString -> -- init : TBasicType TUTF8- Int64 -> -- len : TBasicType TInt64- IO (Ptr String)---stringNewLen ::- (MonadIO m) =>- T.Text -- init- -> Int64 -- len- -> m String -- result-stringNewLen init len = liftIO $ do- init' <- textToCString init- result <- g_string_new_len init' len- checkUnexpectedReturnNULL "g_string_new_len" result- result' <- (wrapBoxed String) result- freeMem init'- return result'----- function g_string_new--- Args : [Arg {argCName = "init", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TInterface "GLib" "String"--- throws : False--- Skip return : False--foreign import ccall "g_string_new" g_string_new :: - CString -> -- init : TBasicType TUTF8- IO (Ptr String)---stringNew ::- (MonadIO m) =>- Maybe (T.Text) -- init- -> m String -- result-stringNew init = liftIO $ do- maybeInit <- case init of- Nothing -> return nullPtr- Just jInit -> do- jInit' <- textToCString jInit- return jInit'- result <- g_string_new maybeInit- checkUnexpectedReturnNULL "g_string_new" result- result' <- (wrapBoxed String) result- freeMem maybeInit- return result'----- function g_strfreev--- Args : [Arg {argCName = "str_array", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_strfreev" g_strfreev :: - CString -> -- str_array : TBasicType TUTF8- IO ()---strfreev ::- (MonadIO m) =>- T.Text -- strArray- -> m () -- result-strfreev strArray = liftIO $ do- strArray' <- textToCString strArray- g_strfreev strArray'- freeMem strArray'- return ()----- function g_strescape--- Args : [Arg {argCName = "source", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "exceptions", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_strescape" g_strescape :: - CString -> -- source : TBasicType TUTF8- CString -> -- exceptions : TBasicType TUTF8- IO CString---strescape ::- (MonadIO m) =>- T.Text -- source- -> T.Text -- exceptions- -> m T.Text -- result-strescape source exceptions = liftIO $ do- source' <- textToCString source- exceptions' <- textToCString exceptions- result <- g_strescape source' exceptions'- checkUnexpectedReturnNULL "g_strescape" result- result' <- cstringToText result- freeMem result- freeMem source'- freeMem exceptions'- return result'----- function g_strerror--- Args : [Arg {argCName = "errnum", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_strerror" g_strerror :: - Int32 -> -- errnum : TBasicType TInt32- IO CString---strerror ::- (MonadIO m) =>- Int32 -- errnum- -> m T.Text -- result-strerror errnum = liftIO $ do- result <- g_strerror errnum- checkUnexpectedReturnNULL "g_strerror" result- result' <- cstringToText result- return result'----- function g_strdup--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_strdup" g_strdup :: - CString -> -- str : TBasicType TUTF8- IO CString---strdup ::- (MonadIO m) =>- T.Text -- str- -> m T.Text -- result-strdup str = liftIO $ do- str' <- textToCString str- result <- g_strdup str'- checkUnexpectedReturnNULL "g_strdup" result- result' <- cstringToText result- freeMem result- freeMem str'- return result'----- function g_strdown--- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_strdown" g_strdown :: - CString -> -- string : TBasicType TUTF8- IO CString--{-# DEPRECATED strdown ["(Since version 2.2)","This function is totally broken for the reasons discussed","in the g_strncasecmp() docs - use g_ascii_strdown() or g_utf8_strdown()","instead."]#-}-strdown ::- (MonadIO m) =>- T.Text -- string- -> m T.Text -- result-strdown string = liftIO $ do- string' <- textToCString string- result <- g_strdown string'- checkUnexpectedReturnNULL "g_strdown" result- result' <- cstringToText result- freeMem result- freeMem string'- return result'----- function g_strdelimit--- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "delimiters", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "new_delimiter", argType = TBasicType TInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_strdelimit" g_strdelimit :: - CString -> -- string : TBasicType TUTF8- CString -> -- delimiters : TBasicType TUTF8- Int8 -> -- new_delimiter : TBasicType TInt8- IO CString---strdelimit ::- (MonadIO m) =>- T.Text -- string- -> Maybe (T.Text) -- delimiters- -> Int8 -- newDelimiter- -> m T.Text -- result-strdelimit string delimiters newDelimiter = liftIO $ do- string' <- textToCString string- maybeDelimiters <- case delimiters of- Nothing -> return nullPtr- Just jDelimiters -> do- jDelimiters' <- textToCString jDelimiters- return jDelimiters'- result <- g_strdelimit string' maybeDelimiters newDelimiter- checkUnexpectedReturnNULL "g_strdelimit" result- result' <- cstringToText result- freeMem result- freeMem string'- freeMem maybeDelimiters- return result'----- function g_strcompress--- Args : [Arg {argCName = "source", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_strcompress" g_strcompress :: - CString -> -- source : TBasicType TUTF8- IO CString---strcompress ::- (MonadIO m) =>- T.Text -- source- -> m T.Text -- result-strcompress source = liftIO $ do- source' <- textToCString source- result <- g_strcompress source'- checkUnexpectedReturnNULL "g_strcompress" result- result' <- cstringToText result- freeMem result- freeMem source'- return result'----- function g_strcmp0--- Args : [Arg {argCName = "str1", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "str2", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_strcmp0" g_strcmp0 :: - CString -> -- str1 : TBasicType TUTF8- CString -> -- str2 : TBasicType TUTF8- IO Int32---strcmp0 ::- (MonadIO m) =>- Maybe (T.Text) -- str1- -> Maybe (T.Text) -- str2- -> m Int32 -- result-strcmp0 str1 str2 = liftIO $ do- maybeStr1 <- case str1 of- Nothing -> return nullPtr- Just jStr1 -> do- jStr1' <- textToCString jStr1- return jStr1'- maybeStr2 <- case str2 of- Nothing -> return nullPtr- Just jStr2 -> do- jStr2' <- textToCString jStr2- return jStr2'- result <- g_strcmp0 maybeStr1 maybeStr2- freeMem maybeStr1- freeMem maybeStr2- return result----- function g_strchug--- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_strchug" g_strchug :: - CString -> -- string : TBasicType TUTF8- IO CString---strchug ::- (MonadIO m) =>- T.Text -- string- -> m T.Text -- result-strchug string = liftIO $ do- string' <- textToCString string- result <- g_strchug string'- checkUnexpectedReturnNULL "g_strchug" result- result' <- cstringToText result- freeMem result- freeMem string'- return result'----- function g_strchomp--- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_strchomp" g_strchomp :: - CString -> -- string : TBasicType TUTF8- IO CString---strchomp ::- (MonadIO m) =>- T.Text -- string- -> m T.Text -- result-strchomp string = liftIO $ do- string' <- textToCString string- result <- g_strchomp string'- checkUnexpectedReturnNULL "g_strchomp" result- result' <- cstringToText result- freeMem result- freeMem string'- return result'----- function g_strcasecmp--- Args : [Arg {argCName = "s1", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "s2", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_strcasecmp" g_strcasecmp :: - CString -> -- s1 : TBasicType TUTF8- CString -> -- s2 : TBasicType TUTF8- IO Int32--{-# DEPRECATED strcasecmp ["(Since version 2.2)","See g_strncasecmp() for a discussion of why this"," function is deprecated and how to replace it."]#-}-strcasecmp ::- (MonadIO m) =>- T.Text -- s1- -> T.Text -- s2- -> m Int32 -- result-strcasecmp s1 s2 = liftIO $ do- s1' <- textToCString s1- s2' <- textToCString s2- result <- g_strcasecmp s1' s2'- freeMem s1'- freeMem s2'- return result----- function g_strcanon--- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "valid_chars", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "substitutor", argType = TBasicType TInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_strcanon" g_strcanon :: - CString -> -- string : TBasicType TUTF8- CString -> -- valid_chars : TBasicType TUTF8- Int8 -> -- substitutor : TBasicType TInt8- IO CString---strcanon ::- (MonadIO m) =>- T.Text -- string- -> T.Text -- validChars- -> Int8 -- substitutor- -> m T.Text -- result-strcanon string validChars substitutor = liftIO $ do- string' <- textToCString string- validChars' <- textToCString validChars- result <- g_strcanon string' validChars' substitutor- checkUnexpectedReturnNULL "g_strcanon" result- result' <- cstringToText result- freeMem result- freeMem string'- freeMem validChars'- return result'----- function g_str_tokenize_and_fold--- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "translit_locale", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "ascii_alternates", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- Lengths : []--- returnType : TCArray True (-1) (-1) (TBasicType TUTF8)--- throws : False--- Skip return : False--foreign import ccall "g_str_tokenize_and_fold" g_str_tokenize_and_fold :: - CString -> -- string : TBasicType TUTF8- CString -> -- translit_locale : TBasicType TUTF8- Ptr (Ptr CString) -> -- ascii_alternates : TCArray True (-1) (-1) (TBasicType TUTF8)- IO (Ptr CString)---strTokenizeAndFold ::- (MonadIO m) =>- T.Text -- string- -> Maybe (T.Text) -- translitLocale- -> m ([T.Text],[T.Text]) -- result-strTokenizeAndFold string translitLocale = liftIO $ do- string' <- textToCString string- maybeTranslitLocale <- case translitLocale of- Nothing -> return nullPtr- Just jTranslitLocale -> do- jTranslitLocale' <- textToCString jTranslitLocale- return jTranslitLocale'- asciiAlternates <- allocMem :: IO (Ptr (Ptr CString))- result <- g_str_tokenize_and_fold string' maybeTranslitLocale asciiAlternates- checkUnexpectedReturnNULL "g_str_tokenize_and_fold" result- result' <- unpackZeroTerminatedUTF8CArray result- mapZeroTerminatedCArray freeMem result- freeMem result- asciiAlternates' <- peek asciiAlternates- asciiAlternates'' <- unpackZeroTerminatedUTF8CArray asciiAlternates'- mapZeroTerminatedCArray freeMem asciiAlternates'- freeMem asciiAlternates'- freeMem string'- freeMem maybeTranslitLocale- freeMem asciiAlternates- return (result', asciiAlternates'')----- function g_str_to_ascii--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "from_locale", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_str_to_ascii" g_str_to_ascii :: - CString -> -- str : TBasicType TUTF8- CString -> -- from_locale : TBasicType TUTF8- IO CString---strToAscii ::- (MonadIO m) =>- T.Text -- str- -> Maybe (T.Text) -- fromLocale- -> m T.Text -- result-strToAscii str fromLocale = liftIO $ do- str' <- textToCString str- maybeFromLocale <- case fromLocale of- Nothing -> return nullPtr- Just jFromLocale -> do- jFromLocale' <- textToCString jFromLocale- return jFromLocale'- result <- g_str_to_ascii str' maybeFromLocale- checkUnexpectedReturnNULL "g_str_to_ascii" result- result' <- cstringToText result- freeMem result- freeMem str'- freeMem maybeFromLocale- return result'----- function g_str_match_string--- Args : [Arg {argCName = "search_term", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "potential_hit", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "accept_alternates", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_str_match_string" g_str_match_string :: - CString -> -- search_term : TBasicType TUTF8- CString -> -- potential_hit : TBasicType TUTF8- CInt -> -- accept_alternates : TBasicType TBoolean- IO CInt---strMatchString ::- (MonadIO m) =>- T.Text -- searchTerm- -> T.Text -- potentialHit- -> Bool -- acceptAlternates- -> m Bool -- result-strMatchString searchTerm potentialHit acceptAlternates = liftIO $ do- searchTerm' <- textToCString searchTerm- potentialHit' <- textToCString potentialHit- let acceptAlternates' = (fromIntegral . fromEnum) acceptAlternates- result <- g_str_match_string searchTerm' potentialHit' acceptAlternates'- let result' = (/= 0) result- freeMem searchTerm'- freeMem potentialHit'- return result'----- function g_str_is_ascii--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_str_is_ascii" g_str_is_ascii :: - CString -> -- str : TBasicType TUTF8- IO CInt---strIsAscii ::- (MonadIO m) =>- T.Text -- str- -> m Bool -- result-strIsAscii str = liftIO $ do- str' <- textToCString str- result <- g_str_is_ascii str'- let result' = (/= 0) result- freeMem str'- return result'----- function g_str_hash--- Args : [Arg {argCName = "v", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_str_hash" g_str_hash :: - Ptr () -> -- v : TBasicType TVoid- IO Word32---strHash ::- (MonadIO m) =>- Ptr () -- v- -> m Word32 -- result-strHash v = liftIO $ do- result <- g_str_hash v- return result----- function g_str_has_suffix--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "suffix", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_str_has_suffix" g_str_has_suffix :: - CString -> -- str : TBasicType TUTF8- CString -> -- suffix : TBasicType TUTF8- IO CInt---strHasSuffix ::- (MonadIO m) =>- T.Text -- str- -> T.Text -- suffix- -> m Bool -- result-strHasSuffix str suffix = liftIO $ do- str' <- textToCString str- suffix' <- textToCString suffix- result <- g_str_has_suffix str' suffix'- let result' = (/= 0) result- freeMem str'- freeMem suffix'- return result'----- function g_str_has_prefix--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "prefix", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_str_has_prefix" g_str_has_prefix :: - CString -> -- str : TBasicType TUTF8- CString -> -- prefix : TBasicType TUTF8- IO CInt---strHasPrefix ::- (MonadIO m) =>- T.Text -- str- -> T.Text -- prefix- -> m Bool -- result-strHasPrefix str prefix = liftIO $ do- str' <- textToCString str- prefix' <- textToCString prefix- result <- g_str_has_prefix str' prefix'- let result' = (/= 0) result- freeMem str'- freeMem prefix'- return result'----- function g_str_equal--- Args : [Arg {argCName = "v1", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "v2", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_str_equal" g_str_equal :: - Ptr () -> -- v1 : TBasicType TVoid- Ptr () -> -- v2 : TBasicType TVoid- IO CInt---strEqual ::- (MonadIO m) =>- Ptr () -- v1- -> Ptr () -- v2- -> m Bool -- result-strEqual v1 v2 = liftIO $ do- result <- g_str_equal v1 v2- let result' = (/= 0) result- return result'----- function g_stpcpy--- Args : [Arg {argCName = "dest", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "src", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_stpcpy" g_stpcpy :: - CString -> -- dest : TBasicType TUTF8- CString -> -- src : TBasicType TUTF8- IO CString---stpcpy ::- (MonadIO m) =>- T.Text -- dest- -> T.Text -- src- -> m T.Text -- result-stpcpy dest src = liftIO $ do- dest' <- textToCString dest- src' <- textToCString src- result <- g_stpcpy dest' src'- checkUnexpectedReturnNULL "g_stpcpy" result- result' <- cstringToText result- freeMem result- freeMem dest'- freeMem src'- return result'----- function g_spawn_sync--- Args : [Arg {argCName = "working_directory", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "argv", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "envp", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TInterface "GLib" "SpawnFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "child_setup", argType = TInterface "GLib" "SpawnChildSetupFunc", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = 5, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "standard_output", argType = TCArray True (-1) (-1) (TBasicType TUInt8), direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "standard_error", argType = TCArray True (-1) (-1) (TBasicType TUInt8), direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "exit_status", argType = TBasicType TInt32, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : True--- Skip return : False--foreign import ccall "g_spawn_sync" g_spawn_sync :: - CString -> -- working_directory : TBasicType TUTF8- Ptr CString -> -- argv : TCArray True (-1) (-1) (TBasicType TUTF8)- Ptr CString -> -- envp : TCArray True (-1) (-1) (TBasicType TUTF8)- CUInt -> -- flags : TInterface "GLib" "SpawnFlags"- FunPtr SpawnChildSetupFuncC -> -- child_setup : TInterface "GLib" "SpawnChildSetupFunc"- Ptr () -> -- user_data : TBasicType TVoid- Ptr (Ptr Word8) -> -- standard_output : TCArray True (-1) (-1) (TBasicType TUInt8)- Ptr (Ptr Word8) -> -- standard_error : TCArray True (-1) (-1) (TBasicType TUInt8)- Ptr Int32 -> -- exit_status : TBasicType TInt32- Ptr (Ptr GError) -> -- error- IO CInt---spawnSync ::- (MonadIO m) =>- Maybe (T.Text) -- workingDirectory- -> [T.Text] -- argv- -> Maybe ([T.Text]) -- envp- -> [SpawnFlags] -- flags- -> Maybe (SpawnChildSetupFunc) -- childSetup- -> m (ByteString,ByteString,Int32) -- result-spawnSync workingDirectory argv envp flags childSetup = liftIO $ do- maybeWorkingDirectory <- case workingDirectory of- Nothing -> return nullPtr- Just jWorkingDirectory -> do- jWorkingDirectory' <- textToCString jWorkingDirectory- return jWorkingDirectory'- argv' <- packZeroTerminatedUTF8CArray argv- maybeEnvp <- case envp of- Nothing -> return nullPtr- Just jEnvp -> do- jEnvp' <- packZeroTerminatedUTF8CArray jEnvp- return jEnvp'- let flags' = gflagsToWord flags- ptrchildSetup <- callocMem :: IO (Ptr (FunPtr SpawnChildSetupFuncC))- maybeChildSetup <- case childSetup of- Nothing -> return (castPtrToFunPtr nullPtr)- Just jChildSetup -> do- jChildSetup' <- mkSpawnChildSetupFunc (spawnChildSetupFuncWrapper (Just ptrchildSetup) jChildSetup)- poke ptrchildSetup jChildSetup'- return jChildSetup'- standardOutput <- allocMem :: IO (Ptr (Ptr Word8))- standardError <- allocMem :: IO (Ptr (Ptr Word8))- exitStatus <- allocMem :: IO (Ptr Int32)- let userData = nullPtr- onException (do- _ <- propagateGError $ g_spawn_sync maybeWorkingDirectory argv' maybeEnvp flags' maybeChildSetup userData standardOutput standardError exitStatus- standardOutput' <- peek standardOutput- standardOutput'' <- unpackZeroTerminatedByteString standardOutput'- freeMem standardOutput'- standardError' <- peek standardError- standardError'' <- unpackZeroTerminatedByteString standardError'- freeMem standardError'- exitStatus' <- peek exitStatus- freeMem maybeWorkingDirectory- mapZeroTerminatedCArray freeMem argv'- freeMem argv'- mapZeroTerminatedCArray freeMem maybeEnvp- freeMem maybeEnvp- freeMem standardOutput- freeMem standardError- freeMem exitStatus- return (standardOutput'', standardError'', exitStatus')- ) (do- freeMem maybeWorkingDirectory- mapZeroTerminatedCArray freeMem argv'- freeMem argv'- mapZeroTerminatedCArray freeMem maybeEnvp- freeMem maybeEnvp- freeMem standardOutput- freeMem standardError- freeMem exitStatus- )----- function g_spawn_exit_error_quark--- Args : []--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_spawn_exit_error_quark" g_spawn_exit_error_quark :: - IO Word32---spawnExitErrorQuark ::- (MonadIO m) =>- m Word32 -- result-spawnExitErrorQuark = liftIO $ do- result <- g_spawn_exit_error_quark- return result----- function g_spawn_error_quark--- Args : []--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_spawn_error_quark" g_spawn_error_quark :: - IO Word32---spawnErrorQuark ::- (MonadIO m) =>- m Word32 -- result-spawnErrorQuark = liftIO $ do- result <- g_spawn_error_quark- return result----- function g_spawn_command_line_sync--- Args : [Arg {argCName = "command_line", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "standard_output", argType = TCArray True (-1) (-1) (TBasicType TUInt8), direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "standard_error", argType = TCArray True (-1) (-1) (TBasicType TUInt8), direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "exit_status", argType = TBasicType TInt32, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : True--- Skip return : False--foreign import ccall "g_spawn_command_line_sync" g_spawn_command_line_sync :: - CString -> -- command_line : TBasicType TUTF8- Ptr (Ptr Word8) -> -- standard_output : TCArray True (-1) (-1) (TBasicType TUInt8)- Ptr (Ptr Word8) -> -- standard_error : TCArray True (-1) (-1) (TBasicType TUInt8)- Ptr Int32 -> -- exit_status : TBasicType TInt32- Ptr (Ptr GError) -> -- error- IO CInt---spawnCommandLineSync ::- (MonadIO m) =>- T.Text -- commandLine- -> m (ByteString,ByteString,Int32) -- result-spawnCommandLineSync commandLine = liftIO $ do- commandLine' <- textToCString commandLine- standardOutput <- allocMem :: IO (Ptr (Ptr Word8))- standardError <- allocMem :: IO (Ptr (Ptr Word8))- exitStatus <- allocMem :: IO (Ptr Int32)- onException (do- _ <- propagateGError $ g_spawn_command_line_sync commandLine' standardOutput standardError exitStatus- standardOutput' <- peek standardOutput- standardOutput'' <- unpackZeroTerminatedByteString standardOutput'- freeMem standardOutput'- standardError' <- peek standardError- standardError'' <- unpackZeroTerminatedByteString standardError'- freeMem standardError'- exitStatus' <- peek exitStatus- freeMem commandLine'- freeMem standardOutput- freeMem standardError- freeMem exitStatus- return (standardOutput'', standardError'', exitStatus')- ) (do- freeMem commandLine'- freeMem standardOutput- freeMem standardError- freeMem exitStatus- )----- function g_spawn_command_line_async--- Args : [Arg {argCName = "command_line", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : True--- Skip return : False--foreign import ccall "g_spawn_command_line_async" g_spawn_command_line_async :: - CString -> -- command_line : TBasicType TUTF8- Ptr (Ptr GError) -> -- error- IO CInt---spawnCommandLineAsync ::- (MonadIO m) =>- T.Text -- commandLine- -> m () -- result-spawnCommandLineAsync commandLine = liftIO $ do- commandLine' <- textToCString commandLine- onException (do- _ <- propagateGError $ g_spawn_command_line_async commandLine'- freeMem commandLine'- return ()- ) (do- freeMem commandLine'- )----- function g_spawn_close_pid--- Args : [Arg {argCName = "pid", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_spawn_close_pid" g_spawn_close_pid :: - Int32 -> -- pid : TBasicType TInt32- IO ()---spawnClosePid ::- (MonadIO m) =>- Int32 -- pid- -> m () -- result-spawnClosePid pid = liftIO $ do- g_spawn_close_pid pid- return ()----- function g_spawn_check_exit_status--- Args : [Arg {argCName = "exit_status", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : True--- Skip return : False--foreign import ccall "g_spawn_check_exit_status" g_spawn_check_exit_status :: - Int32 -> -- exit_status : TBasicType TInt32- Ptr (Ptr GError) -> -- error- IO CInt---spawnCheckExitStatus ::- (MonadIO m) =>- Int32 -- exitStatus- -> m () -- result-spawnCheckExitStatus exitStatus = liftIO $ do- onException (do- _ <- propagateGError $ g_spawn_check_exit_status exitStatus- return ()- ) (do- return ()- )----- function g_spawn_async_with_pipes--- Args : [Arg {argCName = "working_directory", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "argv", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "envp", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TInterface "GLib" "SpawnFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "child_setup", argType = TInterface "GLib" "SpawnChildSetupFunc", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = 5, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "child_pid", argType = TBasicType TInt32, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "standard_input", argType = TBasicType TInt32, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "standard_output", argType = TBasicType TInt32, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "standard_error", argType = TBasicType TInt32, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : True--- Skip return : False--foreign import ccall "g_spawn_async_with_pipes" g_spawn_async_with_pipes :: - CString -> -- working_directory : TBasicType TUTF8- Ptr CString -> -- argv : TCArray True (-1) (-1) (TBasicType TUTF8)- Ptr CString -> -- envp : TCArray True (-1) (-1) (TBasicType TUTF8)- CUInt -> -- flags : TInterface "GLib" "SpawnFlags"- FunPtr SpawnChildSetupFuncC -> -- child_setup : TInterface "GLib" "SpawnChildSetupFunc"- Ptr () -> -- user_data : TBasicType TVoid- Ptr Int32 -> -- child_pid : TBasicType TInt32- Ptr Int32 -> -- standard_input : TBasicType TInt32- Ptr Int32 -> -- standard_output : TBasicType TInt32- Ptr Int32 -> -- standard_error : TBasicType TInt32- Ptr (Ptr GError) -> -- error- IO CInt---spawnAsyncWithPipes ::- (MonadIO m) =>- Maybe (T.Text) -- workingDirectory- -> [T.Text] -- argv- -> Maybe ([T.Text]) -- envp- -> [SpawnFlags] -- flags- -> Maybe (SpawnChildSetupFunc) -- childSetup- -> m (Int32,Int32,Int32,Int32) -- result-spawnAsyncWithPipes workingDirectory argv envp flags childSetup = liftIO $ do- maybeWorkingDirectory <- case workingDirectory of- Nothing -> return nullPtr- Just jWorkingDirectory -> do- jWorkingDirectory' <- textToCString jWorkingDirectory- return jWorkingDirectory'- argv' <- packZeroTerminatedUTF8CArray argv- maybeEnvp <- case envp of- Nothing -> return nullPtr- Just jEnvp -> do- jEnvp' <- packZeroTerminatedUTF8CArray jEnvp- return jEnvp'- let flags' = gflagsToWord flags- ptrchildSetup <- callocMem :: IO (Ptr (FunPtr SpawnChildSetupFuncC))- maybeChildSetup <- case childSetup of- Nothing -> return (castPtrToFunPtr nullPtr)- Just jChildSetup -> do- jChildSetup' <- mkSpawnChildSetupFunc (spawnChildSetupFuncWrapper (Just ptrchildSetup) jChildSetup)- poke ptrchildSetup jChildSetup'- return jChildSetup'- childPid <- allocMem :: IO (Ptr Int32)- standardInput <- allocMem :: IO (Ptr Int32)- standardOutput <- allocMem :: IO (Ptr Int32)- standardError <- allocMem :: IO (Ptr Int32)- let userData = nullPtr- onException (do- _ <- propagateGError $ g_spawn_async_with_pipes maybeWorkingDirectory argv' maybeEnvp flags' maybeChildSetup userData childPid standardInput standardOutput standardError- childPid' <- peek childPid- standardInput' <- peek standardInput- standardOutput' <- peek standardOutput- standardError' <- peek standardError- freeMem maybeWorkingDirectory- mapZeroTerminatedCArray freeMem argv'- freeMem argv'- mapZeroTerminatedCArray freeMem maybeEnvp- freeMem maybeEnvp- freeMem childPid- freeMem standardInput- freeMem standardOutput- freeMem standardError- return (childPid', standardInput', standardOutput', standardError')- ) (do- freeMem maybeWorkingDirectory- mapZeroTerminatedCArray freeMem argv'- freeMem argv'- mapZeroTerminatedCArray freeMem maybeEnvp- freeMem maybeEnvp- freeMem childPid- freeMem standardInput- freeMem standardOutput- freeMem standardError- )----- function g_spawn_async--- Args : [Arg {argCName = "working_directory", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "argv", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "envp", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TInterface "GLib" "SpawnFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "child_setup", argType = TInterface "GLib" "SpawnChildSetupFunc", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = 5, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "child_pid", argType = TBasicType TInt32, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : True--- Skip return : False--foreign import ccall "g_spawn_async" g_spawn_async :: - CString -> -- working_directory : TBasicType TUTF8- Ptr CString -> -- argv : TCArray True (-1) (-1) (TBasicType TUTF8)- Ptr CString -> -- envp : TCArray True (-1) (-1) (TBasicType TUTF8)- CUInt -> -- flags : TInterface "GLib" "SpawnFlags"- FunPtr SpawnChildSetupFuncC -> -- child_setup : TInterface "GLib" "SpawnChildSetupFunc"- Ptr () -> -- user_data : TBasicType TVoid- Ptr Int32 -> -- child_pid : TBasicType TInt32- Ptr (Ptr GError) -> -- error- IO CInt---spawnAsync ::- (MonadIO m) =>- Maybe (T.Text) -- workingDirectory- -> [T.Text] -- argv- -> Maybe ([T.Text]) -- envp- -> [SpawnFlags] -- flags- -> Maybe (SpawnChildSetupFunc) -- childSetup- -> m (Int32) -- result-spawnAsync workingDirectory argv envp flags childSetup = liftIO $ do- maybeWorkingDirectory <- case workingDirectory of- Nothing -> return nullPtr- Just jWorkingDirectory -> do- jWorkingDirectory' <- textToCString jWorkingDirectory- return jWorkingDirectory'- argv' <- packZeroTerminatedUTF8CArray argv- maybeEnvp <- case envp of- Nothing -> return nullPtr- Just jEnvp -> do- jEnvp' <- packZeroTerminatedUTF8CArray jEnvp- return jEnvp'- let flags' = gflagsToWord flags- ptrchildSetup <- callocMem :: IO (Ptr (FunPtr SpawnChildSetupFuncC))- maybeChildSetup <- case childSetup of- Nothing -> return (castPtrToFunPtr nullPtr)- Just jChildSetup -> do- jChildSetup' <- mkSpawnChildSetupFunc (spawnChildSetupFuncWrapper (Just ptrchildSetup) jChildSetup)- poke ptrchildSetup jChildSetup'- return jChildSetup'- childPid <- allocMem :: IO (Ptr Int32)- let userData = nullPtr- onException (do- _ <- propagateGError $ g_spawn_async maybeWorkingDirectory argv' maybeEnvp flags' maybeChildSetup userData childPid- childPid' <- peek childPid- freeMem maybeWorkingDirectory- mapZeroTerminatedCArray freeMem argv'- freeMem argv'- mapZeroTerminatedCArray freeMem maybeEnvp- freeMem maybeEnvp- freeMem childPid- return childPid'- ) (do- freeMem maybeWorkingDirectory- mapZeroTerminatedCArray freeMem argv'- freeMem argv'- mapZeroTerminatedCArray freeMem maybeEnvp- freeMem maybeEnvp- freeMem childPid- )----- function g_spaced_primes_closest--- Args : [Arg {argCName = "num", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_spaced_primes_closest" g_spaced_primes_closest :: - Word32 -> -- num : TBasicType TUInt32- IO Word32---spacedPrimesClosest ::- (MonadIO m) =>- Word32 -- num- -> m Word32 -- result-spacedPrimesClosest num = liftIO $ do- result <- g_spaced_primes_closest num- return result----- function g_slice_set_config--- Args : [Arg {argCName = "ckey", argType = TInterface "GLib" "SliceConfig", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_slice_set_config" g_slice_set_config :: - CUInt -> -- ckey : TInterface "GLib" "SliceConfig"- Int64 -> -- value : TBasicType TInt64- IO ()---sliceSetConfig ::- (MonadIO m) =>- SliceConfig -- ckey- -> Int64 -- value- -> m () -- result-sliceSetConfig ckey value = liftIO $ do- let ckey' = (fromIntegral . fromEnum) ckey- g_slice_set_config ckey' value- return ()----- function g_slice_get_config_state--- Args : [Arg {argCName = "ckey", argType = TInterface "GLib" "SliceConfig", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "address", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n_values", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt64--- throws : False--- Skip return : False--foreign import ccall "g_slice_get_config_state" g_slice_get_config_state :: - CUInt -> -- ckey : TInterface "GLib" "SliceConfig"- Int64 -> -- address : TBasicType TInt64- Word32 -> -- n_values : TBasicType TUInt32- IO Int64---sliceGetConfigState ::- (MonadIO m) =>- SliceConfig -- ckey- -> Int64 -- address- -> Word32 -- nValues- -> m Int64 -- result-sliceGetConfigState ckey address nValues = liftIO $ do- let ckey' = (fromIntegral . fromEnum) ckey- result <- g_slice_get_config_state ckey' address nValues- return result----- function g_slice_get_config--- Args : [Arg {argCName = "ckey", argType = TInterface "GLib" "SliceConfig", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt64--- throws : False--- Skip return : False--foreign import ccall "g_slice_get_config" g_slice_get_config :: - CUInt -> -- ckey : TInterface "GLib" "SliceConfig"- IO Int64---sliceGetConfig ::- (MonadIO m) =>- SliceConfig -- ckey- -> m Int64 -- result-sliceGetConfig ckey = liftIO $ do- let ckey' = (fromIntegral . fromEnum) ckey- result <- g_slice_get_config ckey'- return result----- function g_slice_free_chain_with_offset--- Args : [Arg {argCName = "block_size", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mem_chain", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "next_offset", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_slice_free_chain_with_offset" g_slice_free_chain_with_offset :: - Word64 -> -- block_size : TBasicType TUInt64- Ptr () -> -- mem_chain : TBasicType TVoid- Word64 -> -- next_offset : TBasicType TUInt64- IO ()---sliceFreeChainWithOffset ::- (MonadIO m) =>- Word64 -- blockSize- -> Ptr () -- memChain- -> Word64 -- nextOffset- -> m () -- result-sliceFreeChainWithOffset blockSize memChain nextOffset = liftIO $ do- g_slice_free_chain_with_offset blockSize memChain nextOffset- return ()----- function g_slice_free1--- Args : [Arg {argCName = "block_size", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mem_block", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_slice_free1" g_slice_free1 :: - Word64 -> -- block_size : TBasicType TUInt64- Ptr () -> -- mem_block : TBasicType TVoid- IO ()---sliceFree1 ::- (MonadIO m) =>- Word64 -- blockSize- -> Ptr () -- memBlock- -> m () -- result-sliceFree1 blockSize memBlock = liftIO $ do- g_slice_free1 blockSize memBlock- return ()----- function g_shell_unquote--- Args : [Arg {argCName = "quoted_string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : True--- Skip return : False--foreign import ccall "g_shell_unquote" g_shell_unquote :: - CString -> -- quoted_string : TBasicType TUTF8- Ptr (Ptr GError) -> -- error- IO CString---shellUnquote ::- (MonadIO m) =>- T.Text -- quotedString- -> m T.Text -- result-shellUnquote quotedString = liftIO $ do- quotedString' <- textToCString quotedString- onException (do- result <- propagateGError $ g_shell_unquote quotedString'- checkUnexpectedReturnNULL "g_shell_unquote" result- result' <- cstringToText result- freeMem result- freeMem quotedString'- return result'- ) (do- freeMem quotedString'- )----- function g_shell_quote--- Args : [Arg {argCName = "unquoted_string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_shell_quote" g_shell_quote :: - CString -> -- unquoted_string : TBasicType TUTF8- IO CString---shellQuote ::- (MonadIO m) =>- T.Text -- unquotedString- -> m T.Text -- result-shellQuote unquotedString = liftIO $ do- unquotedString' <- textToCString unquotedString- result <- g_shell_quote unquotedString'- checkUnexpectedReturnNULL "g_shell_quote" result- result' <- cstringToText result- freeMem result- freeMem unquotedString'- return result'----- function g_shell_parse_argv--- Args : [Arg {argCName = "command_line", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "argcp", argType = TBasicType TInt32, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "argvp", argType = TCArray True (-1) 1 (TBasicType TUTF8), direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : True--- Skip return : False--foreign import ccall "g_shell_parse_argv" g_shell_parse_argv :: - CString -> -- command_line : TBasicType TUTF8- Ptr Int32 -> -- argcp : TBasicType TInt32- Ptr (Ptr CString) -> -- argvp : TCArray True (-1) 1 (TBasicType TUTF8)- Ptr (Ptr GError) -> -- error- IO CInt---shellParseArgv ::- (MonadIO m) =>- T.Text -- commandLine- -> m (Int32,[T.Text]) -- result-shellParseArgv commandLine = liftIO $ do- commandLine' <- textToCString commandLine- argcp <- allocMem :: IO (Ptr Int32)- argvp <- allocMem :: IO (Ptr (Ptr CString))- onException (do- _ <- propagateGError $ g_shell_parse_argv commandLine' argcp argvp- argcp' <- peek argcp- argvp' <- peek argvp- argvp'' <- unpackZeroTerminatedUTF8CArray argvp'- mapZeroTerminatedCArray freeMem argvp'- freeMem argvp'- freeMem commandLine'- freeMem argcp- freeMem argvp- return (argcp', argvp'')- ) (do- freeMem commandLine'- freeMem argcp- freeMem argvp- )----- function g_shell_error_quark--- Args : []--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_shell_error_quark" g_shell_error_quark :: - IO Word32---shellErrorQuark ::- (MonadIO m) =>- m Word32 -- result-shellErrorQuark = liftIO $ do- result <- g_shell_error_quark- return result----- function g_setenv--- Args : [Arg {argCName = "variable", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "overwrite", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_setenv" g_setenv :: - CString -> -- variable : TBasicType TUTF8- CString -> -- value : TBasicType TUTF8- CInt -> -- overwrite : TBasicType TBoolean- IO CInt---setenv ::- (MonadIO m) =>- T.Text -- variable- -> T.Text -- value- -> Bool -- overwrite- -> m Bool -- result-setenv variable value overwrite = liftIO $ do- variable' <- textToCString variable- value' <- textToCString value- let overwrite' = (fromIntegral . fromEnum) overwrite- result <- g_setenv variable' value' overwrite'- let result' = (/= 0) result- freeMem variable'- freeMem value'- return result'----- function g_set_prgname--- Args : [Arg {argCName = "prgname", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_set_prgname" g_set_prgname :: - CString -> -- prgname : TBasicType TUTF8- IO ()---setPrgname ::- (MonadIO m) =>- T.Text -- prgname- -> m () -- result-setPrgname prgname = liftIO $ do- prgname' <- textToCString prgname- g_set_prgname prgname'- freeMem prgname'- return ()----- function g_set_error_literal--- Args : [Arg {argCName = "err", argType = TError, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "domain", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "code", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "message", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_set_error_literal" g_set_error_literal :: - Ptr GError -> -- err : TError- Word32 -> -- domain : TBasicType TUInt32- Int32 -> -- code : TBasicType TInt32- CString -> -- message : TBasicType TUTF8- IO ()---setErrorLiteral ::- (MonadIO m) =>- Maybe (GError) -- err- -> Word32 -- domain- -> Int32 -- code- -> T.Text -- message- -> m () -- result-setErrorLiteral err domain code message = liftIO $ do- maybeErr <- case err of- Nothing -> return nullPtr- Just jErr -> do- let jErr' = unsafeManagedPtrGetPtr jErr- return jErr'- message' <- textToCString message- g_set_error_literal maybeErr domain code message'- whenJust err touchManagedPtr- freeMem message'- return ()----- function g_set_application_name--- Args : [Arg {argCName = "application_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_set_application_name" g_set_application_name :: - CString -> -- application_name : TBasicType TUTF8- IO ()---setApplicationName ::- (MonadIO m) =>- T.Text -- applicationName- -> m () -- result-setApplicationName applicationName = liftIO $ do- applicationName' <- textToCString applicationName- g_set_application_name applicationName'- freeMem applicationName'- return ()----- function g_rmdir--- Args : [Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_rmdir" g_rmdir :: - CString -> -- filename : TBasicType TUTF8- IO Int32---rmdir ::- (MonadIO m) =>- T.Text -- filename- -> m Int32 -- result-rmdir filename = liftIO $ do- filename' <- textToCString filename- result <- g_rmdir filename'- freeMem filename'- return result----- function g_return_if_fail_warning--- Args : [Arg {argCName = "log_domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pretty_function", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "expression", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_return_if_fail_warning" g_return_if_fail_warning :: - CString -> -- log_domain : TBasicType TUTF8- CString -> -- pretty_function : TBasicType TUTF8- CString -> -- expression : TBasicType TUTF8- IO ()---returnIfFailWarning ::- (MonadIO m) =>- T.Text -- logDomain- -> T.Text -- prettyFunction- -> T.Text -- expression- -> m () -- result-returnIfFailWarning logDomain prettyFunction expression = liftIO $ do- logDomain' <- textToCString logDomain- prettyFunction' <- textToCString prettyFunction- expression' <- textToCString expression- g_return_if_fail_warning logDomain' prettyFunction' expression'- freeMem logDomain'- freeMem prettyFunction'- freeMem expression'- return ()----- function g_reload_user_special_dirs_cache--- Args : []--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_reload_user_special_dirs_cache" g_reload_user_special_dirs_cache :: - IO ()---reloadUserSpecialDirsCache ::- (MonadIO m) =>- m () -- result-reloadUserSpecialDirsCache = liftIO $ do- g_reload_user_special_dirs_cache- return ()----- function g_random_set_seed--- Args : [Arg {argCName = "seed", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_random_set_seed" g_random_set_seed :: - Word32 -> -- seed : TBasicType TUInt32- IO ()---randomSetSeed ::- (MonadIO m) =>- Word32 -- seed- -> m () -- result-randomSetSeed seed = liftIO $ do- g_random_set_seed seed- return ()----- function g_random_int_range--- Args : [Arg {argCName = "begin", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "end", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_random_int_range" g_random_int_range :: - Int32 -> -- begin : TBasicType TInt32- Int32 -> -- end : TBasicType TInt32- IO Int32---randomIntRange ::- (MonadIO m) =>- Int32 -- begin- -> Int32 -- end- -> m Int32 -- result-randomIntRange begin end = liftIO $ do- result <- g_random_int_range begin end- return result----- function g_random_int--- Args : []--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_random_int" g_random_int :: - IO Word32---randomInt ::- (MonadIO m) =>- m Word32 -- result-randomInt = liftIO $ do- result <- g_random_int- return result----- function g_random_double_range--- Args : [Arg {argCName = "begin", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "end", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TDouble--- throws : False--- Skip return : False--foreign import ccall "g_random_double_range" g_random_double_range :: - CDouble -> -- begin : TBasicType TDouble- CDouble -> -- end : TBasicType TDouble- IO CDouble---randomDoubleRange ::- (MonadIO m) =>- Double -- begin- -> Double -- end- -> m Double -- result-randomDoubleRange begin end = liftIO $ do- let begin' = realToFrac begin- let end' = realToFrac end- result <- g_random_double_range begin' end'- let result' = realToFrac result- return result'----- function g_random_double--- Args : []--- Lengths : []--- returnType : TBasicType TDouble--- throws : False--- Skip return : False--foreign import ccall "g_random_double" g_random_double :: - IO CDouble---randomDouble ::- (MonadIO m) =>- m Double -- result-randomDouble = liftIO $ do- result <- g_random_double- let result' = realToFrac result- return result'----- function g_quark_try_string--- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_quark_try_string" g_quark_try_string :: - CString -> -- string : TBasicType TUTF8- IO Word32---quarkTryString ::- (MonadIO m) =>- Maybe (T.Text) -- string- -> m Word32 -- result-quarkTryString string = liftIO $ do- maybeString <- case string of- Nothing -> return nullPtr- Just jString -> do- jString' <- textToCString jString- return jString'- result <- g_quark_try_string maybeString- freeMem maybeString- return result----- function g_quark_to_string--- Args : [Arg {argCName = "quark", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_quark_to_string" g_quark_to_string :: - Word32 -> -- quark : TBasicType TUInt32- IO CString---quarkToString ::- (MonadIO m) =>- Word32 -- quark- -> m T.Text -- result-quarkToString quark = liftIO $ do- result <- g_quark_to_string quark- checkUnexpectedReturnNULL "g_quark_to_string" result- result' <- cstringToText result- return result'----- function g_quark_from_string--- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_quark_from_string" g_quark_from_string :: - CString -> -- string : TBasicType TUTF8- IO Word32---quarkFromString ::- (MonadIO m) =>- Maybe (T.Text) -- string- -> m Word32 -- result-quarkFromString string = liftIO $ do- maybeString <- case string of- Nothing -> return nullPtr- Just jString -> do- jString' <- textToCString jString- return jString'- result <- g_quark_from_string maybeString- freeMem maybeString- return result----- function g_quark_from_static_string--- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_quark_from_static_string" g_quark_from_static_string :: - CString -> -- string : TBasicType TUTF8- IO Word32---quarkFromStaticString ::- (MonadIO m) =>- Maybe (T.Text) -- string- -> m Word32 -- result-quarkFromStaticString string = liftIO $ do- maybeString <- case string of- Nothing -> return nullPtr- Just jString -> do- jString' <- textToCString jString- return jString'- result <- g_quark_from_static_string maybeString- freeMem maybeString- return result----- function g_propagate_error--- Args : [Arg {argCName = "dest", argType = TError, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "src", argType = TError, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_propagate_error" g_propagate_error :: - Ptr GError -> -- dest : TError- Ptr GError -> -- src : TError- IO ()---propagateError ::- (MonadIO m) =>- GError -- dest- -> GError -- src- -> m () -- result-propagateError dest src = liftIO $ do- let dest' = unsafeManagedPtrGetPtr dest- let src' = unsafeManagedPtrGetPtr src- g_propagate_error dest' src'- touchManagedPtr dest- touchManagedPtr src- return ()----- function g_poll--- Args : [Arg {argCName = "fds", argType = TInterface "GLib" "PollFD", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "nfds", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "timeout", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_poll" g_poll :: - Ptr PollFD -> -- fds : TInterface "GLib" "PollFD"- Word32 -> -- nfds : TBasicType TUInt32- Int32 -> -- timeout : TBasicType TInt32- IO Int32---poll ::- (MonadIO m) =>- PollFD -- fds- -> Word32 -- nfds- -> Int32 -- timeout- -> m Int32 -- result-poll fds nfds timeout = liftIO $ do- let fds' = unsafeManagedPtrGetPtr fds- result <- g_poll fds' nfds timeout- touchManagedPtr fds- return result----- function g_pointer_bit_unlock--- Args : [Arg {argCName = "address", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "lock_bit", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_pointer_bit_unlock" g_pointer_bit_unlock :: - Ptr () -> -- address : TBasicType TVoid- Int32 -> -- lock_bit : TBasicType TInt32- IO ()---pointerBitUnlock ::- (MonadIO m) =>- Ptr () -- address- -> Int32 -- lockBit- -> m () -- result-pointerBitUnlock address lockBit = liftIO $ do- g_pointer_bit_unlock address lockBit- return ()----- function g_pointer_bit_trylock--- Args : [Arg {argCName = "address", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "lock_bit", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_pointer_bit_trylock" g_pointer_bit_trylock :: - Ptr () -> -- address : TBasicType TVoid- Int32 -> -- lock_bit : TBasicType TInt32- IO CInt---pointerBitTrylock ::- (MonadIO m) =>- Ptr () -- address- -> Int32 -- lockBit- -> m Bool -- result-pointerBitTrylock address lockBit = liftIO $ do- result <- g_pointer_bit_trylock address lockBit- let result' = (/= 0) result- return result'----- function g_pointer_bit_lock--- Args : [Arg {argCName = "address", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "lock_bit", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_pointer_bit_lock" g_pointer_bit_lock :: - Ptr () -> -- address : TBasicType TVoid- Int32 -> -- lock_bit : TBasicType TInt32- IO ()---pointerBitLock ::- (MonadIO m) =>- Ptr () -- address- -> Int32 -- lockBit- -> m () -- result-pointerBitLock address lockBit = liftIO $ do- g_pointer_bit_lock address lockBit- return ()----- function g_pattern_match_string--- Args : [Arg {argCName = "pspec", argType = TInterface "GLib" "PatternSpec", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_pattern_match_string" g_pattern_match_string :: - Ptr PatternSpec -> -- pspec : TInterface "GLib" "PatternSpec"- CString -> -- string : TBasicType TUTF8- IO CInt---patternMatchString ::- (MonadIO m) =>- PatternSpec -- pspec- -> T.Text -- string- -> m Bool -- result-patternMatchString pspec string = liftIO $ do- let pspec' = unsafeManagedPtrGetPtr pspec- string' <- textToCString string- result <- g_pattern_match_string pspec' string'- let result' = (/= 0) result- touchManagedPtr pspec- freeMem string'- return result'----- function g_pattern_match_simple--- Args : [Arg {argCName = "pattern", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_pattern_match_simple" g_pattern_match_simple :: - CString -> -- pattern : TBasicType TUTF8- CString -> -- string : TBasicType TUTF8- IO CInt---patternMatchSimple ::- (MonadIO m) =>- T.Text -- pattern- -> T.Text -- string- -> m Bool -- result-patternMatchSimple pattern string = liftIO $ do- pattern' <- textToCString pattern- string' <- textToCString string- result <- g_pattern_match_simple pattern' string'- let result' = (/= 0) result- freeMem pattern'- freeMem string'- return result'----- function g_pattern_match--- Args : [Arg {argCName = "pspec", argType = TInterface "GLib" "PatternSpec", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string_length", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string_reversed", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_pattern_match" g_pattern_match :: - Ptr PatternSpec -> -- pspec : TInterface "GLib" "PatternSpec"- Word32 -> -- string_length : TBasicType TUInt32- CString -> -- string : TBasicType TUTF8- CString -> -- string_reversed : TBasicType TUTF8- IO CInt---patternMatch ::- (MonadIO m) =>- PatternSpec -- pspec- -> Word32 -- stringLength- -> T.Text -- string- -> Maybe (T.Text) -- stringReversed- -> m Bool -- result-patternMatch pspec stringLength string stringReversed = liftIO $ do- let pspec' = unsafeManagedPtrGetPtr pspec- string' <- textToCString string- maybeStringReversed <- case stringReversed of- Nothing -> return nullPtr- Just jStringReversed -> do- jStringReversed' <- textToCString jStringReversed- return jStringReversed'- result <- g_pattern_match pspec' stringLength string' maybeStringReversed- let result' = (/= 0) result- touchManagedPtr pspec- freeMem string'- freeMem maybeStringReversed- return result'----- function g_path_skip_root--- Args : [Arg {argCName = "file_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_path_skip_root" g_path_skip_root :: - CString -> -- file_name : TBasicType TUTF8- IO CString---pathSkipRoot ::- (MonadIO m) =>- T.Text -- fileName- -> m T.Text -- result-pathSkipRoot fileName = liftIO $ do- fileName' <- textToCString fileName- result <- g_path_skip_root fileName'- checkUnexpectedReturnNULL "g_path_skip_root" result- result' <- cstringToText result- freeMem fileName'- return result'----- function g_path_is_absolute--- Args : [Arg {argCName = "file_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_path_is_absolute" g_path_is_absolute :: - CString -> -- file_name : TBasicType TUTF8- IO CInt---pathIsAbsolute ::- (MonadIO m) =>- T.Text -- fileName- -> m Bool -- result-pathIsAbsolute fileName = liftIO $ do- fileName' <- textToCString fileName- result <- g_path_is_absolute fileName'- let result' = (/= 0) result- freeMem fileName'- return result'----- function g_path_get_dirname--- Args : [Arg {argCName = "file_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_path_get_dirname" g_path_get_dirname :: - CString -> -- file_name : TBasicType TUTF8- IO CString---pathGetDirname ::- (MonadIO m) =>- T.Text -- fileName- -> m T.Text -- result-pathGetDirname fileName = liftIO $ do- fileName' <- textToCString fileName- result <- g_path_get_dirname fileName'- checkUnexpectedReturnNULL "g_path_get_dirname" result- result' <- cstringToText result- freeMem result- freeMem fileName'- return result'----- function g_path_get_basename--- Args : [Arg {argCName = "file_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_path_get_basename" g_path_get_basename :: - CString -> -- file_name : TBasicType TUTF8- IO CString---pathGetBasename ::- (MonadIO m) =>- T.Text -- fileName- -> m T.Text -- result-pathGetBasename fileName = liftIO $ do- fileName' <- textToCString fileName- result <- g_path_get_basename fileName'- checkUnexpectedReturnNULL "g_path_get_basename" result- result' <- cstringToText result- freeMem result- freeMem fileName'- return result'----- function g_parse_debug_string--- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "keys", argType = TCArray False (-1) 2 (TInterface "GLib" "DebugKey"), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "nkeys", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : [Arg {argCName = "nkeys", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_parse_debug_string" g_parse_debug_string :: - CString -> -- string : TBasicType TUTF8- Ptr DebugKey -> -- keys : TCArray False (-1) 2 (TInterface "GLib" "DebugKey")- Word32 -> -- nkeys : TBasicType TUInt32- IO Word32---parseDebugString ::- (MonadIO m) =>- Maybe (T.Text) -- string- -> [DebugKey] -- keys- -> m Word32 -- result-parseDebugString string keys = liftIO $ do- let nkeys = fromIntegral $ length keys- maybeString <- case string of- Nothing -> return nullPtr- Just jString -> do- jString' <- textToCString jString- return jString'- let keys' = map unsafeManagedPtrGetPtr keys- keys'' <- packBlockArray 16 keys'- result <- g_parse_debug_string maybeString keys'' nkeys- mapM_ touchManagedPtr keys- freeMem maybeString- freeMem keys''- return result----- function g_option_error_quark--- Args : []--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_option_error_quark" g_option_error_quark :: - IO Word32---optionErrorQuark ::- (MonadIO m) =>- m Word32 -- result-optionErrorQuark = liftIO $ do- result <- g_option_error_quark- return result----- function g_on_error_stack_trace--- Args : [Arg {argCName = "prg_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_on_error_stack_trace" g_on_error_stack_trace :: - CString -> -- prg_name : TBasicType TUTF8- IO ()---onErrorStackTrace ::- (MonadIO m) =>- T.Text -- prgName- -> m () -- result-onErrorStackTrace prgName = liftIO $ do- prgName' <- textToCString prgName- g_on_error_stack_trace prgName'- freeMem prgName'- return ()----- function g_on_error_query--- Args : [Arg {argCName = "prg_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_on_error_query" g_on_error_query :: - CString -> -- prg_name : TBasicType TUTF8- IO ()---onErrorQuery ::- (MonadIO m) =>- T.Text -- prgName- -> m () -- result-onErrorQuery prgName = liftIO $ do- prgName' <- textToCString prgName- g_on_error_query prgName'- freeMem prgName'- return ()----- function g_nullify_pointer--- Args : [Arg {argCName = "nullify_location", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_nullify_pointer" g_nullify_pointer :: - Ptr () -> -- nullify_location : TBasicType TVoid- IO ()---nullifyPointer ::- (MonadIO m) =>- Ptr () -- nullifyLocation- -> m () -- result-nullifyPointer nullifyLocation = liftIO $ do- g_nullify_pointer nullifyLocation- return ()----- function g_mkstemp_full--- Args : [Arg {argCName = "tmpl", argType = TBasicType TFileName, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mode", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_mkstemp_full" g_mkstemp_full :: - CString -> -- tmpl : TBasicType TFileName- Int32 -> -- flags : TBasicType TInt32- Int32 -> -- mode : TBasicType TInt32- IO Int32---mkstempFull ::- (MonadIO m) =>- [Char] -- tmpl- -> Int32 -- flags- -> Int32 -- mode- -> m Int32 -- result-mkstempFull tmpl flags mode = liftIO $ do- tmpl' <- stringToCString tmpl- result <- g_mkstemp_full tmpl' flags mode- freeMem tmpl'- return result----- function g_mkstemp--- Args : [Arg {argCName = "tmpl", argType = TBasicType TFileName, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_mkstemp" g_mkstemp :: - CString -> -- tmpl : TBasicType TFileName- IO Int32---mkstemp ::- (MonadIO m) =>- [Char] -- tmpl- -> m Int32 -- result-mkstemp tmpl = liftIO $ do- tmpl' <- stringToCString tmpl- result <- g_mkstemp tmpl'- freeMem tmpl'- return result----- function g_mkdtemp_full--- Args : [Arg {argCName = "tmpl", argType = TBasicType TFileName, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mode", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_mkdtemp_full" g_mkdtemp_full :: - CString -> -- tmpl : TBasicType TFileName- Int32 -> -- mode : TBasicType TInt32- IO CString---mkdtempFull ::- (MonadIO m) =>- [Char] -- tmpl- -> Int32 -- mode- -> m T.Text -- result-mkdtempFull tmpl mode = liftIO $ do- tmpl' <- stringToCString tmpl- result <- g_mkdtemp_full tmpl' mode- checkUnexpectedReturnNULL "g_mkdtemp_full" result- result' <- cstringToText result- freeMem result- freeMem tmpl'- return result'----- function g_mkdtemp--- Args : [Arg {argCName = "tmpl", argType = TBasicType TFileName, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_mkdtemp" g_mkdtemp :: - CString -> -- tmpl : TBasicType TFileName- IO CString---mkdtemp ::- (MonadIO m) =>- [Char] -- tmpl- -> m T.Text -- result-mkdtemp tmpl = liftIO $ do- tmpl' <- stringToCString tmpl- result <- g_mkdtemp tmpl'- checkUnexpectedReturnNULL "g_mkdtemp" result- result' <- cstringToText result- freeMem result- freeMem tmpl'- return result'----- function g_mkdir_with_parents--- Args : [Arg {argCName = "pathname", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mode", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_mkdir_with_parents" g_mkdir_with_parents :: - CString -> -- pathname : TBasicType TUTF8- Int32 -> -- mode : TBasicType TInt32- IO Int32---mkdirWithParents ::- (MonadIO m) =>- T.Text -- pathname- -> Int32 -- mode- -> m Int32 -- result-mkdirWithParents pathname mode = liftIO $ do- pathname' <- textToCString pathname- result <- g_mkdir_with_parents pathname' mode- freeMem pathname'- return result----- function g_mem_set_vtable--- Args : [Arg {argCName = "vtable", argType = TInterface "GLib" "MemVTable", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_mem_set_vtable" g_mem_set_vtable :: - Ptr MemVTable -> -- vtable : TInterface "GLib" "MemVTable"- IO ()--{-# DEPRECATED memSetVtable ["(Since version 2.46)","Use other memory profiling tools instead"]#-}-memSetVtable ::- (MonadIO m) =>- MemVTable -- vtable- -> m () -- result-memSetVtable vtable = liftIO $ do- let vtable' = unsafeManagedPtrGetPtr vtable- g_mem_set_vtable vtable'- touchManagedPtr vtable- return ()----- function g_mem_profile--- Args : []--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_mem_profile" g_mem_profile :: - IO ()--{-# DEPRECATED memProfile ["(Since version 2.46)","Use other memory profiling tools instead"]#-}-memProfile ::- (MonadIO m) =>- m () -- result-memProfile = liftIO $ do- g_mem_profile- return ()----- function g_mem_is_system_malloc--- Args : []--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_mem_is_system_malloc" g_mem_is_system_malloc :: - IO CInt--{-# DEPRECATED memIsSystemMalloc ["(Since version 2.46)","GLib always uses the system malloc, so this function always","returns %TRUE."]#-}-memIsSystemMalloc ::- (MonadIO m) =>- m Bool -- result-memIsSystemMalloc = liftIO $ do- result <- g_mem_is_system_malloc- let result' = (/= 0) result- return result'----- function g_markup_escape_text--- Args : [Arg {argCName = "text", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_markup_escape_text" g_markup_escape_text :: - CString -> -- text : TBasicType TUTF8- Int64 -> -- length : TBasicType TInt64- IO CString---markupEscapeText ::- (MonadIO m) =>- T.Text -- text- -> Int64 -- length_- -> m T.Text -- result-markupEscapeText text length_ = liftIO $ do- text' <- textToCString text- result <- g_markup_escape_text text' length_- checkUnexpectedReturnNULL "g_markup_escape_text" result- result' <- cstringToText result- freeMem result- freeMem text'- return result'----- function g_markup_error_quark--- Args : []--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_markup_error_quark" g_markup_error_quark :: - IO Word32---markupErrorQuark ::- (MonadIO m) =>- m Word32 -- result-markupErrorQuark = liftIO $ do- result <- g_markup_error_quark- return result----- function g_main_depth--- Args : []--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_main_depth" g_main_depth :: - IO Int32---mainDepth ::- (MonadIO m) =>- m Int32 -- result-mainDepth = liftIO $ do- result <- g_main_depth- return result----- function g_main_current_source--- Args : []--- Lengths : []--- returnType : TInterface "GLib" "Source"--- throws : False--- Skip return : False--foreign import ccall "g_main_current_source" g_main_current_source :: - IO (Ptr Source)---mainCurrentSource ::- (MonadIO m) =>- m Source -- result-mainCurrentSource = liftIO $ do- result <- g_main_current_source- checkUnexpectedReturnNULL "g_main_current_source" result- result' <- (newBoxed Source) result- return result'----- function g_log_set_handler_full--- Args : [Arg {argCName = "log_domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "log_levels", argType = TInterface "GLib" "LogLevelFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "log_func", argType = TInterface "GLib" "LogFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeNotified, argClosure = 3, argDestroy = 4, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "destroy", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_log_set_handler_full" g_log_set_handler_full :: - CString -> -- log_domain : TBasicType TUTF8- CUInt -> -- log_levels : TInterface "GLib" "LogLevelFlags"- FunPtr LogFuncC -> -- log_func : TInterface "GLib" "LogFunc"- Ptr () -> -- user_data : TBasicType TVoid- FunPtr DestroyNotifyC -> -- destroy : TInterface "GLib" "DestroyNotify"- IO Word32---logSetHandler ::- (MonadIO m) =>- Maybe (T.Text) -- logDomain- -> [LogLevelFlags] -- logLevels- -> LogFunc -- logFunc- -> m Word32 -- result-logSetHandler logDomain logLevels logFunc = liftIO $ do- maybeLogDomain <- case logDomain of- Nothing -> return nullPtr- Just jLogDomain -> do- jLogDomain' <- textToCString jLogDomain- return jLogDomain'- let logLevels' = gflagsToWord logLevels- logFunc' <- mkLogFunc (logFuncWrapper Nothing logFunc)- let userData = castFunPtrToPtr logFunc'- let destroy = safeFreeFunPtrPtr- result <- g_log_set_handler_full maybeLogDomain logLevels' logFunc' userData destroy- freeMem maybeLogDomain- return result----- function g_log_set_fatal_mask--- Args : [Arg {argCName = "log_domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "fatal_mask", argType = TInterface "GLib" "LogLevelFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TInterface "GLib" "LogLevelFlags"--- throws : False--- Skip return : False--foreign import ccall "g_log_set_fatal_mask" g_log_set_fatal_mask :: - CString -> -- log_domain : TBasicType TUTF8- CUInt -> -- fatal_mask : TInterface "GLib" "LogLevelFlags"- IO CUInt---logSetFatalMask ::- (MonadIO m) =>- T.Text -- logDomain- -> [LogLevelFlags] -- fatalMask- -> m [LogLevelFlags] -- result-logSetFatalMask logDomain fatalMask = liftIO $ do- logDomain' <- textToCString logDomain- let fatalMask' = gflagsToWord fatalMask- result <- g_log_set_fatal_mask logDomain' fatalMask'- let result' = wordToGFlags result- freeMem logDomain'- return result'----- function g_log_set_always_fatal--- Args : [Arg {argCName = "fatal_mask", argType = TInterface "GLib" "LogLevelFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TInterface "GLib" "LogLevelFlags"--- throws : False--- Skip return : False--foreign import ccall "g_log_set_always_fatal" g_log_set_always_fatal :: - CUInt -> -- fatal_mask : TInterface "GLib" "LogLevelFlags"- IO CUInt---logSetAlwaysFatal ::- (MonadIO m) =>- [LogLevelFlags] -- fatalMask- -> m [LogLevelFlags] -- result-logSetAlwaysFatal fatalMask = liftIO $ do- let fatalMask' = gflagsToWord fatalMask- result <- g_log_set_always_fatal fatalMask'- let result' = wordToGFlags result- return result'----- function g_log_remove_handler--- Args : [Arg {argCName = "log_domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "handler_id", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_log_remove_handler" g_log_remove_handler :: - CString -> -- log_domain : TBasicType TUTF8- Word32 -> -- handler_id : TBasicType TUInt32- IO ()---logRemoveHandler ::- (MonadIO m) =>- T.Text -- logDomain- -> Word32 -- handlerId- -> m () -- result-logRemoveHandler logDomain handlerId = liftIO $ do- logDomain' <- textToCString logDomain- g_log_remove_handler logDomain' handlerId- freeMem logDomain'- return ()----- function g_log_default_handler--- Args : [Arg {argCName = "log_domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "log_level", argType = TInterface "GLib" "LogLevelFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "message", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "unused_data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_log_default_handler" g_log_default_handler :: - CString -> -- log_domain : TBasicType TUTF8- CUInt -> -- log_level : TInterface "GLib" "LogLevelFlags"- CString -> -- message : TBasicType TUTF8- Ptr () -> -- unused_data : TBasicType TVoid- IO ()---logDefaultHandler ::- (MonadIO m) =>- T.Text -- logDomain- -> [LogLevelFlags] -- logLevel- -> T.Text -- message- -> Ptr () -- unusedData- -> m () -- result-logDefaultHandler logDomain logLevel message unusedData = liftIO $ do- logDomain' <- textToCString logDomain- let logLevel' = gflagsToWord logLevel- message' <- textToCString message- g_log_default_handler logDomain' logLevel' message' unusedData- freeMem logDomain'- freeMem message'- return ()----- function g_locale_to_utf8--- Args : [Arg {argCName = "opsysstring", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_read", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_written", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : True--- Skip return : False--foreign import ccall "g_locale_to_utf8" g_locale_to_utf8 :: - CString -> -- opsysstring : TBasicType TUTF8- Int64 -> -- len : TBasicType TInt64- Word64 -> -- bytes_read : TBasicType TUInt64- Word64 -> -- bytes_written : TBasicType TUInt64- Ptr (Ptr GError) -> -- error- IO CString---localeToUtf8 ::- (MonadIO m) =>- T.Text -- opsysstring- -> Int64 -- len- -> Word64 -- bytesRead- -> Word64 -- bytesWritten- -> m T.Text -- result-localeToUtf8 opsysstring len bytesRead bytesWritten = liftIO $ do- opsysstring' <- textToCString opsysstring- onException (do- result <- propagateGError $ g_locale_to_utf8 opsysstring' len bytesRead bytesWritten- checkUnexpectedReturnNULL "g_locale_to_utf8" result- result' <- cstringToText result- freeMem result- freeMem opsysstring'- return result'- ) (do- freeMem opsysstring'- )----- function g_locale_from_utf8--- Args : [Arg {argCName = "utf8string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_read", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_written", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : True--- Skip return : False--foreign import ccall "g_locale_from_utf8" g_locale_from_utf8 :: - CString -> -- utf8string : TBasicType TUTF8- Int64 -> -- len : TBasicType TInt64- Word64 -> -- bytes_read : TBasicType TUInt64- Word64 -> -- bytes_written : TBasicType TUInt64- Ptr (Ptr GError) -> -- error- IO CString---localeFromUtf8 ::- (MonadIO m) =>- T.Text -- utf8string- -> Int64 -- len- -> Word64 -- bytesRead- -> Word64 -- bytesWritten- -> m T.Text -- result-localeFromUtf8 utf8string len bytesRead bytesWritten = liftIO $ do- utf8string' <- textToCString utf8string- onException (do- result <- propagateGError $ g_locale_from_utf8 utf8string' len bytesRead bytesWritten- checkUnexpectedReturnNULL "g_locale_from_utf8" result- result' <- cstringToText result- freeMem result- freeMem utf8string'- return result'- ) (do- freeMem utf8string'- )----- function g_listenv--- Args : []--- Lengths : []--- returnType : TCArray True (-1) (-1) (TBasicType TUTF8)--- throws : False--- Skip return : False--foreign import ccall "g_listenv" g_listenv :: - IO (Ptr CString)---listenv ::- (MonadIO m) =>- m [T.Text] -- result-listenv = liftIO $ do- result <- g_listenv- checkUnexpectedReturnNULL "g_listenv" result- result' <- unpackZeroTerminatedUTF8CArray result- mapZeroTerminatedCArray freeMem result- freeMem result- return result'----- function g_io_create_watch--- Args : [Arg {argCName = "channel", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "condition", argType = TInterface "GLib" "IOCondition", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TInterface "GLib" "Source"--- throws : False--- Skip return : False--foreign import ccall "g_io_create_watch" g_io_create_watch :: - Ptr IOChannel -> -- channel : TInterface "GLib" "IOChannel"- CUInt -> -- condition : TInterface "GLib" "IOCondition"- IO (Ptr Source)---ioCreateWatch ::- (MonadIO m) =>- IOChannel -- channel- -> [IOCondition] -- condition- -> m Source -- result-ioCreateWatch channel condition = liftIO $ do- let channel' = unsafeManagedPtrGetPtr channel- let condition' = gflagsToWord condition- result <- g_io_create_watch channel' condition'- checkUnexpectedReturnNULL "g_io_create_watch" result- result' <- (wrapBoxed Source) result- touchManagedPtr channel- return result'----- function g_io_add_watch_full--- Args : [Arg {argCName = "channel", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "priority", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "condition", argType = TInterface "GLib" "IOCondition", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TInterface "GLib" "IOFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeNotified, argClosure = 4, argDestroy = 5, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_io_add_watch_full" g_io_add_watch_full :: - Ptr IOChannel -> -- channel : TInterface "GLib" "IOChannel"- Int32 -> -- priority : TBasicType TInt32- CUInt -> -- condition : TInterface "GLib" "IOCondition"- FunPtr IOFuncC -> -- func : TInterface "GLib" "IOFunc"- Ptr () -> -- user_data : TBasicType TVoid- FunPtr DestroyNotifyC -> -- notify : TInterface "GLib" "DestroyNotify"- IO Word32---ioAddWatch ::- (MonadIO m) =>- IOChannel -- channel- -> Int32 -- priority- -> [IOCondition] -- condition- -> IOFunc -- func- -> m Word32 -- result-ioAddWatch channel priority condition func = liftIO $ do- let channel' = unsafeManagedPtrGetPtr channel- let condition' = gflagsToWord condition- func' <- mkIOFunc (iOFuncWrapper Nothing func)- let userData = castFunPtrToPtr func'- let notify = safeFreeFunPtrPtr- result <- g_io_add_watch_full channel' priority condition' func' userData notify- touchManagedPtr channel- return result----- function g_intern_string--- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_intern_string" g_intern_string :: - CString -> -- string : TBasicType TUTF8- IO CString---internString ::- (MonadIO m) =>- Maybe (T.Text) -- string- -> m T.Text -- result-internString string = liftIO $ do- maybeString <- case string of- Nothing -> return nullPtr- Just jString -> do- jString' <- textToCString jString- return jString'- result <- g_intern_string maybeString- checkUnexpectedReturnNULL "g_intern_string" result- result' <- cstringToText result- freeMem maybeString- return result'----- function g_intern_static_string--- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_intern_static_string" g_intern_static_string :: - CString -> -- string : TBasicType TUTF8- IO CString---internStaticString ::- (MonadIO m) =>- Maybe (T.Text) -- string- -> m T.Text -- result-internStaticString string = liftIO $ do- maybeString <- case string of- Nothing -> return nullPtr- Just jString -> do- jString' <- textToCString jString- return jString'- result <- g_intern_static_string maybeString- checkUnexpectedReturnNULL "g_intern_static_string" result- result' <- cstringToText result- freeMem maybeString- return result'----- function g_int_hash--- Args : [Arg {argCName = "v", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_int_hash" g_int_hash :: - Ptr () -> -- v : TBasicType TVoid- IO Word32---intHash ::- (MonadIO m) =>- Ptr () -- v- -> m Word32 -- result-intHash v = liftIO $ do- result <- g_int_hash v- return result----- function g_int_equal--- Args : [Arg {argCName = "v1", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "v2", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_int_equal" g_int_equal :: - Ptr () -> -- v1 : TBasicType TVoid- Ptr () -> -- v2 : TBasicType TVoid- IO CInt---intEqual ::- (MonadIO m) =>- Ptr () -- v1- -> Ptr () -- v2- -> m Bool -- result-intEqual v1 v2 = liftIO $ do- result <- g_int_equal v1 v2- let result' = (/= 0) result- return result'----- function g_int64_hash--- Args : [Arg {argCName = "v", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_int64_hash" g_int64_hash :: - Ptr () -> -- v : TBasicType TVoid- IO Word32---int64Hash ::- (MonadIO m) =>- Ptr () -- v- -> m Word32 -- result-int64Hash v = liftIO $ do- result <- g_int64_hash v- return result----- function g_int64_equal--- Args : [Arg {argCName = "v1", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "v2", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_int64_equal" g_int64_equal :: - Ptr () -> -- v1 : TBasicType TVoid- Ptr () -> -- v2 : TBasicType TVoid- IO CInt---int64Equal ::- (MonadIO m) =>- Ptr () -- v1- -> Ptr () -- v2- -> m Bool -- result-int64Equal v1 v2 = liftIO $ do- result <- g_int64_equal v1 v2- let result' = (/= 0) result- return result'----- function g_idle_source_new--- Args : []--- Lengths : []--- returnType : TInterface "GLib" "Source"--- throws : False--- Skip return : False--foreign import ccall "g_idle_source_new" g_idle_source_new :: - IO (Ptr Source)---idleSourceNew ::- (MonadIO m) =>- m Source -- result-idleSourceNew = liftIO $ do- result <- g_idle_source_new- checkUnexpectedReturnNULL "g_idle_source_new" result- result' <- (wrapBoxed Source) result- return result'----- function g_idle_remove_by_data--- Args : [Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_idle_remove_by_data" g_idle_remove_by_data :: - Ptr () -> -- data : TBasicType TVoid- IO CInt---idleRemoveByData ::- (MonadIO m) =>- Ptr () -- data_- -> m Bool -- result-idleRemoveByData data_ = liftIO $ do- result <- g_idle_remove_by_data data_- let result' = (/= 0) result- return result'----- function g_idle_add_full--- Args : [Arg {argCName = "priority", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "function", argType = TInterface "GLib" "SourceFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeNotified, argClosure = 2, argDestroy = 3, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_idle_add_full" g_idle_add_full :: - Int32 -> -- priority : TBasicType TInt32- FunPtr SourceFuncC -> -- function : TInterface "GLib" "SourceFunc"- Ptr () -> -- data : TBasicType TVoid- FunPtr DestroyNotifyC -> -- notify : TInterface "GLib" "DestroyNotify"- IO Word32---idleAdd ::- (MonadIO m) =>- Int32 -- priority- -> SourceFunc -- function- -> m Word32 -- result-idleAdd priority function = liftIO $ do- function' <- mkSourceFunc (sourceFuncWrapper Nothing function)- let data_ = castFunPtrToPtr function'- let notify = safeFreeFunPtrPtr- result <- g_idle_add_full priority function' data_ notify- return result----- function g_iconv--- Args : [Arg {argCName = "converter", argType = TInterface "GLib" "IConv", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "inbuf", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "inbytes_left", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "outbuf", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "outbytes_left", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt64--- throws : False--- Skip return : False--foreign import ccall "g_iconv" g_iconv :: - Ptr IConv -> -- converter : TInterface "GLib" "IConv"- CString -> -- inbuf : TBasicType TUTF8- Word64 -> -- inbytes_left : TBasicType TUInt64- CString -> -- outbuf : TBasicType TUTF8- Word64 -> -- outbytes_left : TBasicType TUInt64- IO Word64---iconv ::- (MonadIO m) =>- IConv -- converter- -> T.Text -- inbuf- -> Word64 -- inbytesLeft- -> T.Text -- outbuf- -> Word64 -- outbytesLeft- -> m Word64 -- result-iconv converter inbuf inbytesLeft outbuf outbytesLeft = liftIO $ do- let converter' = unsafeManagedPtrGetPtr converter- inbuf' <- textToCString inbuf- outbuf' <- textToCString outbuf- result <- g_iconv converter' inbuf' inbytesLeft outbuf' outbytesLeft- touchManagedPtr converter- freeMem inbuf'- freeMem outbuf'- return result----- function g_hostname_to_unicode--- Args : [Arg {argCName = "hostname", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_hostname_to_unicode" g_hostname_to_unicode :: - CString -> -- hostname : TBasicType TUTF8- IO CString---hostnameToUnicode ::- (MonadIO m) =>- T.Text -- hostname- -> m T.Text -- result-hostnameToUnicode hostname = liftIO $ do- hostname' <- textToCString hostname- result <- g_hostname_to_unicode hostname'- checkUnexpectedReturnNULL "g_hostname_to_unicode" result- result' <- cstringToText result- freeMem result- freeMem hostname'- return result'----- function g_hostname_to_ascii--- Args : [Arg {argCName = "hostname", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_hostname_to_ascii" g_hostname_to_ascii :: - CString -> -- hostname : TBasicType TUTF8- IO CString---hostnameToAscii ::- (MonadIO m) =>- T.Text -- hostname- -> m T.Text -- result-hostnameToAscii hostname = liftIO $ do- hostname' <- textToCString hostname- result <- g_hostname_to_ascii hostname'- checkUnexpectedReturnNULL "g_hostname_to_ascii" result- result' <- cstringToText result- freeMem result- freeMem hostname'- return result'----- function g_hostname_is_non_ascii--- Args : [Arg {argCName = "hostname", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_hostname_is_non_ascii" g_hostname_is_non_ascii :: - CString -> -- hostname : TBasicType TUTF8- IO CInt---hostnameIsNonAscii ::- (MonadIO m) =>- T.Text -- hostname- -> m Bool -- result-hostnameIsNonAscii hostname = liftIO $ do- hostname' <- textToCString hostname- result <- g_hostname_is_non_ascii hostname'- let result' = (/= 0) result- freeMem hostname'- return result'----- function g_hostname_is_ip_address--- Args : [Arg {argCName = "hostname", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_hostname_is_ip_address" g_hostname_is_ip_address :: - CString -> -- hostname : TBasicType TUTF8- IO CInt---hostnameIsIpAddress ::- (MonadIO m) =>- T.Text -- hostname- -> m Bool -- result-hostnameIsIpAddress hostname = liftIO $ do- hostname' <- textToCString hostname- result <- g_hostname_is_ip_address hostname'- let result' = (/= 0) result- freeMem hostname'- return result'----- function g_hostname_is_ascii_encoded--- Args : [Arg {argCName = "hostname", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_hostname_is_ascii_encoded" g_hostname_is_ascii_encoded :: - CString -> -- hostname : TBasicType TUTF8- IO CInt---hostnameIsAsciiEncoded ::- (MonadIO m) =>- T.Text -- hostname- -> m Bool -- result-hostnameIsAsciiEncoded hostname = liftIO $ do- hostname' <- textToCString hostname- result <- g_hostname_is_ascii_encoded hostname'- let result' = (/= 0) result- freeMem hostname'- return result'----- function g_getenv--- Args : [Arg {argCName = "variable", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_getenv" g_getenv :: - CString -> -- variable : TBasicType TUTF8- IO CString---getenv ::- (MonadIO m) =>- T.Text -- variable- -> m T.Text -- result-getenv variable = liftIO $ do- variable' <- textToCString variable- result <- g_getenv variable'- checkUnexpectedReturnNULL "g_getenv" result- result' <- cstringToText result- freeMem variable'- return result'----- function g_get_user_special_dir--- Args : [Arg {argCName = "directory", argType = TInterface "GLib" "UserDirectory", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_get_user_special_dir" g_get_user_special_dir :: - CUInt -> -- directory : TInterface "GLib" "UserDirectory"- IO CString---getUserSpecialDir ::- (MonadIO m) =>- UserDirectory -- directory- -> m T.Text -- result-getUserSpecialDir directory = liftIO $ do- let directory' = (fromIntegral . fromEnum) directory- result <- g_get_user_special_dir directory'- checkUnexpectedReturnNULL "g_get_user_special_dir" result- result' <- cstringToText result- return result'----- function g_get_user_runtime_dir--- Args : []--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_get_user_runtime_dir" g_get_user_runtime_dir :: - IO CString---getUserRuntimeDir ::- (MonadIO m) =>- m T.Text -- result-getUserRuntimeDir = liftIO $ do- result <- g_get_user_runtime_dir- checkUnexpectedReturnNULL "g_get_user_runtime_dir" result- result' <- cstringToText result- return result'----- function g_get_user_name--- Args : []--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_get_user_name" g_get_user_name :: - IO CString---getUserName ::- (MonadIO m) =>- m T.Text -- result-getUserName = liftIO $ do- result <- g_get_user_name- checkUnexpectedReturnNULL "g_get_user_name" result- result' <- cstringToText result- return result'----- function g_get_user_data_dir--- Args : []--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_get_user_data_dir" g_get_user_data_dir :: - IO CString---getUserDataDir ::- (MonadIO m) =>- m T.Text -- result-getUserDataDir = liftIO $ do- result <- g_get_user_data_dir- checkUnexpectedReturnNULL "g_get_user_data_dir" result- result' <- cstringToText result- return result'----- function g_get_user_config_dir--- Args : []--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_get_user_config_dir" g_get_user_config_dir :: - IO CString---getUserConfigDir ::- (MonadIO m) =>- m T.Text -- result-getUserConfigDir = liftIO $ do- result <- g_get_user_config_dir- checkUnexpectedReturnNULL "g_get_user_config_dir" result- result' <- cstringToText result- return result'----- function g_get_user_cache_dir--- Args : []--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_get_user_cache_dir" g_get_user_cache_dir :: - IO CString---getUserCacheDir ::- (MonadIO m) =>- m T.Text -- result-getUserCacheDir = liftIO $ do- result <- g_get_user_cache_dir- checkUnexpectedReturnNULL "g_get_user_cache_dir" result- result' <- cstringToText result- return result'----- function g_get_tmp_dir--- Args : []--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_get_tmp_dir" g_get_tmp_dir :: - IO CString---getTmpDir ::- (MonadIO m) =>- m T.Text -- result-getTmpDir = liftIO $ do- result <- g_get_tmp_dir- checkUnexpectedReturnNULL "g_get_tmp_dir" result- result' <- cstringToText result- return result'----- function g_get_system_data_dirs--- Args : []--- Lengths : []--- returnType : TCArray True (-1) (-1) (TBasicType TUTF8)--- throws : False--- Skip return : False--foreign import ccall "g_get_system_data_dirs" g_get_system_data_dirs :: - IO (Ptr CString)---getSystemDataDirs ::- (MonadIO m) =>- m [T.Text] -- result-getSystemDataDirs = liftIO $ do- result <- g_get_system_data_dirs- checkUnexpectedReturnNULL "g_get_system_data_dirs" result- result' <- unpackZeroTerminatedUTF8CArray result- return result'----- function g_get_system_config_dirs--- Args : []--- Lengths : []--- returnType : TCArray True (-1) (-1) (TBasicType TUTF8)--- throws : False--- Skip return : False--foreign import ccall "g_get_system_config_dirs" g_get_system_config_dirs :: - IO (Ptr CString)---getSystemConfigDirs ::- (MonadIO m) =>- m [T.Text] -- result-getSystemConfigDirs = liftIO $ do- result <- g_get_system_config_dirs- checkUnexpectedReturnNULL "g_get_system_config_dirs" result- result' <- unpackZeroTerminatedUTF8CArray result- return result'----- function g_get_real_time--- Args : []--- Lengths : []--- returnType : TBasicType TInt64--- throws : False--- Skip return : False--foreign import ccall "g_get_real_time" g_get_real_time :: - IO Int64---getRealTime ::- (MonadIO m) =>- m Int64 -- result-getRealTime = liftIO $ do- result <- g_get_real_time- return result----- function g_get_real_name--- Args : []--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_get_real_name" g_get_real_name :: - IO CString---getRealName ::- (MonadIO m) =>- m T.Text -- result-getRealName = liftIO $ do- result <- g_get_real_name- checkUnexpectedReturnNULL "g_get_real_name" result- result' <- cstringToText result- return result'----- function g_get_prgname--- Args : []--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_get_prgname" g_get_prgname :: - IO CString---getPrgname ::- (MonadIO m) =>- m T.Text -- result-getPrgname = liftIO $ do- result <- g_get_prgname- checkUnexpectedReturnNULL "g_get_prgname" result- result' <- cstringToText result- return result'----- function g_get_num_processors--- Args : []--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_get_num_processors" g_get_num_processors :: - IO Word32---getNumProcessors ::- (MonadIO m) =>- m Word32 -- result-getNumProcessors = liftIO $ do- result <- g_get_num_processors- return result----- function g_get_monotonic_time--- Args : []--- Lengths : []--- returnType : TBasicType TInt64--- throws : False--- Skip return : False--foreign import ccall "g_get_monotonic_time" g_get_monotonic_time :: - IO Int64---getMonotonicTime ::- (MonadIO m) =>- m Int64 -- result-getMonotonicTime = liftIO $ do- result <- g_get_monotonic_time- return result----- function g_get_locale_variants--- Args : [Arg {argCName = "locale", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TCArray True (-1) (-1) (TBasicType TUTF8)--- throws : False--- Skip return : False--foreign import ccall "g_get_locale_variants" g_get_locale_variants :: - CString -> -- locale : TBasicType TUTF8- IO (Ptr CString)---getLocaleVariants ::- (MonadIO m) =>- T.Text -- locale- -> m [T.Text] -- result-getLocaleVariants locale = liftIO $ do- locale' <- textToCString locale- result <- g_get_locale_variants locale'- checkUnexpectedReturnNULL "g_get_locale_variants" result- result' <- unpackZeroTerminatedUTF8CArray result- mapZeroTerminatedCArray freeMem result- freeMem result- freeMem locale'- return result'----- function g_get_language_names--- Args : []--- Lengths : []--- returnType : TCArray True (-1) (-1) (TBasicType TUTF8)--- throws : False--- Skip return : False--foreign import ccall "g_get_language_names" g_get_language_names :: - IO (Ptr CString)---getLanguageNames ::- (MonadIO m) =>- m [T.Text] -- result-getLanguageNames = liftIO $ do- result <- g_get_language_names- checkUnexpectedReturnNULL "g_get_language_names" result- result' <- unpackZeroTerminatedUTF8CArray result- return result'----- function g_get_host_name--- Args : []--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_get_host_name" g_get_host_name :: - IO CString---getHostName ::- (MonadIO m) =>- m T.Text -- result-getHostName = liftIO $ do- result <- g_get_host_name- checkUnexpectedReturnNULL "g_get_host_name" result- result' <- cstringToText result- return result'----- function g_get_home_dir--- Args : []--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_get_home_dir" g_get_home_dir :: - IO CString---getHomeDir ::- (MonadIO m) =>- m T.Text -- result-getHomeDir = liftIO $ do- result <- g_get_home_dir- checkUnexpectedReturnNULL "g_get_home_dir" result- result' <- cstringToText result- return result'----- function g_get_filename_charsets--- Args : [Arg {argCName = "charsets", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_get_filename_charsets" g_get_filename_charsets :: - CString -> -- charsets : TBasicType TUTF8- IO CInt---getFilenameCharsets ::- (MonadIO m) =>- T.Text -- charsets- -> m Bool -- result-getFilenameCharsets charsets = liftIO $ do- charsets' <- textToCString charsets- result <- g_get_filename_charsets charsets'- let result' = (/= 0) result- freeMem charsets'- return result'----- function g_get_environ--- Args : []--- Lengths : []--- returnType : TCArray True (-1) (-1) (TBasicType TUTF8)--- throws : False--- Skip return : False--foreign import ccall "g_get_environ" g_get_environ :: - IO (Ptr CString)---getEnviron ::- (MonadIO m) =>- m [T.Text] -- result-getEnviron = liftIO $ do- result <- g_get_environ- checkUnexpectedReturnNULL "g_get_environ" result- result' <- unpackZeroTerminatedUTF8CArray result- mapZeroTerminatedCArray freeMem result- freeMem result- return result'----- function g_get_current_time--- Args : [Arg {argCName = "result", argType = TInterface "GLib" "TimeVal", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_get_current_time" g_get_current_time :: - Ptr TimeVal -> -- result : TInterface "GLib" "TimeVal"- IO ()---getCurrentTime ::- (MonadIO m) =>- TimeVal -- result_- -> m () -- result-getCurrentTime result_ = liftIO $ do- let result_' = unsafeManagedPtrGetPtr result_- g_get_current_time result_'- touchManagedPtr result_- return ()----- function g_get_current_dir--- Args : []--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_get_current_dir" g_get_current_dir :: - IO CString---getCurrentDir ::- (MonadIO m) =>- m T.Text -- result-getCurrentDir = liftIO $ do- result <- g_get_current_dir- checkUnexpectedReturnNULL "g_get_current_dir" result- result' <- cstringToText result- freeMem result- return result'----- function g_get_codeset--- Args : []--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_get_codeset" g_get_codeset :: - IO CString---getCodeset ::- (MonadIO m) =>- m T.Text -- result-getCodeset = liftIO $ do- result <- g_get_codeset- checkUnexpectedReturnNULL "g_get_codeset" result- result' <- cstringToText result- freeMem result- return result'----- function g_get_charset--- Args : [Arg {argCName = "charset", argType = TBasicType TUTF8, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_get_charset" g_get_charset :: - Ptr CString -> -- charset : TBasicType TUTF8- IO CInt---getCharset ::- (MonadIO m) =>- m (Bool,T.Text) -- result-getCharset = liftIO $ do- charset <- allocMem :: IO (Ptr CString)- result <- g_get_charset charset- let result' = (/= 0) result- charset' <- peek charset- charset'' <- cstringToText charset'- freeMem charset- return (result', charset'')----- function g_get_application_name--- Args : []--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_get_application_name" g_get_application_name :: - IO CString---getApplicationName ::- (MonadIO m) =>- m T.Text -- result-getApplicationName = liftIO $ do- result <- g_get_application_name- checkUnexpectedReturnNULL "g_get_application_name" result- result' <- cstringToText result- return result'----- function g_free--- Args : [Arg {argCName = "mem", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_free" g_free :: - Ptr () -> -- mem : TBasicType TVoid- IO ()---free ::- (MonadIO m) =>- Maybe (Ptr ()) -- mem- -> m () -- result-free mem = liftIO $ do- maybeMem <- case mem of- Nothing -> return nullPtr- Just jMem -> do- return jMem- g_free maybeMem- return ()----- function g_format_size_full--- Args : [Arg {argCName = "size", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TInterface "GLib" "FormatSizeFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_format_size_full" g_format_size_full :: - Word64 -> -- size : TBasicType TUInt64- CUInt -> -- flags : TInterface "GLib" "FormatSizeFlags"- IO CString---formatSizeFull ::- (MonadIO m) =>- Word64 -- size- -> [FormatSizeFlags] -- flags- -> m T.Text -- result-formatSizeFull size flags = liftIO $ do- let flags' = gflagsToWord flags- result <- g_format_size_full size flags'- checkUnexpectedReturnNULL "g_format_size_full" result- result' <- cstringToText result- freeMem result- return result'----- function g_format_size_for_display--- Args : [Arg {argCName = "size", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_format_size_for_display" g_format_size_for_display :: - Int64 -> -- size : TBasicType TInt64- IO CString--{-# DEPRECATED formatSizeForDisplay ["(Since version 2.30)","This function is broken due to its use of SI"," suffixes to denote IEC units. Use g_format_size() instead."]#-}-formatSizeForDisplay ::- (MonadIO m) =>- Int64 -- size- -> m T.Text -- result-formatSizeForDisplay size = liftIO $ do- result <- g_format_size_for_display size- checkUnexpectedReturnNULL "g_format_size_for_display" result- result' <- cstringToText result- freeMem result- return result'----- function g_format_size--- Args : [Arg {argCName = "size", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_format_size" g_format_size :: - Word64 -> -- size : TBasicType TUInt64- IO CString---formatSize ::- (MonadIO m) =>- Word64 -- size- -> m T.Text -- result-formatSize size = liftIO $ do- result <- g_format_size size- checkUnexpectedReturnNULL "g_format_size" result- result' <- cstringToText result- freeMem result- return result'----- function g_find_program_in_path--- Args : [Arg {argCName = "program", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_find_program_in_path" g_find_program_in_path :: - CString -> -- program : TBasicType TUTF8- IO CString---findProgramInPath ::- (MonadIO m) =>- T.Text -- program- -> m T.Text -- result-findProgramInPath program = liftIO $ do- program' <- textToCString program- result <- g_find_program_in_path program'- checkUnexpectedReturnNULL "g_find_program_in_path" result- result' <- cstringToText result- freeMem result- freeMem program'- return result'----- function g_filename_to_utf8--- Args : [Arg {argCName = "opsysstring", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_read", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_written", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : True--- Skip return : False--foreign import ccall "g_filename_to_utf8" g_filename_to_utf8 :: - CString -> -- opsysstring : TBasicType TUTF8- Int64 -> -- len : TBasicType TInt64- Word64 -> -- bytes_read : TBasicType TUInt64- Word64 -> -- bytes_written : TBasicType TUInt64- Ptr (Ptr GError) -> -- error- IO CString---filenameToUtf8 ::- (MonadIO m) =>- T.Text -- opsysstring- -> Int64 -- len- -> Word64 -- bytesRead- -> Word64 -- bytesWritten- -> m T.Text -- result-filenameToUtf8 opsysstring len bytesRead bytesWritten = liftIO $ do- opsysstring' <- textToCString opsysstring- onException (do- result <- propagateGError $ g_filename_to_utf8 opsysstring' len bytesRead bytesWritten- checkUnexpectedReturnNULL "g_filename_to_utf8" result- result' <- cstringToText result- freeMem result- freeMem opsysstring'- return result'- ) (do- freeMem opsysstring'- )----- function g_filename_to_uri--- Args : [Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hostname", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : True--- Skip return : False--foreign import ccall "g_filename_to_uri" g_filename_to_uri :: - CString -> -- filename : TBasicType TUTF8- CString -> -- hostname : TBasicType TUTF8- Ptr (Ptr GError) -> -- error- IO CString---filenameToUri ::- (MonadIO m) =>- T.Text -- filename- -> Maybe (T.Text) -- hostname- -> m T.Text -- result-filenameToUri filename hostname = liftIO $ do- filename' <- textToCString filename- maybeHostname <- case hostname of- Nothing -> return nullPtr- Just jHostname -> do- jHostname' <- textToCString jHostname- return jHostname'- onException (do- result <- propagateGError $ g_filename_to_uri filename' maybeHostname- checkUnexpectedReturnNULL "g_filename_to_uri" result- result' <- cstringToText result- freeMem result- freeMem filename'- freeMem maybeHostname- return result'- ) (do- freeMem filename'- freeMem maybeHostname- )----- function g_filename_from_utf8--- Args : [Arg {argCName = "utf8string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_read", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "bytes_written", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- Lengths : [Arg {argCName = "bytes_written", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- returnType : TCArray False (-1) 3 (TBasicType TUInt8)--- throws : True--- Skip return : False--foreign import ccall "g_filename_from_utf8" g_filename_from_utf8 :: - CString -> -- utf8string : TBasicType TUTF8- Int64 -> -- len : TBasicType TInt64- Ptr Word64 -> -- bytes_read : TBasicType TUInt64- Ptr Word64 -> -- bytes_written : TBasicType TUInt64- Ptr (Ptr GError) -> -- error- IO (Ptr Word8)---filenameFromUtf8 ::- (MonadIO m) =>- T.Text -- utf8string- -> Int64 -- len- -> m (ByteString,Word64) -- result-filenameFromUtf8 utf8string len = liftIO $ do- utf8string' <- textToCString utf8string- bytesRead <- allocMem :: IO (Ptr Word64)- bytesWritten <- allocMem :: IO (Ptr Word64)- onException (do- result <- propagateGError $ g_filename_from_utf8 utf8string' len bytesRead bytesWritten- bytesWritten' <- peek bytesWritten- checkUnexpectedReturnNULL "g_filename_from_utf8" result- result' <- (unpackByteStringWithLength bytesWritten') result- freeMem result- bytesRead' <- peek bytesRead- freeMem utf8string'- freeMem bytesRead- freeMem bytesWritten- return (result', bytesRead')- ) (do- freeMem utf8string'- freeMem bytesRead- freeMem bytesWritten- )----- function g_filename_from_uri--- Args : [Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hostname", argType = TBasicType TUTF8, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- Lengths : []--- returnType : TBasicType TFileName--- throws : True--- Skip return : False--foreign import ccall "g_filename_from_uri" g_filename_from_uri :: - CString -> -- uri : TBasicType TUTF8- Ptr CString -> -- hostname : TBasicType TUTF8- Ptr (Ptr GError) -> -- error- IO CString---filenameFromUri ::- (MonadIO m) =>- T.Text -- uri- -> m ([Char],T.Text) -- result-filenameFromUri uri = liftIO $ do- uri' <- textToCString uri- hostname <- allocMem :: IO (Ptr CString)- onException (do- result <- propagateGError $ g_filename_from_uri uri' hostname- checkUnexpectedReturnNULL "g_filename_from_uri" result- result' <- cstringToString result- freeMem result- hostname' <- peek hostname- hostname'' <- cstringToText hostname'- freeMem hostname'- freeMem uri'- freeMem hostname- return (result', hostname'')- ) (do- freeMem uri'- freeMem hostname- )----- function g_filename_display_name--- Args : [Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_filename_display_name" g_filename_display_name :: - CString -> -- filename : TBasicType TUTF8- IO CString---filenameDisplayName ::- (MonadIO m) =>- T.Text -- filename- -> m T.Text -- result-filenameDisplayName filename = liftIO $ do- filename' <- textToCString filename- result <- g_filename_display_name filename'- checkUnexpectedReturnNULL "g_filename_display_name" result- result' <- cstringToText result- freeMem result- freeMem filename'- return result'----- function g_filename_display_basename--- Args : [Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_filename_display_basename" g_filename_display_basename :: - CString -> -- filename : TBasicType TUTF8- IO CString---filenameDisplayBasename ::- (MonadIO m) =>- T.Text -- filename- -> m T.Text -- result-filenameDisplayBasename filename = liftIO $ do- filename' <- textToCString filename- result <- g_filename_display_basename filename'- checkUnexpectedReturnNULL "g_filename_display_basename" result- result' <- cstringToText result- freeMem result- freeMem filename'- return result'----- function g_file_test--- Args : [Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "test", argType = TInterface "GLib" "FileTest", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_file_test" g_file_test :: - CString -> -- filename : TBasicType TUTF8- CUInt -> -- test : TInterface "GLib" "FileTest"- IO CInt---fileTest ::- (MonadIO m) =>- T.Text -- filename- -> [FileTest] -- test- -> m Bool -- result-fileTest filename test = liftIO $ do- filename' <- textToCString filename- let test' = gflagsToWord test- result <- g_file_test filename' test'- let result' = (/= 0) result- freeMem filename'- return result'----- function g_file_set_contents--- Args : [Arg {argCName = "filename", argType = TBasicType TFileName, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "contents", argType = TCArray False (-1) 2 (TBasicType TUInt8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : [Arg {argCName = "length", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TBasicType TBoolean--- throws : True--- Skip return : False--foreign import ccall "g_file_set_contents" g_file_set_contents :: - CString -> -- filename : TBasicType TFileName- Ptr Word8 -> -- contents : TCArray False (-1) 2 (TBasicType TUInt8)- Int64 -> -- length : TBasicType TInt64- Ptr (Ptr GError) -> -- error- IO CInt---fileSetContents ::- (MonadIO m) =>- [Char] -- filename- -> ByteString -- contents- -> m () -- result-fileSetContents filename contents = liftIO $ do- let length_ = fromIntegral $ B.length contents- filename' <- stringToCString filename- contents' <- packByteString contents- onException (do- _ <- propagateGError $ g_file_set_contents filename' contents' length_- freeMem filename'- freeMem contents'- return ()- ) (do- freeMem filename'- freeMem contents'- )----- function g_file_read_link--- Args : [Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : True--- Skip return : False--foreign import ccall "g_file_read_link" g_file_read_link :: - CString -> -- filename : TBasicType TUTF8- Ptr (Ptr GError) -> -- error- IO CString---fileReadLink ::- (MonadIO m) =>- T.Text -- filename- -> m T.Text -- result-fileReadLink filename = liftIO $ do- filename' <- textToCString filename- onException (do- result <- propagateGError $ g_file_read_link filename'- checkUnexpectedReturnNULL "g_file_read_link" result- result' <- cstringToText result- freeMem result- freeMem filename'- return result'- ) (do- freeMem filename'- )----- function g_file_open_tmp--- Args : [Arg {argCName = "tmpl", argType = TBasicType TFileName, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "name_used", argType = TBasicType TFileName, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : True--- Skip return : False--foreign import ccall "g_file_open_tmp" g_file_open_tmp :: - CString -> -- tmpl : TBasicType TFileName- Ptr CString -> -- name_used : TBasicType TFileName- Ptr (Ptr GError) -> -- error- IO Int32---fileOpenTmp ::- (MonadIO m) =>- Maybe ([Char]) -- tmpl- -> m (Int32,[Char]) -- result-fileOpenTmp tmpl = liftIO $ do- maybeTmpl <- case tmpl of- Nothing -> return nullPtr- Just jTmpl -> do- jTmpl' <- stringToCString jTmpl- return jTmpl'- nameUsed <- allocMem :: IO (Ptr CString)- onException (do- result <- propagateGError $ g_file_open_tmp maybeTmpl nameUsed- nameUsed' <- peek nameUsed- nameUsed'' <- cstringToString nameUsed'- freeMem nameUsed'- freeMem maybeTmpl- freeMem nameUsed- return (result, nameUsed'')- ) (do- freeMem maybeTmpl- freeMem nameUsed- )----- function g_file_get_contents--- Args : [Arg {argCName = "filename", argType = TBasicType TFileName, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "contents", argType = TCArray False (-1) 2 (TBasicType TUInt8), direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- Lengths : [Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- returnType : TBasicType TBoolean--- throws : True--- Skip return : False--foreign import ccall "g_file_get_contents" g_file_get_contents :: - CString -> -- filename : TBasicType TFileName- Ptr (Ptr Word8) -> -- contents : TCArray False (-1) 2 (TBasicType TUInt8)- Ptr Word64 -> -- length : TBasicType TUInt64- Ptr (Ptr GError) -> -- error- IO CInt---fileGetContents ::- (MonadIO m) =>- [Char] -- filename- -> m (ByteString) -- result-fileGetContents filename = liftIO $ do- filename' <- stringToCString filename- contents <- allocMem :: IO (Ptr (Ptr Word8))- length_ <- allocMem :: IO (Ptr Word64)- onException (do- _ <- propagateGError $ g_file_get_contents filename' contents length_- length_' <- peek length_- contents' <- peek contents- contents'' <- (unpackByteStringWithLength length_') contents'- freeMem contents'- freeMem filename'- freeMem contents- freeMem length_- return contents''- ) (do- freeMem filename'- freeMem contents- freeMem length_- )----- function g_file_error_quark--- Args : []--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_file_error_quark" g_file_error_quark :: - IO Word32---fileErrorQuark ::- (MonadIO m) =>- m Word32 -- result-fileErrorQuark = liftIO $ do- result <- g_file_error_quark- return result----- function g_file_error_from_errno--- Args : [Arg {argCName = "err_no", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TInterface "GLib" "FileError"--- throws : False--- Skip return : False--foreign import ccall "g_file_error_from_errno" g_file_error_from_errno :: - Int32 -> -- err_no : TBasicType TInt32- IO CUInt---fileErrorFromErrno ::- (MonadIO m) =>- Int32 -- errNo- -> m FileError -- result-fileErrorFromErrno errNo = liftIO $ do- result <- g_file_error_from_errno errNo- let result' = (toEnum . fromIntegral) result- return result'----- function g_environ_unsetenv--- Args : [Arg {argCName = "envp", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "variable", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TCArray True (-1) (-1) (TBasicType TUTF8)--- throws : False--- Skip return : False--foreign import ccall "g_environ_unsetenv" g_environ_unsetenv :: - Ptr CString -> -- envp : TCArray True (-1) (-1) (TBasicType TUTF8)- CString -> -- variable : TBasicType TUTF8- IO (Ptr CString)---environUnsetenv ::- (MonadIO m) =>- Maybe ([T.Text]) -- envp- -> T.Text -- variable- -> m [T.Text] -- result-environUnsetenv envp variable = liftIO $ do- maybeEnvp <- case envp of- Nothing -> return nullPtr- Just jEnvp -> do- jEnvp' <- packZeroTerminatedUTF8CArray jEnvp- return jEnvp'- variable' <- textToCString variable- result <- g_environ_unsetenv maybeEnvp variable'- checkUnexpectedReturnNULL "g_environ_unsetenv" result- result' <- unpackZeroTerminatedUTF8CArray result- mapZeroTerminatedCArray freeMem result- freeMem result- freeMem variable'- return result'----- function g_environ_setenv--- Args : [Arg {argCName = "envp", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "variable", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "overwrite", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TCArray True (-1) (-1) (TBasicType TUTF8)--- throws : False--- Skip return : False--foreign import ccall "g_environ_setenv" g_environ_setenv :: - Ptr CString -> -- envp : TCArray True (-1) (-1) (TBasicType TUTF8)- CString -> -- variable : TBasicType TUTF8- CString -> -- value : TBasicType TUTF8- CInt -> -- overwrite : TBasicType TBoolean- IO (Ptr CString)---environSetenv ::- (MonadIO m) =>- Maybe ([T.Text]) -- envp- -> T.Text -- variable- -> T.Text -- value- -> Bool -- overwrite- -> m [T.Text] -- result-environSetenv envp variable value overwrite = liftIO $ do- maybeEnvp <- case envp of- Nothing -> return nullPtr- Just jEnvp -> do- jEnvp' <- packZeroTerminatedUTF8CArray jEnvp- return jEnvp'- variable' <- textToCString variable- value' <- textToCString value- let overwrite' = (fromIntegral . fromEnum) overwrite- result <- g_environ_setenv maybeEnvp variable' value' overwrite'- checkUnexpectedReturnNULL "g_environ_setenv" result- result' <- unpackZeroTerminatedUTF8CArray result- mapZeroTerminatedCArray freeMem result- freeMem result- freeMem variable'- freeMem value'- return result'----- function g_environ_getenv--- Args : [Arg {argCName = "envp", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "variable", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_environ_getenv" g_environ_getenv :: - Ptr CString -> -- envp : TCArray True (-1) (-1) (TBasicType TUTF8)- CString -> -- variable : TBasicType TUTF8- IO CString---environGetenv ::- (MonadIO m) =>- Maybe ([T.Text]) -- envp- -> T.Text -- variable- -> m T.Text -- result-environGetenv envp variable = liftIO $ do- maybeEnvp <- case envp of- Nothing -> return nullPtr- Just jEnvp -> do- jEnvp' <- packZeroTerminatedUTF8CArray jEnvp- return jEnvp'- variable' <- textToCString variable- result <- g_environ_getenv maybeEnvp variable'- checkUnexpectedReturnNULL "g_environ_getenv" result- result' <- cstringToText result- mapZeroTerminatedCArray freeMem maybeEnvp- freeMem maybeEnvp- freeMem variable'- return result'----- function g_dpgettext2--- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "context", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "msgid", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_dpgettext2" g_dpgettext2 :: - CString -> -- domain : TBasicType TUTF8- CString -> -- context : TBasicType TUTF8- CString -> -- msgid : TBasicType TUTF8- IO CString---dpgettext2 ::- (MonadIO m) =>- Maybe (T.Text) -- domain- -> T.Text -- context- -> T.Text -- msgid- -> m T.Text -- result-dpgettext2 domain context msgid = liftIO $ do- maybeDomain <- case domain of- Nothing -> return nullPtr- Just jDomain -> do- jDomain' <- textToCString jDomain- return jDomain'- context' <- textToCString context- msgid' <- textToCString msgid- result <- g_dpgettext2 maybeDomain context' msgid'- checkUnexpectedReturnNULL "g_dpgettext2" result- result' <- cstringToText result- freeMem maybeDomain- freeMem context'- freeMem msgid'- return result'----- function g_dpgettext--- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "msgctxtid", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "msgidoffset", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_dpgettext" g_dpgettext :: - CString -> -- domain : TBasicType TUTF8- CString -> -- msgctxtid : TBasicType TUTF8- Word64 -> -- msgidoffset : TBasicType TUInt64- IO CString---dpgettext ::- (MonadIO m) =>- Maybe (T.Text) -- domain- -> T.Text -- msgctxtid- -> Word64 -- msgidoffset- -> m T.Text -- result-dpgettext domain msgctxtid msgidoffset = liftIO $ do- maybeDomain <- case domain of- Nothing -> return nullPtr- Just jDomain -> do- jDomain' <- textToCString jDomain- return jDomain'- msgctxtid' <- textToCString msgctxtid- result <- g_dpgettext maybeDomain msgctxtid' msgidoffset- checkUnexpectedReturnNULL "g_dpgettext" result- result' <- cstringToText result- freeMem maybeDomain- freeMem msgctxtid'- return result'----- function g_double_hash--- Args : [Arg {argCName = "v", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_double_hash" g_double_hash :: - Ptr () -> -- v : TBasicType TVoid- IO Word32---doubleHash ::- (MonadIO m) =>- Ptr () -- v- -> m Word32 -- result-doubleHash v = liftIO $ do- result <- g_double_hash v- return result----- function g_double_equal--- Args : [Arg {argCName = "v1", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "v2", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_double_equal" g_double_equal :: - Ptr () -> -- v1 : TBasicType TVoid- Ptr () -> -- v2 : TBasicType TVoid- IO CInt---doubleEqual ::- (MonadIO m) =>- Ptr () -- v1- -> Ptr () -- v2- -> m Bool -- result-doubleEqual v1 v2 = liftIO $ do- result <- g_double_equal v1 v2- let result' = (/= 0) result- return result'----- function g_dngettext--- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "msgid", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "msgid_plural", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_dngettext" g_dngettext :: - CString -> -- domain : TBasicType TUTF8- CString -> -- msgid : TBasicType TUTF8- CString -> -- msgid_plural : TBasicType TUTF8- Word64 -> -- n : TBasicType TUInt64- IO CString---dngettext ::- (MonadIO m) =>- Maybe (T.Text) -- domain- -> T.Text -- msgid- -> T.Text -- msgidPlural- -> Word64 -- n- -> m T.Text -- result-dngettext domain msgid msgidPlural n = liftIO $ do- maybeDomain <- case domain of- Nothing -> return nullPtr- Just jDomain -> do- jDomain' <- textToCString jDomain- return jDomain'- msgid' <- textToCString msgid- msgidPlural' <- textToCString msgidPlural- result <- g_dngettext maybeDomain msgid' msgidPlural' n- checkUnexpectedReturnNULL "g_dngettext" result- result' <- cstringToText result- freeMem maybeDomain- freeMem msgid'- freeMem msgidPlural'- return result'----- function g_direct_hash--- Args : [Arg {argCName = "v", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_direct_hash" g_direct_hash :: - Ptr () -> -- v : TBasicType TVoid- IO Word32---directHash ::- (MonadIO m) =>- Maybe (Ptr ()) -- v- -> m Word32 -- result-directHash v = liftIO $ do- maybeV <- case v of- Nothing -> return nullPtr- Just jV -> do- return jV- result <- g_direct_hash maybeV- return result----- function g_direct_equal--- Args : [Arg {argCName = "v1", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "v2", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_direct_equal" g_direct_equal :: - Ptr () -> -- v1 : TBasicType TVoid- Ptr () -> -- v2 : TBasicType TVoid- IO CInt---directEqual ::- (MonadIO m) =>- Maybe (Ptr ()) -- v1- -> Maybe (Ptr ()) -- v2- -> m Bool -- result-directEqual v1 v2 = liftIO $ do- maybeV1 <- case v1 of- Nothing -> return nullPtr- Just jV1 -> do- return jV1- maybeV2 <- case v2 of- Nothing -> return nullPtr- Just jV2 -> do- return jV2- result <- g_direct_equal maybeV1 maybeV2- let result' = (/= 0) result- return result'----- function g_dgettext--- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "msgid", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_dgettext" g_dgettext :: - CString -> -- domain : TBasicType TUTF8- CString -> -- msgid : TBasicType TUTF8- IO CString---dgettext ::- (MonadIO m) =>- Maybe (T.Text) -- domain- -> T.Text -- msgid- -> m T.Text -- result-dgettext domain msgid = liftIO $ do- maybeDomain <- case domain of- Nothing -> return nullPtr- Just jDomain -> do- jDomain' <- textToCString jDomain- return jDomain'- msgid' <- textToCString msgid- result <- g_dgettext maybeDomain msgid'- checkUnexpectedReturnNULL "g_dgettext" result- result' <- cstringToText result- freeMem maybeDomain- freeMem msgid'- return result'----- function g_dcgettext--- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "msgid", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "category", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_dcgettext" g_dcgettext :: - CString -> -- domain : TBasicType TUTF8- CString -> -- msgid : TBasicType TUTF8- Int32 -> -- category : TBasicType TInt32- IO CString---dcgettext ::- (MonadIO m) =>- Maybe (T.Text) -- domain- -> T.Text -- msgid- -> Int32 -- category- -> m T.Text -- result-dcgettext domain msgid category = liftIO $ do- maybeDomain <- case domain of- Nothing -> return nullPtr- Just jDomain -> do- jDomain' <- textToCString jDomain- return jDomain'- msgid' <- textToCString msgid- result <- g_dcgettext maybeDomain msgid' category- checkUnexpectedReturnNULL "g_dcgettext" result- result' <- cstringToText result- freeMem maybeDomain- freeMem msgid'- return result'----- function g_dataset_id_set_data_full--- Args : [Arg {argCName = "dataset_location", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key_id", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "destroy_func", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_dataset_id_set_data_full" g_dataset_id_set_data_full :: - Ptr () -> -- dataset_location : TBasicType TVoid- Word32 -> -- key_id : TBasicType TUInt32- Ptr () -> -- data : TBasicType TVoid- FunPtr DestroyNotifyC -> -- destroy_func : TInterface "GLib" "DestroyNotify"- IO ()---datasetIdSetDataFull ::- (MonadIO m) =>- Ptr () -- datasetLocation- -> Word32 -- keyId- -> Ptr () -- data_- -> DestroyNotify -- destroyFunc- -> m () -- result-datasetIdSetDataFull datasetLocation keyId data_ destroyFunc = liftIO $ do- ptrdestroyFunc <- callocMem :: IO (Ptr (FunPtr DestroyNotifyC))- destroyFunc' <- mkDestroyNotify (destroyNotifyWrapper (Just ptrdestroyFunc) destroyFunc)- poke ptrdestroyFunc destroyFunc'- g_dataset_id_set_data_full datasetLocation keyId data_ destroyFunc'- return ()----- function g_dataset_destroy--- Args : [Arg {argCName = "dataset_location", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_dataset_destroy" g_dataset_destroy :: - Ptr () -> -- dataset_location : TBasicType TVoid- IO ()---datasetDestroy ::- (MonadIO m) =>- Ptr () -- datasetLocation- -> m () -- result-datasetDestroy datasetLocation = liftIO $ do- g_dataset_destroy datasetLocation- return ()----- function g_datalist_unset_flags--- Args : [Arg {argCName = "datalist", argType = TInterface "GLib" "Data", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_datalist_unset_flags" g_datalist_unset_flags :: - Ptr Data -> -- datalist : TInterface "GLib" "Data"- Word32 -> -- flags : TBasicType TUInt32- IO ()---datalistUnsetFlags ::- (MonadIO m) =>- Data -- datalist- -> Word32 -- flags- -> m () -- result-datalistUnsetFlags datalist flags = liftIO $ do- let datalist' = unsafeManagedPtrGetPtr datalist- g_datalist_unset_flags datalist' flags- touchManagedPtr datalist- return ()----- function g_datalist_set_flags--- Args : [Arg {argCName = "datalist", argType = TInterface "GLib" "Data", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_datalist_set_flags" g_datalist_set_flags :: - Ptr Data -> -- datalist : TInterface "GLib" "Data"- Word32 -> -- flags : TBasicType TUInt32- IO ()---datalistSetFlags ::- (MonadIO m) =>- Data -- datalist- -> Word32 -- flags- -> m () -- result-datalistSetFlags datalist flags = liftIO $ do- let datalist' = unsafeManagedPtrGetPtr datalist- g_datalist_set_flags datalist' flags- touchManagedPtr datalist- return ()----- function g_datalist_init--- Args : [Arg {argCName = "datalist", argType = TInterface "GLib" "Data", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_datalist_init" g_datalist_init :: - Ptr Data -> -- datalist : TInterface "GLib" "Data"- IO ()---datalistInit ::- (MonadIO m) =>- Data -- datalist- -> m () -- result-datalistInit datalist = liftIO $ do- let datalist' = unsafeManagedPtrGetPtr datalist- g_datalist_init datalist'- touchManagedPtr datalist- return ()----- function g_datalist_id_set_data_full--- Args : [Arg {argCName = "datalist", argType = TInterface "GLib" "Data", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key_id", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "destroy_func", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_datalist_id_set_data_full" g_datalist_id_set_data_full :: - Ptr Data -> -- datalist : TInterface "GLib" "Data"- Word32 -> -- key_id : TBasicType TUInt32- Ptr () -> -- data : TBasicType TVoid- FunPtr DestroyNotifyC -> -- destroy_func : TInterface "GLib" "DestroyNotify"- IO ()---datalistIdSetDataFull ::- (MonadIO m) =>- Data -- datalist- -> Word32 -- keyId- -> Maybe (Ptr ()) -- data_- -> DestroyNotify -- destroyFunc- -> m () -- result-datalistIdSetDataFull datalist keyId data_ destroyFunc = liftIO $ do- let datalist' = unsafeManagedPtrGetPtr datalist- maybeData_ <- case data_ of- Nothing -> return nullPtr- Just jData_ -> do- return jData_- ptrdestroyFunc <- callocMem :: IO (Ptr (FunPtr DestroyNotifyC))- destroyFunc' <- mkDestroyNotify (destroyNotifyWrapper (Just ptrdestroyFunc) destroyFunc)- poke ptrdestroyFunc destroyFunc'- g_datalist_id_set_data_full datalist' keyId maybeData_ destroyFunc'- touchManagedPtr datalist- return ()----- function g_datalist_id_replace_data--- Args : [Arg {argCName = "datalist", argType = TInterface "GLib" "Data", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key_id", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "oldval", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "newval", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "destroy", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "old_destroy", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_datalist_id_replace_data" g_datalist_id_replace_data :: - Ptr Data -> -- datalist : TInterface "GLib" "Data"- Word32 -> -- key_id : TBasicType TUInt32- Ptr () -> -- oldval : TBasicType TVoid- Ptr () -> -- newval : TBasicType TVoid- FunPtr DestroyNotifyC -> -- destroy : TInterface "GLib" "DestroyNotify"- FunPtr DestroyNotifyC -> -- old_destroy : TInterface "GLib" "DestroyNotify"- IO CInt---datalistIdReplaceData ::- (MonadIO m) =>- Data -- datalist- -> Word32 -- keyId- -> Maybe (Ptr ()) -- oldval- -> Maybe (Ptr ()) -- newval- -> Maybe (DestroyNotify) -- destroy- -> Maybe (DestroyNotify) -- oldDestroy- -> m Bool -- result-datalistIdReplaceData datalist keyId oldval newval destroy oldDestroy = liftIO $ do- let datalist' = unsafeManagedPtrGetPtr datalist- maybeOldval <- case oldval of- Nothing -> return nullPtr- Just jOldval -> do- return jOldval- maybeNewval <- case newval of- Nothing -> return nullPtr- Just jNewval -> do- return jNewval- ptrdestroy <- callocMem :: IO (Ptr (FunPtr DestroyNotifyC))- maybeDestroy <- case destroy of- Nothing -> return (castPtrToFunPtr nullPtr)- Just jDestroy -> do- jDestroy' <- mkDestroyNotify (destroyNotifyWrapper (Just ptrdestroy) jDestroy)- poke ptrdestroy jDestroy'- return jDestroy'- ptroldDestroy <- callocMem :: IO (Ptr (FunPtr DestroyNotifyC))- maybeOldDestroy <- case oldDestroy of- Nothing -> return (castPtrToFunPtr nullPtr)- Just jOldDestroy -> do- jOldDestroy' <- mkDestroyNotify (destroyNotifyWrapper (Just ptroldDestroy) jOldDestroy)- poke ptroldDestroy jOldDestroy'- return jOldDestroy'- result <- g_datalist_id_replace_data datalist' keyId maybeOldval maybeNewval maybeDestroy maybeOldDestroy- let result' = (/= 0) result- touchManagedPtr datalist- return result'----- function g_datalist_get_flags--- Args : [Arg {argCName = "datalist", argType = TInterface "GLib" "Data", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_datalist_get_flags" g_datalist_get_flags :: - Ptr Data -> -- datalist : TInterface "GLib" "Data"- IO Word32---datalistGetFlags ::- (MonadIO m) =>- Data -- datalist- -> m Word32 -- result-datalistGetFlags datalist = liftIO $ do- let datalist' = unsafeManagedPtrGetPtr datalist- result <- g_datalist_get_flags datalist'- touchManagedPtr datalist- return result----- function g_datalist_clear--- Args : [Arg {argCName = "datalist", argType = TInterface "GLib" "Data", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_datalist_clear" g_datalist_clear :: - Ptr Data -> -- datalist : TInterface "GLib" "Data"- IO ()---datalistClear ::- (MonadIO m) =>- Data -- datalist- -> m () -- result-datalistClear datalist = liftIO $ do- let datalist' = unsafeManagedPtrGetPtr datalist- g_datalist_clear datalist'- touchManagedPtr datalist- return ()----- function g_convert_with_iconv--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "converter", argType = TInterface "GLib" "IConv", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_read", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_written", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : True--- Skip return : False--foreign import ccall "g_convert_with_iconv" g_convert_with_iconv :: - CString -> -- str : TBasicType TUTF8- Int64 -> -- len : TBasicType TInt64- Ptr IConv -> -- converter : TInterface "GLib" "IConv"- Word64 -> -- bytes_read : TBasicType TUInt64- Word64 -> -- bytes_written : TBasicType TUInt64- Ptr (Ptr GError) -> -- error- IO CString---convertWithIconv ::- (MonadIO m) =>- T.Text -- str- -> Int64 -- len- -> IConv -- converter- -> Word64 -- bytesRead- -> Word64 -- bytesWritten- -> m T.Text -- result-convertWithIconv str len converter bytesRead bytesWritten = liftIO $ do- str' <- textToCString str- let converter' = unsafeManagedPtrGetPtr converter- onException (do- result <- propagateGError $ g_convert_with_iconv str' len converter' bytesRead bytesWritten- checkUnexpectedReturnNULL "g_convert_with_iconv" result- result' <- cstringToText result- freeMem result- touchManagedPtr converter- freeMem str'- return result'- ) (do- freeMem str'- )----- function g_convert_with_fallback--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "to_codeset", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "from_codeset", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "fallback", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_read", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_written", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : True--- Skip return : False--foreign import ccall "g_convert_with_fallback" g_convert_with_fallback :: - CString -> -- str : TBasicType TUTF8- Int64 -> -- len : TBasicType TInt64- CString -> -- to_codeset : TBasicType TUTF8- CString -> -- from_codeset : TBasicType TUTF8- CString -> -- fallback : TBasicType TUTF8- Word64 -> -- bytes_read : TBasicType TUInt64- Word64 -> -- bytes_written : TBasicType TUInt64- Ptr (Ptr GError) -> -- error- IO CString---convertWithFallback ::- (MonadIO m) =>- T.Text -- str- -> Int64 -- len- -> T.Text -- toCodeset- -> T.Text -- fromCodeset- -> T.Text -- fallback- -> Word64 -- bytesRead- -> Word64 -- bytesWritten- -> m T.Text -- result-convertWithFallback str len toCodeset fromCodeset fallback bytesRead bytesWritten = liftIO $ do- str' <- textToCString str- toCodeset' <- textToCString toCodeset- fromCodeset' <- textToCString fromCodeset- fallback' <- textToCString fallback- onException (do- result <- propagateGError $ g_convert_with_fallback str' len toCodeset' fromCodeset' fallback' bytesRead bytesWritten- checkUnexpectedReturnNULL "g_convert_with_fallback" result- result' <- cstringToText result- freeMem result- freeMem str'- freeMem toCodeset'- freeMem fromCodeset'- freeMem fallback'- return result'- ) (do- freeMem str'- freeMem toCodeset'- freeMem fromCodeset'- freeMem fallback'- )----- function g_convert_error_quark--- Args : []--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_convert_error_quark" g_convert_error_quark :: - IO Word32---convertErrorQuark ::- (MonadIO m) =>- m Word32 -- result-convertErrorQuark = liftIO $ do- result <- g_convert_error_quark- return result----- function g_convert--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "to_codeset", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "from_codeset", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_read", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "bytes_written", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : True--- Skip return : False--foreign import ccall "g_convert" g_convert :: - CString -> -- str : TBasicType TUTF8- Int64 -> -- len : TBasicType TInt64- CString -> -- to_codeset : TBasicType TUTF8- CString -> -- from_codeset : TBasicType TUTF8- Ptr Word64 -> -- bytes_read : TBasicType TUInt64- Ptr Word64 -> -- bytes_written : TBasicType TUInt64- Ptr (Ptr GError) -> -- error- IO CString---convert ::- (MonadIO m) =>- T.Text -- str- -> Int64 -- len- -> T.Text -- toCodeset- -> T.Text -- fromCodeset- -> m (T.Text,Word64,Word64) -- result-convert str len toCodeset fromCodeset = liftIO $ do- str' <- textToCString str- toCodeset' <- textToCString toCodeset- fromCodeset' <- textToCString fromCodeset- bytesRead <- allocMem :: IO (Ptr Word64)- bytesWritten <- allocMem :: IO (Ptr Word64)- onException (do- result <- propagateGError $ g_convert str' len toCodeset' fromCodeset' bytesRead bytesWritten- checkUnexpectedReturnNULL "g_convert" result- result' <- cstringToText result- freeMem result- bytesRead' <- peek bytesRead- bytesWritten' <- peek bytesWritten- freeMem str'- freeMem toCodeset'- freeMem fromCodeset'- freeMem bytesRead- freeMem bytesWritten- return (result', bytesRead', bytesWritten')- ) (do- freeMem str'- freeMem toCodeset'- freeMem fromCodeset'- freeMem bytesRead- freeMem bytesWritten- )----- function g_compute_hmac_for_string--- Args : [Arg {argCName = "digest_type", argType = TInterface "GLib" "ChecksumType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TCArray False (-1) 2 (TBasicType TUInt8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key_len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : [Arg {argCName = "key_len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_compute_hmac_for_string" g_compute_hmac_for_string :: - CUInt -> -- digest_type : TInterface "GLib" "ChecksumType"- Ptr Word8 -> -- key : TCArray False (-1) 2 (TBasicType TUInt8)- Word64 -> -- key_len : TBasicType TUInt64- CString -> -- str : TBasicType TUTF8- Int64 -> -- length : TBasicType TInt64- IO CString---computeHmacForString ::- (MonadIO m) =>- ChecksumType -- digestType- -> ByteString -- key- -> T.Text -- str- -> Int64 -- length_- -> m T.Text -- result-computeHmacForString digestType key str length_ = liftIO $ do- let keyLen = fromIntegral $ B.length key- let digestType' = (fromIntegral . fromEnum) digestType- key' <- packByteString key- str' <- textToCString str- result <- g_compute_hmac_for_string digestType' key' keyLen str' length_- checkUnexpectedReturnNULL "g_compute_hmac_for_string" result- result' <- cstringToText result- freeMem result- freeMem key'- freeMem str'- return result'----- function g_compute_hmac_for_data--- Args : [Arg {argCName = "digest_type", argType = TInterface "GLib" "ChecksumType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TCArray False (-1) 2 (TBasicType TUInt8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key_len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TUInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : [Arg {argCName = "key_len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_compute_hmac_for_data" g_compute_hmac_for_data :: - CUInt -> -- digest_type : TInterface "GLib" "ChecksumType"- Ptr Word8 -> -- key : TCArray False (-1) 2 (TBasicType TUInt8)- Word64 -> -- key_len : TBasicType TUInt64- Word8 -> -- data : TBasicType TUInt8- Word64 -> -- length : TBasicType TUInt64- IO CString---computeHmacForData ::- (MonadIO m) =>- ChecksumType -- digestType- -> ByteString -- key- -> Word8 -- data_- -> Word64 -- length_- -> m T.Text -- result-computeHmacForData digestType key data_ length_ = liftIO $ do- let keyLen = fromIntegral $ B.length key- let digestType' = (fromIntegral . fromEnum) digestType- key' <- packByteString key- result <- g_compute_hmac_for_data digestType' key' keyLen data_ length_- checkUnexpectedReturnNULL "g_compute_hmac_for_data" result- result' <- cstringToText result- freeMem result- freeMem key'- return result'----- function g_compute_checksum_for_string--- Args : [Arg {argCName = "checksum_type", argType = TInterface "GLib" "ChecksumType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_compute_checksum_for_string" g_compute_checksum_for_string :: - CUInt -> -- checksum_type : TInterface "GLib" "ChecksumType"- CString -> -- str : TBasicType TUTF8- Int64 -> -- length : TBasicType TInt64- IO CString---computeChecksumForString ::- (MonadIO m) =>- ChecksumType -- checksumType- -> T.Text -- str- -> Int64 -- length_- -> m T.Text -- result-computeChecksumForString checksumType str length_ = liftIO $ do- let checksumType' = (fromIntegral . fromEnum) checksumType- str' <- textToCString str- result <- g_compute_checksum_for_string checksumType' str' length_- checkUnexpectedReturnNULL "g_compute_checksum_for_string" result- result' <- cstringToText result- freeMem result- freeMem str'- return result'----- function g_compute_checksum_for_data--- Args : [Arg {argCName = "checksum_type", argType = TInterface "GLib" "ChecksumType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TCArray False (-1) 2 (TBasicType TUInt8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : [Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_compute_checksum_for_data" g_compute_checksum_for_data :: - CUInt -> -- checksum_type : TInterface "GLib" "ChecksumType"- Ptr Word8 -> -- data : TCArray False (-1) 2 (TBasicType TUInt8)- Word64 -> -- length : TBasicType TUInt64- IO CString---computeChecksumForData ::- (MonadIO m) =>- ChecksumType -- checksumType- -> ByteString -- data_- -> m T.Text -- result-computeChecksumForData checksumType data_ = liftIO $ do- let length_ = fromIntegral $ B.length data_- let checksumType' = (fromIntegral . fromEnum) checksumType- data_' <- packByteString data_- result <- g_compute_checksum_for_data checksumType' data_' length_- checkUnexpectedReturnNULL "g_compute_checksum_for_data" result- result' <- cstringToText result- freeMem result- freeMem data_'- return result'----- function g_compute_checksum_for_bytes--- Args : [Arg {argCName = "checksum_type", argType = TInterface "GLib" "ChecksumType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TInterface "GLib" "Bytes", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_compute_checksum_for_bytes" g_compute_checksum_for_bytes :: - CUInt -> -- checksum_type : TInterface "GLib" "ChecksumType"- Ptr Bytes -> -- data : TInterface "GLib" "Bytes"- IO CString---computeChecksumForBytes ::- (MonadIO m) =>- ChecksumType -- checksumType- -> Bytes -- data_- -> m T.Text -- result-computeChecksumForBytes checksumType data_ = liftIO $ do- let checksumType' = (fromIntegral . fromEnum) checksumType- let data_' = unsafeManagedPtrGetPtr data_- result <- g_compute_checksum_for_bytes checksumType' data_'- checkUnexpectedReturnNULL "g_compute_checksum_for_bytes" result- result' <- cstringToText result- freeMem result- touchManagedPtr data_- return result'----- function g_close--- Args : [Arg {argCName = "fd", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : True--- Skip return : False--foreign import ccall "g_close" g_close :: - Int32 -> -- fd : TBasicType TInt32- Ptr (Ptr GError) -> -- error- IO CInt---close ::- (MonadIO m) =>- Int32 -- fd- -> m () -- result-close fd = liftIO $ do- onException (do- _ <- propagateGError $ g_close fd- return ()- ) (do- return ()- )----- function g_clear_error--- Args : []--- Lengths : []--- returnType : TBasicType TVoid--- throws : True--- Skip return : False--foreign import ccall "g_clear_error" g_clear_error :: - Ptr (Ptr GError) -> -- error- IO ()---clearError ::- (MonadIO m) =>- m () -- result-clearError = liftIO $ do- onException (do- propagateGError $ g_clear_error- return ()- ) (do- return ()- )----- function g_child_watch_source_new--- Args : [Arg {argCName = "pid", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TInterface "GLib" "Source"--- throws : False--- Skip return : False--foreign import ccall "g_child_watch_source_new" g_child_watch_source_new :: - Int32 -> -- pid : TBasicType TInt32- IO (Ptr Source)---childWatchSourceNew ::- (MonadIO m) =>- Int32 -- pid- -> m Source -- result-childWatchSourceNew pid = liftIO $ do- result <- g_child_watch_source_new pid- checkUnexpectedReturnNULL "g_child_watch_source_new" result- result' <- (wrapBoxed Source) result- return result'----- function g_child_watch_add_full--- Args : [Arg {argCName = "priority", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pid", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "function", argType = TInterface "GLib" "ChildWatchFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeNotified, argClosure = 3, argDestroy = 4, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_child_watch_add_full" g_child_watch_add_full :: - Int32 -> -- priority : TBasicType TInt32- Int32 -> -- pid : TBasicType TInt32- FunPtr ChildWatchFuncC -> -- function : TInterface "GLib" "ChildWatchFunc"- Ptr () -> -- data : TBasicType TVoid- FunPtr DestroyNotifyC -> -- notify : TInterface "GLib" "DestroyNotify"- IO Word32---childWatchAdd ::- (MonadIO m) =>- Int32 -- priority- -> Int32 -- pid- -> ChildWatchFunc -- function- -> m Word32 -- result-childWatchAdd priority pid function = liftIO $ do- function' <- mkChildWatchFunc (childWatchFuncWrapper Nothing function)- let data_ = castFunPtrToPtr function'- let notify = safeFreeFunPtrPtr- result <- g_child_watch_add_full priority pid function' data_ notify- return result----- function glib_check_version--- Args : [Arg {argCName = "required_major", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "required_minor", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "required_micro", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "glib_check_version" glib_check_version :: - Word32 -> -- required_major : TBasicType TUInt32- Word32 -> -- required_minor : TBasicType TUInt32- Word32 -> -- required_micro : TBasicType TUInt32- IO CString---checkVersion ::- (MonadIO m) =>- Word32 -- requiredMajor- -> Word32 -- requiredMinor- -> Word32 -- requiredMicro- -> m T.Text -- result-checkVersion requiredMajor requiredMinor requiredMicro = liftIO $ do- result <- glib_check_version requiredMajor requiredMinor requiredMicro- checkUnexpectedReturnNULL "glib_check_version" result- result' <- cstringToText result- return result'----- function g_chdir--- Args : [Arg {argCName = "path", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_chdir" g_chdir :: - CString -> -- path : TBasicType TUTF8- IO Int32---chdir ::- (MonadIO m) =>- T.Text -- path- -> m Int32 -- result-chdir path = liftIO $ do- path' <- textToCString path- result <- g_chdir path'- freeMem path'- return result----- function g_build_pathv--- Args : [Arg {argCName = "separator", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "args", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_build_pathv" g_build_pathv :: - CString -> -- separator : TBasicType TUTF8- Ptr CString -> -- args : TCArray True (-1) (-1) (TBasicType TUTF8)- IO CString---buildPathv ::- (MonadIO m) =>- T.Text -- separator- -> [T.Text] -- args- -> m T.Text -- result-buildPathv separator args = liftIO $ do- separator' <- textToCString separator- args' <- packZeroTerminatedUTF8CArray args- result <- g_build_pathv separator' args'- checkUnexpectedReturnNULL "g_build_pathv" result- result' <- cstringToText result- freeMem result- freeMem separator'- mapZeroTerminatedCArray freeMem args'- freeMem args'- return result'----- function g_build_filenamev--- Args : [Arg {argCName = "args", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_build_filenamev" g_build_filenamev :: - Ptr CString -> -- args : TCArray True (-1) (-1) (TBasicType TUTF8)- IO CString---buildFilenamev ::- (MonadIO m) =>- [T.Text] -- args- -> m T.Text -- result-buildFilenamev args = liftIO $ do- args' <- packZeroTerminatedUTF8CArray args- result <- g_build_filenamev args'- checkUnexpectedReturnNULL "g_build_filenamev" result- result' <- cstringToText result- freeMem result- mapZeroTerminatedCArray freeMem args'- freeMem args'- return result'----- function g_bit_unlock--- Args : [Arg {argCName = "address", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "lock_bit", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_bit_unlock" g_bit_unlock :: - Int32 -> -- address : TBasicType TInt32- Int32 -> -- lock_bit : TBasicType TInt32- IO ()---bitUnlock ::- (MonadIO m) =>- Int32 -- address- -> Int32 -- lockBit- -> m () -- result-bitUnlock address lockBit = liftIO $ do- g_bit_unlock address lockBit- return ()----- function g_bit_trylock--- Args : [Arg {argCName = "address", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "lock_bit", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_bit_trylock" g_bit_trylock :: - Int32 -> -- address : TBasicType TInt32- Int32 -> -- lock_bit : TBasicType TInt32- IO CInt---bitTrylock ::- (MonadIO m) =>- Int32 -- address- -> Int32 -- lockBit- -> m Bool -- result-bitTrylock address lockBit = liftIO $ do- result <- g_bit_trylock address lockBit- let result' = (/= 0) result- return result'----- function g_bit_storage--- Args : [Arg {argCName = "number", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_bit_storage" g_bit_storage :: - Word64 -> -- number : TBasicType TUInt64- IO Word32---bitStorage ::- (MonadIO m) =>- Word64 -- number- -> m Word32 -- result-bitStorage number = liftIO $ do- result <- g_bit_storage number- return result----- function g_bit_nth_msf--- Args : [Arg {argCName = "mask", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "nth_bit", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_bit_nth_msf" g_bit_nth_msf :: - Word64 -> -- mask : TBasicType TUInt64- Int32 -> -- nth_bit : TBasicType TInt32- IO Int32---bitNthMsf ::- (MonadIO m) =>- Word64 -- mask- -> Int32 -- nthBit- -> m Int32 -- result-bitNthMsf mask nthBit = liftIO $ do- result <- g_bit_nth_msf mask nthBit- return result----- function g_bit_nth_lsf--- Args : [Arg {argCName = "mask", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "nth_bit", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_bit_nth_lsf" g_bit_nth_lsf :: - Word64 -> -- mask : TBasicType TUInt64- Int32 -> -- nth_bit : TBasicType TInt32- IO Int32---bitNthLsf ::- (MonadIO m) =>- Word64 -- mask- -> Int32 -- nthBit- -> m Int32 -- result-bitNthLsf mask nthBit = liftIO $ do- result <- g_bit_nth_lsf mask nthBit- return result----- function g_bit_lock--- Args : [Arg {argCName = "address", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "lock_bit", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_bit_lock" g_bit_lock :: - Int32 -> -- address : TBasicType TInt32- Int32 -> -- lock_bit : TBasicType TInt32- IO ()---bitLock ::- (MonadIO m) =>- Int32 -- address- -> Int32 -- lockBit- -> m () -- result-bitLock address lockBit = liftIO $ do- g_bit_lock address lockBit- return ()----- function g_basename--- Args : [Arg {argCName = "file_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_basename" g_basename :: - CString -> -- file_name : TBasicType TUTF8- IO CString--{-# DEPRECATED basename ["(Since version 2.2)","Use g_path_get_basename() instead, but notice"," that g_path_get_basename() allocates new memory for the"," returned string, unlike this function which returns a pointer"," into the argument."]#-}-basename ::- (MonadIO m) =>- T.Text -- fileName- -> m T.Text -- result-basename fileName = liftIO $ do- fileName' <- textToCString fileName- result <- g_basename fileName'- checkUnexpectedReturnNULL "g_basename" result- result' <- cstringToText result- freeMem fileName'- return result'----- function g_base64_encode--- Args : [Arg {argCName = "data", argType = TCArray False (-1) 1 (TBasicType TUInt8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : [Arg {argCName = "len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_base64_encode" g_base64_encode :: - Ptr Word8 -> -- data : TCArray False (-1) 1 (TBasicType TUInt8)- Word64 -> -- len : TBasicType TUInt64- IO CString---base64Encode ::- (MonadIO m) =>- ByteString -- data_- -> m T.Text -- result-base64Encode data_ = liftIO $ do- let len = fromIntegral $ B.length data_- data_' <- packByteString data_- result <- g_base64_encode data_' len- checkUnexpectedReturnNULL "g_base64_encode" result- result' <- cstringToText result- freeMem result- freeMem data_'- return result'----- function g_base64_decode_inplace--- Args : [Arg {argCName = "text", argType = TCArray False (-1) 1 (TBasicType TUInt8), direction = DirectionInout, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "out_len", argType = TBasicType TUInt64, direction = DirectionInout, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : [Arg {argCName = "out_len", argType = TBasicType TUInt64, direction = DirectionInout, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TBasicType TUInt8--- throws : False--- Skip return : False--foreign import ccall "g_base64_decode_inplace" g_base64_decode_inplace :: - Ptr (Ptr Word8) -> -- text : TCArray False (-1) 1 (TBasicType TUInt8)- Ptr Word64 -> -- out_len : TBasicType TUInt64- IO Word8---base64DecodeInplace ::- (MonadIO m) =>- ByteString -- text- -> m (Word8,ByteString) -- result-base64DecodeInplace text = liftIO $ do- let outLen = fromIntegral $ B.length text- text' <- packByteString text- text'' <- allocMem :: IO (Ptr (Ptr Word8))- poke text'' text'- outLen' <- allocMem :: IO (Ptr Word64)- poke outLen' outLen- result <- g_base64_decode_inplace text'' outLen'- outLen'' <- peek outLen'- text''' <- peek text''- text'''' <- (unpackByteStringWithLength outLen'') text'''- freeMem text'''- freeMem text''- freeMem outLen'- return (result, text'''')----- function g_base64_decode--- Args : [Arg {argCName = "text", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "out_len", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- Lengths : [Arg {argCName = "out_len", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- returnType : TCArray False (-1) 1 (TBasicType TUInt8)--- throws : False--- Skip return : False--foreign import ccall "g_base64_decode" g_base64_decode :: - CString -> -- text : TBasicType TUTF8- Ptr Word64 -> -- out_len : TBasicType TUInt64- IO (Ptr Word8)---base64Decode ::- (MonadIO m) =>- T.Text -- text- -> m ByteString -- result-base64Decode text = liftIO $ do- text' <- textToCString text- outLen <- allocMem :: IO (Ptr Word64)- result <- g_base64_decode text' outLen- outLen' <- peek outLen- checkUnexpectedReturnNULL "g_base64_decode" result- result' <- (unpackByteStringWithLength outLen') result- freeMem result- freeMem text'- freeMem outLen- return result'----- function g_atomic_pointer_xor--- Args : [Arg {argCName = "atomic", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt64--- throws : False--- Skip return : False--foreign import ccall "g_atomic_pointer_xor" g_atomic_pointer_xor :: - Ptr () -> -- atomic : TBasicType TVoid- Word64 -> -- val : TBasicType TUInt64- IO Word64---atomicPointerXor ::- (MonadIO m) =>- Ptr () -- atomic- -> Word64 -- val- -> m Word64 -- result-atomicPointerXor atomic val = liftIO $ do- result <- g_atomic_pointer_xor atomic val- return result----- function g_atomic_pointer_set--- Args : [Arg {argCName = "atomic", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "newval", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_atomic_pointer_set" g_atomic_pointer_set :: - Ptr () -> -- atomic : TBasicType TVoid- Ptr () -> -- newval : TBasicType TVoid- IO ()---atomicPointerSet ::- (MonadIO m) =>- Ptr () -- atomic- -> Ptr () -- newval- -> m () -- result-atomicPointerSet atomic newval = liftIO $ do- g_atomic_pointer_set atomic newval- return ()----- function g_atomic_pointer_or--- Args : [Arg {argCName = "atomic", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt64--- throws : False--- Skip return : False--foreign import ccall "g_atomic_pointer_or" g_atomic_pointer_or :: - Ptr () -> -- atomic : TBasicType TVoid- Word64 -> -- val : TBasicType TUInt64- IO Word64---atomicPointerOr ::- (MonadIO m) =>- Ptr () -- atomic- -> Word64 -- val- -> m Word64 -- result-atomicPointerOr atomic val = liftIO $ do- result <- g_atomic_pointer_or atomic val- return result----- function g_atomic_pointer_compare_and_exchange--- Args : [Arg {argCName = "atomic", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "oldval", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "newval", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_atomic_pointer_compare_and_exchange" g_atomic_pointer_compare_and_exchange :: - Ptr () -> -- atomic : TBasicType TVoid- Ptr () -> -- oldval : TBasicType TVoid- Ptr () -> -- newval : TBasicType TVoid- IO CInt---atomicPointerCompareAndExchange ::- (MonadIO m) =>- Ptr () -- atomic- -> Ptr () -- oldval- -> Ptr () -- newval- -> m Bool -- result-atomicPointerCompareAndExchange atomic oldval newval = liftIO $ do- result <- g_atomic_pointer_compare_and_exchange atomic oldval newval- let result' = (/= 0) result- return result'----- function g_atomic_pointer_and--- Args : [Arg {argCName = "atomic", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt64--- throws : False--- Skip return : False--foreign import ccall "g_atomic_pointer_and" g_atomic_pointer_and :: - Ptr () -> -- atomic : TBasicType TVoid- Word64 -> -- val : TBasicType TUInt64- IO Word64---atomicPointerAnd ::- (MonadIO m) =>- Ptr () -- atomic- -> Word64 -- val- -> m Word64 -- result-atomicPointerAnd atomic val = liftIO $ do- result <- g_atomic_pointer_and atomic val- return result----- function g_atomic_pointer_add--- Args : [Arg {argCName = "atomic", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt64--- throws : False--- Skip return : False--foreign import ccall "g_atomic_pointer_add" g_atomic_pointer_add :: - Ptr () -> -- atomic : TBasicType TVoid- Int64 -> -- val : TBasicType TInt64- IO Int64---atomicPointerAdd ::- (MonadIO m) =>- Ptr () -- atomic- -> Int64 -- val- -> m Int64 -- result-atomicPointerAdd atomic val = liftIO $ do- result <- g_atomic_pointer_add atomic val- return result----- function g_atomic_int_xor--- Args : [Arg {argCName = "atomic", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_atomic_int_xor" g_atomic_int_xor :: - Word32 -> -- atomic : TBasicType TUInt32- Word32 -> -- val : TBasicType TUInt32- IO Word32---atomicIntXor ::- (MonadIO m) =>- Word32 -- atomic- -> Word32 -- val- -> m Word32 -- result-atomicIntXor atomic val = liftIO $ do- result <- g_atomic_int_xor atomic val- return result----- function g_atomic_int_set--- Args : [Arg {argCName = "atomic", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "newval", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_atomic_int_set" g_atomic_int_set :: - Int32 -> -- atomic : TBasicType TInt32- Int32 -> -- newval : TBasicType TInt32- IO ()---atomicIntSet ::- (MonadIO m) =>- Int32 -- atomic- -> Int32 -- newval- -> m () -- result-atomicIntSet atomic newval = liftIO $ do- g_atomic_int_set atomic newval- return ()----- function g_atomic_int_or--- Args : [Arg {argCName = "atomic", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_atomic_int_or" g_atomic_int_or :: - Word32 -> -- atomic : TBasicType TUInt32- Word32 -> -- val : TBasicType TUInt32- IO Word32---atomicIntOr ::- (MonadIO m) =>- Word32 -- atomic- -> Word32 -- val- -> m Word32 -- result-atomicIntOr atomic val = liftIO $ do- result <- g_atomic_int_or atomic val- return result----- function g_atomic_int_inc--- Args : [Arg {argCName = "atomic", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_atomic_int_inc" g_atomic_int_inc :: - Int32 -> -- atomic : TBasicType TInt32- IO ()---atomicIntInc ::- (MonadIO m) =>- Int32 -- atomic- -> m () -- result-atomicIntInc atomic = liftIO $ do- g_atomic_int_inc atomic- return ()----- function g_atomic_int_get--- Args : [Arg {argCName = "atomic", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_atomic_int_get" g_atomic_int_get :: - Int32 -> -- atomic : TBasicType TInt32- IO Int32---atomicIntGet ::- (MonadIO m) =>- Int32 -- atomic- -> m Int32 -- result-atomicIntGet atomic = liftIO $ do- result <- g_atomic_int_get atomic- return result----- function g_atomic_int_exchange_and_add--- Args : [Arg {argCName = "atomic", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_atomic_int_exchange_and_add" g_atomic_int_exchange_and_add :: - Int32 -> -- atomic : TBasicType TInt32- Int32 -> -- val : TBasicType TInt32- IO Int32--{-# DEPRECATED atomicIntExchangeAndAdd ["(Since version 2.30)","Use g_atomic_int_add() instead."]#-}-atomicIntExchangeAndAdd ::- (MonadIO m) =>- Int32 -- atomic- -> Int32 -- val- -> m Int32 -- result-atomicIntExchangeAndAdd atomic val = liftIO $ do- result <- g_atomic_int_exchange_and_add atomic val- return result----- function g_atomic_int_dec_and_test--- Args : [Arg {argCName = "atomic", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_atomic_int_dec_and_test" g_atomic_int_dec_and_test :: - Int32 -> -- atomic : TBasicType TInt32- IO CInt---atomicIntDecAndTest ::- (MonadIO m) =>- Int32 -- atomic- -> m Bool -- result-atomicIntDecAndTest atomic = liftIO $ do- result <- g_atomic_int_dec_and_test atomic- let result' = (/= 0) result- return result'----- function g_atomic_int_compare_and_exchange--- Args : [Arg {argCName = "atomic", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "oldval", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "newval", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TBoolean--- throws : False--- Skip return : False--foreign import ccall "g_atomic_int_compare_and_exchange" g_atomic_int_compare_and_exchange :: - Int32 -> -- atomic : TBasicType TInt32- Int32 -> -- oldval : TBasicType TInt32- Int32 -> -- newval : TBasicType TInt32- IO CInt---atomicIntCompareAndExchange ::- (MonadIO m) =>- Int32 -- atomic- -> Int32 -- oldval- -> Int32 -- newval- -> m Bool -- result-atomicIntCompareAndExchange atomic oldval newval = liftIO $ do- result <- g_atomic_int_compare_and_exchange atomic oldval newval- let result' = (/= 0) result- return result'----- function g_atomic_int_and--- Args : [Arg {argCName = "atomic", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt32--- throws : False--- Skip return : False--foreign import ccall "g_atomic_int_and" g_atomic_int_and :: - Word32 -> -- atomic : TBasicType TUInt32- Word32 -> -- val : TBasicType TUInt32- IO Word32---atomicIntAnd ::- (MonadIO m) =>- Word32 -- atomic- -> Word32 -- val- -> m Word32 -- result-atomicIntAnd atomic val = liftIO $ do- result <- g_atomic_int_and atomic val- return result----- function g_atomic_int_add--- Args : [Arg {argCName = "atomic", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_atomic_int_add" g_atomic_int_add :: - Int32 -> -- atomic : TBasicType TInt32- Int32 -> -- val : TBasicType TInt32- IO Int32---atomicIntAdd ::- (MonadIO m) =>- Int32 -- atomic- -> Int32 -- val- -> m Int32 -- result-atomicIntAdd atomic val = liftIO $ do- result <- g_atomic_int_add atomic val- return result----- function g_atexit--- Args : [Arg {argCName = "func", argType = TInterface "GLib" "VoidFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_atexit" g_atexit :: - FunPtr VoidFuncC -> -- func : TInterface "GLib" "VoidFunc"- IO ()--{-# DEPRECATED atexit ["(Since version 2.32)","It is best to avoid g_atexit()."]#-}-atexit ::- (MonadIO m) =>- VoidFunc -- func- -> m () -- result-atexit func = liftIO $ do- ptrfunc <- callocMem :: IO (Ptr (FunPtr VoidFuncC))- func' <- mkVoidFunc (voidFuncWrapper (Just ptrfunc) func)- poke ptrfunc func'- g_atexit func'- return ()----- function g_assertion_message_expr--- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "file", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "line", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "expr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_assertion_message_expr" g_assertion_message_expr :: - CString -> -- domain : TBasicType TUTF8- CString -> -- file : TBasicType TUTF8- Int32 -> -- line : TBasicType TInt32- CString -> -- func : TBasicType TUTF8- CString -> -- expr : TBasicType TUTF8- IO ()---assertionMessageExpr ::- (MonadIO m) =>- T.Text -- domain- -> T.Text -- file- -> Int32 -- line- -> T.Text -- func- -> T.Text -- expr- -> m () -- result-assertionMessageExpr domain file line func expr = liftIO $ do- domain' <- textToCString domain- file' <- textToCString file- func' <- textToCString func- expr' <- textToCString expr- g_assertion_message_expr domain' file' line func' expr'- freeMem domain'- freeMem file'- freeMem func'- freeMem expr'- return ()----- function g_assertion_message_error--- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "file", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "line", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "expr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "error", argType = TError, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "error_domain", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "error_code", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_assertion_message_error" g_assertion_message_error :: - CString -> -- domain : TBasicType TUTF8- CString -> -- file : TBasicType TUTF8- Int32 -> -- line : TBasicType TInt32- CString -> -- func : TBasicType TUTF8- CString -> -- expr : TBasicType TUTF8- Ptr GError -> -- error : TError- Word32 -> -- error_domain : TBasicType TUInt32- Int32 -> -- error_code : TBasicType TInt32- IO ()---assertionMessageError ::- (MonadIO m) =>- T.Text -- domain- -> T.Text -- file- -> Int32 -- line- -> T.Text -- func- -> T.Text -- expr- -> GError -- error_- -> Word32 -- errorDomain- -> Int32 -- errorCode- -> m () -- result-assertionMessageError domain file line func expr error_ errorDomain errorCode = liftIO $ do- domain' <- textToCString domain- file' <- textToCString file- func' <- textToCString func- expr' <- textToCString expr- let error_' = unsafeManagedPtrGetPtr error_- g_assertion_message_error domain' file' line func' expr' error_' errorDomain errorCode- touchManagedPtr error_- freeMem domain'- freeMem file'- freeMem func'- freeMem expr'- return ()----- function g_assertion_message_cmpstr--- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "file", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "line", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "expr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "arg1", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "cmp", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "arg2", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_assertion_message_cmpstr" g_assertion_message_cmpstr :: - CString -> -- domain : TBasicType TUTF8- CString -> -- file : TBasicType TUTF8- Int32 -> -- line : TBasicType TInt32- CString -> -- func : TBasicType TUTF8- CString -> -- expr : TBasicType TUTF8- CString -> -- arg1 : TBasicType TUTF8- CString -> -- cmp : TBasicType TUTF8- CString -> -- arg2 : TBasicType TUTF8- IO ()---assertionMessageCmpstr ::- (MonadIO m) =>- T.Text -- domain- -> T.Text -- file- -> Int32 -- line- -> T.Text -- func- -> T.Text -- expr- -> T.Text -- arg1- -> T.Text -- cmp- -> T.Text -- arg2- -> m () -- result-assertionMessageCmpstr domain file line func expr arg1 cmp arg2 = liftIO $ do- domain' <- textToCString domain- file' <- textToCString file- func' <- textToCString func- expr' <- textToCString expr- arg1' <- textToCString arg1- cmp' <- textToCString cmp- arg2' <- textToCString arg2- g_assertion_message_cmpstr domain' file' line func' expr' arg1' cmp' arg2'- freeMem domain'- freeMem file'- freeMem func'- freeMem expr'- freeMem arg1'- freeMem cmp'- freeMem arg2'- return ()----- function g_assertion_message--- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "file", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "line", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "message", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_assertion_message" g_assertion_message :: - CString -> -- domain : TBasicType TUTF8- CString -> -- file : TBasicType TUTF8- Int32 -> -- line : TBasicType TInt32- CString -> -- func : TBasicType TUTF8- CString -> -- message : TBasicType TUTF8- IO ()---assertionMessage ::- (MonadIO m) =>- T.Text -- domain- -> T.Text -- file- -> Int32 -- line- -> T.Text -- func- -> T.Text -- message- -> m () -- result-assertionMessage domain file line func message = liftIO $ do- domain' <- textToCString domain- file' <- textToCString file- func' <- textToCString func- message' <- textToCString message- g_assertion_message domain' file' line func' message'- freeMem domain'- freeMem file'- freeMem func'- freeMem message'- return ()----- function g_assert_warning--- Args : [Arg {argCName = "log_domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "file", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "line", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pretty_function", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "expression", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TVoid--- throws : False--- Skip return : False--foreign import ccall "g_assert_warning" g_assert_warning :: - CString -> -- log_domain : TBasicType TUTF8- CString -> -- file : TBasicType TUTF8- Int32 -> -- line : TBasicType TInt32- CString -> -- pretty_function : TBasicType TUTF8- CString -> -- expression : TBasicType TUTF8- IO ()---assertWarning ::- (MonadIO m) =>- T.Text -- logDomain- -> T.Text -- file- -> Int32 -- line- -> T.Text -- prettyFunction- -> T.Text -- expression- -> m () -- result-assertWarning logDomain file line prettyFunction expression = liftIO $ do- logDomain' <- textToCString logDomain- file' <- textToCString file- prettyFunction' <- textToCString prettyFunction- expression' <- textToCString expression- g_assert_warning logDomain' file' line prettyFunction' expression'- freeMem logDomain'- freeMem file'- freeMem prettyFunction'- freeMem expression'- return ()----- function g_ascii_xdigit_value--- Args : [Arg {argCName = "c", argType = TBasicType TInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_ascii_xdigit_value" g_ascii_xdigit_value :: - Int8 -> -- c : TBasicType TInt8- IO Int32---asciiXdigitValue ::- (MonadIO m) =>- Int8 -- c- -> m Int32 -- result-asciiXdigitValue c = liftIO $ do- result <- g_ascii_xdigit_value c- return result----- function g_ascii_toupper--- Args : [Arg {argCName = "c", argType = TBasicType TInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt8--- throws : False--- Skip return : False--foreign import ccall "g_ascii_toupper" g_ascii_toupper :: - Int8 -> -- c : TBasicType TInt8- IO Int8---asciiToupper ::- (MonadIO m) =>- Int8 -- c- -> m Int8 -- result-asciiToupper c = liftIO $ do- result <- g_ascii_toupper c- return result----- function g_ascii_tolower--- Args : [Arg {argCName = "c", argType = TBasicType TInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt8--- throws : False--- Skip return : False--foreign import ccall "g_ascii_tolower" g_ascii_tolower :: - Int8 -> -- c : TBasicType TInt8- IO Int8---asciiTolower ::- (MonadIO m) =>- Int8 -- c- -> m Int8 -- result-asciiTolower c = liftIO $ do- result <- g_ascii_tolower c- return result----- function g_ascii_strup--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_ascii_strup" g_ascii_strup :: - CString -> -- str : TBasicType TUTF8- Int64 -> -- len : TBasicType TInt64- IO CString---asciiStrup ::- (MonadIO m) =>- T.Text -- str- -> Int64 -- len- -> m T.Text -- result-asciiStrup str len = liftIO $ do- str' <- textToCString str- result <- g_ascii_strup str' len- checkUnexpectedReturnNULL "g_ascii_strup" result- result' <- cstringToText result- freeMem result- freeMem str'- return result'----- function g_ascii_strtoull--- Args : [Arg {argCName = "nptr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "endptr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "base", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUInt64--- throws : False--- Skip return : False--foreign import ccall "g_ascii_strtoull" g_ascii_strtoull :: - CString -> -- nptr : TBasicType TUTF8- CString -> -- endptr : TBasicType TUTF8- Word32 -> -- base : TBasicType TUInt32- IO Word64---asciiStrtoull ::- (MonadIO m) =>- T.Text -- nptr- -> T.Text -- endptr- -> Word32 -- base- -> m Word64 -- result-asciiStrtoull nptr endptr base = liftIO $ do- nptr' <- textToCString nptr- endptr' <- textToCString endptr- result <- g_ascii_strtoull nptr' endptr' base- freeMem nptr'- freeMem endptr'- return result----- function g_ascii_strtoll--- Args : [Arg {argCName = "nptr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "endptr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "base", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt64--- throws : False--- Skip return : False--foreign import ccall "g_ascii_strtoll" g_ascii_strtoll :: - CString -> -- nptr : TBasicType TUTF8- CString -> -- endptr : TBasicType TUTF8- Word32 -> -- base : TBasicType TUInt32- IO Int64---asciiStrtoll ::- (MonadIO m) =>- T.Text -- nptr- -> T.Text -- endptr- -> Word32 -- base- -> m Int64 -- result-asciiStrtoll nptr endptr base = liftIO $ do- nptr' <- textToCString nptr- endptr' <- textToCString endptr- result <- g_ascii_strtoll nptr' endptr' base- freeMem nptr'- freeMem endptr'- return result----- function g_ascii_strtod--- Args : [Arg {argCName = "nptr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "endptr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TDouble--- throws : False--- Skip return : False--foreign import ccall "g_ascii_strtod" g_ascii_strtod :: - CString -> -- nptr : TBasicType TUTF8- CString -> -- endptr : TBasicType TUTF8- IO CDouble---asciiStrtod ::- (MonadIO m) =>- T.Text -- nptr- -> T.Text -- endptr- -> m Double -- result-asciiStrtod nptr endptr = liftIO $ do- nptr' <- textToCString nptr- endptr' <- textToCString endptr- result <- g_ascii_strtod nptr' endptr'- let result' = realToFrac result- freeMem nptr'- freeMem endptr'- return result'----- function g_ascii_strncasecmp--- Args : [Arg {argCName = "s1", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "s2", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_ascii_strncasecmp" g_ascii_strncasecmp :: - CString -> -- s1 : TBasicType TUTF8- CString -> -- s2 : TBasicType TUTF8- Word64 -> -- n : TBasicType TUInt64- IO Int32---asciiStrncasecmp ::- (MonadIO m) =>- T.Text -- s1- -> T.Text -- s2- -> Word64 -- n- -> m Int32 -- result-asciiStrncasecmp s1 s2 n = liftIO $ do- s1' <- textToCString s1- s2' <- textToCString s2- result <- g_ascii_strncasecmp s1' s2' n- freeMem s1'- freeMem s2'- return result----- function g_ascii_strdown--- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_ascii_strdown" g_ascii_strdown :: - CString -> -- str : TBasicType TUTF8- Int64 -> -- len : TBasicType TInt64- IO CString---asciiStrdown ::- (MonadIO m) =>- T.Text -- str- -> Int64 -- len- -> m T.Text -- result-asciiStrdown str len = liftIO $ do- str' <- textToCString str- result <- g_ascii_strdown str' len- checkUnexpectedReturnNULL "g_ascii_strdown" result- result' <- cstringToText result- freeMem result- freeMem str'- return result'----- function g_ascii_strcasecmp--- Args : [Arg {argCName = "s1", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "s2", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_ascii_strcasecmp" g_ascii_strcasecmp :: - CString -> -- s1 : TBasicType TUTF8- CString -> -- s2 : TBasicType TUTF8- IO Int32---asciiStrcasecmp ::- (MonadIO m) =>- T.Text -- s1- -> T.Text -- s2- -> m Int32 -- result-asciiStrcasecmp s1 s2 = liftIO $ do- s1' <- textToCString s1- s2' <- textToCString s2- result <- g_ascii_strcasecmp s1' s2'- freeMem s1'- freeMem s2'- return result----- function g_ascii_formatd--- Args : [Arg {argCName = "buffer", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "buf_len", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "format", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "d", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_ascii_formatd" g_ascii_formatd :: - CString -> -- buffer : TBasicType TUTF8- Int32 -> -- buf_len : TBasicType TInt32- CString -> -- format : TBasicType TUTF8- CDouble -> -- d : TBasicType TDouble- IO CString---asciiFormatd ::- (MonadIO m) =>- T.Text -- buffer- -> Int32 -- bufLen- -> T.Text -- format- -> Double -- d- -> m T.Text -- result-asciiFormatd buffer bufLen format d = liftIO $ do- buffer' <- textToCString buffer- format' <- textToCString format- let d' = realToFrac d- result <- g_ascii_formatd buffer' bufLen format' d'- checkUnexpectedReturnNULL "g_ascii_formatd" result- result' <- cstringToText result- freeMem result- freeMem buffer'- freeMem format'- return result'----- function g_ascii_dtostr--- Args : [Arg {argCName = "buffer", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "buf_len", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "d", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TUTF8--- throws : False--- Skip return : False--foreign import ccall "g_ascii_dtostr" g_ascii_dtostr :: - CString -> -- buffer : TBasicType TUTF8- Int32 -> -- buf_len : TBasicType TInt32- CDouble -> -- d : TBasicType TDouble- IO CString---asciiDtostr ::- (MonadIO m) =>- T.Text -- buffer- -> Int32 -- bufLen- -> Double -- d- -> m T.Text -- result-asciiDtostr buffer bufLen d = liftIO $ do- buffer' <- textToCString buffer- let d' = realToFrac d- result <- g_ascii_dtostr buffer' bufLen d'- checkUnexpectedReturnNULL "g_ascii_dtostr" result- result' <- cstringToText result- freeMem result- freeMem buffer'- return result'----- function g_ascii_digit_value--- Args : [Arg {argCName = "c", argType = TBasicType TInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_ascii_digit_value" g_ascii_digit_value :: - Int8 -> -- c : TBasicType TInt8- IO Int32---asciiDigitValue ::- (MonadIO m) =>- Int8 -- c- -> m Int32 -- result-asciiDigitValue c = liftIO $ do- result <- g_ascii_digit_value c- return result----- function g_access--- Args : [Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mode", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : []--- returnType : TBasicType TInt32--- throws : False--- Skip return : False--foreign import ccall "g_access" g_access :: - CString -> -- filename : TBasicType TUTF8- Int32 -> -- mode : TBasicType TInt32+import Data.GI.Base.ShortPrelude++import qualified Data.GI.Base.Attributes as GI.Attributes+import qualified Data.Text as T+import qualified Data.ByteString.Char8 as B+import qualified Data.Map as Map++import GI.GLib.Types+import GI.GLib.Callbacks++-- function g_warn_message+-- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "file", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "line", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "warnexpr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_warn_message" g_warn_message :: + CString -> -- domain : TBasicType TUTF8+ CString -> -- file : TBasicType TUTF8+ Int32 -> -- line : TBasicType TInt+ CString -> -- func : TBasicType TUTF8+ CString -> -- warnexpr : TBasicType TUTF8+ IO ()+++warnMessage ::+ (MonadIO m) =>+ T.Text -- domain+ -> T.Text -- file+ -> Int32 -- line+ -> T.Text -- func+ -> T.Text -- warnexpr+ -> m () -- result+warnMessage domain file line func warnexpr = liftIO $ do+ domain' <- textToCString domain+ file' <- textToCString file+ func' <- textToCString func+ warnexpr' <- textToCString warnexpr+ g_warn_message domain' file' line func' warnexpr'+ freeMem domain'+ freeMem file'+ freeMem func'+ freeMem warnexpr'+ return ()+++-- function g_variant_get_gtype+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TGType)+-- throws : False+-- Skip return : False++foreign import ccall "g_variant_get_gtype" g_variant_get_gtype :: + IO CGType+++variantGetGtype ::+ (MonadIO m) =>+ m GType -- result+variantGetGtype = liftIO $ do+ result <- g_variant_get_gtype+ let result' = GType result+ return result'+++-- function g_utf8_validate+-- Args : [Arg {argCName = "str", argType = TCArray False (-1) 1 (TBasicType TUInt8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "max_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "end", argType = TBasicType TUTF8, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : [Arg {argCName = "max_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_validate" g_utf8_validate :: + Ptr Word8 -> -- str : TCArray False (-1) 1 (TBasicType TUInt8)+ Int64 -> -- max_len : TBasicType TInt64+ Ptr CString -> -- end : TBasicType TUTF8+ IO CInt+++utf8Validate ::+ (MonadIO m) =>+ ByteString -- str+ -> m (Bool,T.Text) -- result+utf8Validate str = liftIO $ do+ let maxLen = fromIntegral $ B.length str+ str' <- packByteString str+ end <- allocMem :: IO (Ptr CString)+ result <- g_utf8_validate str' maxLen end+ let result' = (/= 0) result+ end' <- peek end+ end'' <- cstringToText end'+ freeMem str'+ freeMem end+ return (result', end'')+++-- function g_utf8_substring+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "start_pos", argType = TBasicType TLong, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "end_pos", argType = TBasicType TLong, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_substring" g_utf8_substring :: + CString -> -- str : TBasicType TUTF8+ CLong -> -- start_pos : TBasicType TLong+ CLong -> -- end_pos : TBasicType TLong+ IO CString+++utf8Substring ::+ (MonadIO m) =>+ T.Text -- str+ -> CLong -- startPos+ -> CLong -- endPos+ -> m T.Text -- result+utf8Substring str startPos endPos = liftIO $ do+ str' <- textToCString str+ result <- g_utf8_substring str' startPos endPos+ checkUnexpectedReturnNULL "g_utf8_substring" result+ result' <- cstringToText result+ freeMem result+ freeMem str'+ return result'+++-- function g_utf8_strup+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_strup" g_utf8_strup :: + CString -> -- str : TBasicType TUTF8+ Int64 -> -- len : TBasicType TInt64+ IO CString+++utf8Strup ::+ (MonadIO m) =>+ T.Text -- str+ -> Int64 -- len+ -> m T.Text -- result+utf8Strup str len = liftIO $ do+ str' <- textToCString str+ result <- g_utf8_strup str' len+ checkUnexpectedReturnNULL "g_utf8_strup" result+ result' <- cstringToText result+ freeMem result+ freeMem str'+ return result'+++-- function g_utf8_strreverse+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_strreverse" g_utf8_strreverse :: + CString -> -- str : TBasicType TUTF8+ Int64 -> -- len : TBasicType TInt64+ IO CString+++utf8Strreverse ::+ (MonadIO m) =>+ T.Text -- str+ -> Int64 -- len+ -> m T.Text -- result+utf8Strreverse str len = liftIO $ do+ str' <- textToCString str+ result <- g_utf8_strreverse str' len+ checkUnexpectedReturnNULL "g_utf8_strreverse" result+ result' <- cstringToText result+ freeMem result+ freeMem str'+ return result'+++-- function g_utf8_strrchr+-- Args : [Arg {argCName = "p", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_strrchr" g_utf8_strrchr :: + CString -> -- p : TBasicType TUTF8+ Int64 -> -- len : TBasicType TInt64+ CInt -> -- c : TBasicType TUniChar+ IO CString+++utf8Strrchr ::+ (MonadIO m) =>+ T.Text -- p+ -> Int64 -- len+ -> Char -- c+ -> m T.Text -- result+utf8Strrchr p len c = liftIO $ do+ p' <- textToCString p+ let c' = (fromIntegral . ord) c+ result <- g_utf8_strrchr p' len c'+ checkUnexpectedReturnNULL "g_utf8_strrchr" result+ result' <- cstringToText result+ freeMem result+ freeMem p'+ return result'+++-- function g_utf8_strncpy+-- Args : [Arg {argCName = "dest", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "src", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_strncpy" g_utf8_strncpy :: + CString -> -- dest : TBasicType TUTF8+ CString -> -- src : TBasicType TUTF8+ Word64 -> -- n : TBasicType TUInt64+ IO CString+++utf8Strncpy ::+ (MonadIO m) =>+ T.Text -- dest+ -> T.Text -- src+ -> Word64 -- n+ -> m T.Text -- result+utf8Strncpy dest src n = liftIO $ do+ dest' <- textToCString dest+ src' <- textToCString src+ result <- g_utf8_strncpy dest' src' n+ checkUnexpectedReturnNULL "g_utf8_strncpy" result+ result' <- cstringToText result+ freeMem result+ freeMem dest'+ freeMem src'+ return result'+++-- function g_utf8_strlen+-- Args : [Arg {argCName = "p", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "max", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TLong)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_strlen" g_utf8_strlen :: + CString -> -- p : TBasicType TUTF8+ Int64 -> -- max : TBasicType TInt64+ IO CLong+++utf8Strlen ::+ (MonadIO m) =>+ T.Text -- p+ -> Int64 -- max+ -> m CLong -- result+utf8Strlen p max = liftIO $ do+ p' <- textToCString p+ result <- g_utf8_strlen p' max+ freeMem p'+ return result+++-- function g_utf8_strdown+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_strdown" g_utf8_strdown :: + CString -> -- str : TBasicType TUTF8+ Int64 -> -- len : TBasicType TInt64+ IO CString+++utf8Strdown ::+ (MonadIO m) =>+ T.Text -- str+ -> Int64 -- len+ -> m T.Text -- result+utf8Strdown str len = liftIO $ do+ str' <- textToCString str+ result <- g_utf8_strdown str' len+ checkUnexpectedReturnNULL "g_utf8_strdown" result+ result' <- cstringToText result+ freeMem result+ freeMem str'+ return result'+++-- function g_utf8_strchr+-- Args : [Arg {argCName = "p", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_strchr" g_utf8_strchr :: + CString -> -- p : TBasicType TUTF8+ Int64 -> -- len : TBasicType TInt64+ CInt -> -- c : TBasicType TUniChar+ IO CString+++utf8Strchr ::+ (MonadIO m) =>+ T.Text -- p+ -> Int64 -- len+ -> Char -- c+ -> m T.Text -- result+utf8Strchr p len c = liftIO $ do+ p' <- textToCString p+ let c' = (fromIntegral . ord) c+ result <- g_utf8_strchr p' len c'+ checkUnexpectedReturnNULL "g_utf8_strchr" result+ result' <- cstringToText result+ freeMem result+ freeMem p'+ return result'+++-- function g_utf8_prev_char+-- Args : [Arg {argCName = "p", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_prev_char" g_utf8_prev_char :: + CString -> -- p : TBasicType TUTF8+ IO CString+++utf8PrevChar ::+ (MonadIO m) =>+ T.Text -- p+ -> m T.Text -- result+utf8PrevChar p = liftIO $ do+ p' <- textToCString p+ result <- g_utf8_prev_char p'+ checkUnexpectedReturnNULL "g_utf8_prev_char" result+ result' <- cstringToText result+ freeMem result+ freeMem p'+ return result'+++-- function g_utf8_pointer_to_offset+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pos", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TLong)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_pointer_to_offset" g_utf8_pointer_to_offset :: + CString -> -- str : TBasicType TUTF8+ CString -> -- pos : TBasicType TUTF8+ IO CLong+++utf8PointerToOffset ::+ (MonadIO m) =>+ T.Text -- str+ -> T.Text -- pos+ -> m CLong -- result+utf8PointerToOffset str pos = liftIO $ do+ str' <- textToCString str+ pos' <- textToCString pos+ result <- g_utf8_pointer_to_offset str' pos'+ freeMem str'+ freeMem pos'+ return result+++-- function g_utf8_offset_to_pointer+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "offset", argType = TBasicType TLong, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_offset_to_pointer" g_utf8_offset_to_pointer :: + CString -> -- str : TBasicType TUTF8+ CLong -> -- offset : TBasicType TLong+ IO CString+++utf8OffsetToPointer ::+ (MonadIO m) =>+ T.Text -- str+ -> CLong -- offset+ -> m T.Text -- result+utf8OffsetToPointer str offset = liftIO $ do+ str' <- textToCString str+ result <- g_utf8_offset_to_pointer str' offset+ checkUnexpectedReturnNULL "g_utf8_offset_to_pointer" result+ result' <- cstringToText result+ freeMem result+ freeMem str'+ return result'+++-- function g_utf8_normalize+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mode", argType = TInterface "GLib" "NormalizeMode", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_normalize" g_utf8_normalize :: + CString -> -- str : TBasicType TUTF8+ Int64 -> -- len : TBasicType TInt64+ CUInt -> -- mode : TInterface "GLib" "NormalizeMode"+ IO CString+++utf8Normalize ::+ (MonadIO m) =>+ T.Text -- str+ -> Int64 -- len+ -> NormalizeMode -- mode+ -> m T.Text -- result+utf8Normalize str len mode = liftIO $ do+ str' <- textToCString str+ let mode' = (fromIntegral . fromEnum) mode+ result <- g_utf8_normalize str' len mode'+ checkUnexpectedReturnNULL "g_utf8_normalize" result+ result' <- cstringToText result+ freeMem result+ freeMem str'+ return result'+++-- function g_utf8_get_char_validated+-- Args : [Arg {argCName = "p", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "max_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUniChar)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_get_char_validated" g_utf8_get_char_validated :: + CString -> -- p : TBasicType TUTF8+ Int64 -> -- max_len : TBasicType TInt64+ IO CInt+++utf8GetCharValidated ::+ (MonadIO m) =>+ T.Text -- p+ -> Int64 -- maxLen+ -> m Char -- result+utf8GetCharValidated p maxLen = liftIO $ do+ p' <- textToCString p+ result <- g_utf8_get_char_validated p' maxLen+ let result' = (chr . fromIntegral) result+ freeMem p'+ return result'+++-- function g_utf8_get_char+-- Args : [Arg {argCName = "p", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUniChar)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_get_char" g_utf8_get_char :: + CString -> -- p : TBasicType TUTF8+ IO CInt+++utf8GetChar ::+ (MonadIO m) =>+ T.Text -- p+ -> m Char -- result+utf8GetChar p = liftIO $ do+ p' <- textToCString p+ result <- g_utf8_get_char p'+ let result' = (chr . fromIntegral) result+ freeMem p'+ return result'+++-- function g_utf8_find_prev_char+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "p", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_find_prev_char" g_utf8_find_prev_char :: + CString -> -- str : TBasicType TUTF8+ CString -> -- p : TBasicType TUTF8+ IO CString+++utf8FindPrevChar ::+ (MonadIO m) =>+ T.Text -- str+ -> T.Text -- p+ -> m T.Text -- result+utf8FindPrevChar str p = liftIO $ do+ str' <- textToCString str+ p' <- textToCString p+ result <- g_utf8_find_prev_char str' p'+ checkUnexpectedReturnNULL "g_utf8_find_prev_char" result+ result' <- cstringToText result+ freeMem result+ freeMem str'+ freeMem p'+ return result'+++-- function g_utf8_find_next_char+-- Args : [Arg {argCName = "p", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "end", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_find_next_char" g_utf8_find_next_char :: + CString -> -- p : TBasicType TUTF8+ CString -> -- end : TBasicType TUTF8+ IO CString+++utf8FindNextChar ::+ (MonadIO m) =>+ T.Text -- p+ -> T.Text -- end+ -> m T.Text -- result+utf8FindNextChar p end = liftIO $ do+ p' <- textToCString p+ end' <- textToCString end+ result <- g_utf8_find_next_char p' end'+ checkUnexpectedReturnNULL "g_utf8_find_next_char" result+ result' <- cstringToText result+ freeMem result+ freeMem p'+ freeMem end'+ return result'+++-- function g_utf8_collate_key_for_filename+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_collate_key_for_filename" g_utf8_collate_key_for_filename :: + CString -> -- str : TBasicType TUTF8+ Int64 -> -- len : TBasicType TInt64+ IO CString+++utf8CollateKeyForFilename ::+ (MonadIO m) =>+ T.Text -- str+ -> Int64 -- len+ -> m T.Text -- result+utf8CollateKeyForFilename str len = liftIO $ do+ str' <- textToCString str+ result <- g_utf8_collate_key_for_filename str' len+ checkUnexpectedReturnNULL "g_utf8_collate_key_for_filename" result+ result' <- cstringToText result+ freeMem result+ freeMem str'+ return result'+++-- function g_utf8_collate_key+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_collate_key" g_utf8_collate_key :: + CString -> -- str : TBasicType TUTF8+ Int64 -> -- len : TBasicType TInt64+ IO CString+++utf8CollateKey ::+ (MonadIO m) =>+ T.Text -- str+ -> Int64 -- len+ -> m T.Text -- result+utf8CollateKey str len = liftIO $ do+ str' <- textToCString str+ result <- g_utf8_collate_key str' len+ checkUnexpectedReturnNULL "g_utf8_collate_key" result+ result' <- cstringToText result+ freeMem result+ freeMem str'+ return result'+++-- function g_utf8_collate+-- Args : [Arg {argCName = "str1", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "str2", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_collate" g_utf8_collate :: + CString -> -- str1 : TBasicType TUTF8+ CString -> -- str2 : TBasicType TUTF8+ IO Int32+++utf8Collate ::+ (MonadIO m) =>+ T.Text -- str1+ -> T.Text -- str2+ -> m Int32 -- result+utf8Collate str1 str2 = liftIO $ do+ str1' <- textToCString str1+ str2' <- textToCString str2+ result <- g_utf8_collate str1' str2'+ freeMem str1'+ freeMem str2'+ return result+++-- function g_utf8_casefold+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_utf8_casefold" g_utf8_casefold :: + CString -> -- str : TBasicType TUTF8+ Int64 -> -- len : TBasicType TInt64+ IO CString+++utf8Casefold ::+ (MonadIO m) =>+ T.Text -- str+ -> Int64 -- len+ -> m T.Text -- result+utf8Casefold str len = liftIO $ do+ str' <- textToCString str+ result <- g_utf8_casefold str' len+ checkUnexpectedReturnNULL "g_utf8_casefold" result+ result' <- cstringToText result+ freeMem result+ freeMem str'+ return result'+++-- function g_usleep+-- Args : [Arg {argCName = "microseconds", argType = TBasicType TULong, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_usleep" g_usleep :: + CULong -> -- microseconds : TBasicType TULong+ IO ()+++usleep ::+ (MonadIO m) =>+ CULong -- microseconds+ -> m () -- result+usleep microseconds = liftIO $ do+ g_usleep microseconds+ return ()+++-- function g_uri_unescape_string+-- Args : [Arg {argCName = "escaped_string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "illegal_characters", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_uri_unescape_string" g_uri_unescape_string :: + CString -> -- escaped_string : TBasicType TUTF8+ CString -> -- illegal_characters : TBasicType TUTF8+ IO CString+++uriUnescapeString ::+ (MonadIO m) =>+ T.Text -- escapedString+ -> Maybe (T.Text) -- illegalCharacters+ -> m T.Text -- result+uriUnescapeString escapedString illegalCharacters = liftIO $ do+ escapedString' <- textToCString escapedString+ maybeIllegalCharacters <- case illegalCharacters of+ Nothing -> return nullPtr+ Just jIllegalCharacters -> do+ jIllegalCharacters' <- textToCString jIllegalCharacters+ return jIllegalCharacters'+ result <- g_uri_unescape_string escapedString' maybeIllegalCharacters+ checkUnexpectedReturnNULL "g_uri_unescape_string" result+ result' <- cstringToText result+ freeMem result+ freeMem escapedString'+ freeMem maybeIllegalCharacters+ return result'+++-- function g_uri_unescape_segment+-- Args : [Arg {argCName = "escaped_string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "escaped_string_end", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "illegal_characters", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_uri_unescape_segment" g_uri_unescape_segment :: + CString -> -- escaped_string : TBasicType TUTF8+ CString -> -- escaped_string_end : TBasicType TUTF8+ CString -> -- illegal_characters : TBasicType TUTF8+ IO CString+++uriUnescapeSegment ::+ (MonadIO m) =>+ Maybe (T.Text) -- escapedString+ -> Maybe (T.Text) -- escapedStringEnd+ -> Maybe (T.Text) -- illegalCharacters+ -> m T.Text -- result+uriUnescapeSegment escapedString escapedStringEnd illegalCharacters = liftIO $ do+ maybeEscapedString <- case escapedString of+ Nothing -> return nullPtr+ Just jEscapedString -> do+ jEscapedString' <- textToCString jEscapedString+ return jEscapedString'+ maybeEscapedStringEnd <- case escapedStringEnd of+ Nothing -> return nullPtr+ Just jEscapedStringEnd -> do+ jEscapedStringEnd' <- textToCString jEscapedStringEnd+ return jEscapedStringEnd'+ maybeIllegalCharacters <- case illegalCharacters of+ Nothing -> return nullPtr+ Just jIllegalCharacters -> do+ jIllegalCharacters' <- textToCString jIllegalCharacters+ return jIllegalCharacters'+ result <- g_uri_unescape_segment maybeEscapedString maybeEscapedStringEnd maybeIllegalCharacters+ checkUnexpectedReturnNULL "g_uri_unescape_segment" result+ result' <- cstringToText result+ freeMem result+ freeMem maybeEscapedString+ freeMem maybeEscapedStringEnd+ freeMem maybeIllegalCharacters+ return result'+++-- function g_uri_parse_scheme+-- Args : [Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_uri_parse_scheme" g_uri_parse_scheme :: + CString -> -- uri : TBasicType TUTF8+ IO CString+++uriParseScheme ::+ (MonadIO m) =>+ T.Text -- uri+ -> m T.Text -- result+uriParseScheme uri = liftIO $ do+ uri' <- textToCString uri+ result <- g_uri_parse_scheme uri'+ checkUnexpectedReturnNULL "g_uri_parse_scheme" result+ result' <- cstringToText result+ freeMem result+ freeMem uri'+ return result'+++-- function g_uri_list_extract_uris+-- Args : [Arg {argCName = "uri_list", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TCArray True (-1) (-1) (TBasicType TUTF8))+-- throws : False+-- Skip return : False++foreign import ccall "g_uri_list_extract_uris" g_uri_list_extract_uris :: + CString -> -- uri_list : TBasicType TUTF8+ IO (Ptr CString)+++uriListExtractUris ::+ (MonadIO m) =>+ T.Text -- uriList+ -> m [T.Text] -- result+uriListExtractUris uriList = liftIO $ do+ uriList' <- textToCString uriList+ result <- g_uri_list_extract_uris uriList'+ checkUnexpectedReturnNULL "g_uri_list_extract_uris" result+ result' <- unpackZeroTerminatedUTF8CArray result+ mapZeroTerminatedCArray freeMem result+ freeMem result+ freeMem uriList'+ return result'+++-- function g_uri_escape_string+-- Args : [Arg {argCName = "unescaped", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "reserved_chars_allowed", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "allow_utf8", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_uri_escape_string" g_uri_escape_string :: + CString -> -- unescaped : TBasicType TUTF8+ CString -> -- reserved_chars_allowed : TBasicType TUTF8+ CInt -> -- allow_utf8 : TBasicType TBoolean+ IO CString+++uriEscapeString ::+ (MonadIO m) =>+ T.Text -- unescaped+ -> Maybe (T.Text) -- reservedCharsAllowed+ -> Bool -- allowUtf8+ -> m T.Text -- result+uriEscapeString unescaped reservedCharsAllowed allowUtf8 = liftIO $ do+ unescaped' <- textToCString unescaped+ maybeReservedCharsAllowed <- case reservedCharsAllowed of+ Nothing -> return nullPtr+ Just jReservedCharsAllowed -> do+ jReservedCharsAllowed' <- textToCString jReservedCharsAllowed+ return jReservedCharsAllowed'+ let allowUtf8' = (fromIntegral . fromEnum) allowUtf8+ result <- g_uri_escape_string unescaped' maybeReservedCharsAllowed allowUtf8'+ checkUnexpectedReturnNULL "g_uri_escape_string" result+ result' <- cstringToText result+ freeMem result+ freeMem unescaped'+ freeMem maybeReservedCharsAllowed+ return result'+++-- function g_unsetenv+-- Args : [Arg {argCName = "variable", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_unsetenv" g_unsetenv :: + CString -> -- variable : TBasicType TUTF8+ IO ()+++unsetenv ::+ (MonadIO m) =>+ T.Text -- variable+ -> m () -- result+unsetenv variable = liftIO $ do+ variable' <- textToCString variable+ g_unsetenv variable'+ freeMem variable'+ return ()+++-- function g_unlink+-- Args : [Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_unlink" g_unlink :: + CString -> -- filename : TBasicType TUTF8+ IO Int32+++unlink ::+ (MonadIO m) =>+ T.Text -- filename+ -> m Int32 -- result+unlink filename = liftIO $ do+ filename' <- textToCString filename+ result <- g_unlink filename'+ freeMem filename'+ return result+++-- function g_unix_signal_source_new+-- Args : [Arg {argCName = "signum", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TInterface "GLib" "Source")+-- throws : False+-- Skip return : False++foreign import ccall "g_unix_signal_source_new" g_unix_signal_source_new :: + Int32 -> -- signum : TBasicType TInt+ IO (Ptr Source)+++unixSignalSourceNew ::+ (MonadIO m) =>+ Int32 -- signum+ -> m Source -- result+unixSignalSourceNew signum = liftIO $ do+ result <- g_unix_signal_source_new signum+ checkUnexpectedReturnNULL "g_unix_signal_source_new" result+ result' <- (wrapBoxed Source) result+ return result'+++-- function g_unix_signal_add_full+-- Args : [Arg {argCName = "priority", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "signum", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "handler", argType = TInterface "GLib" "SourceFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeNotified, argClosure = 3, argDestroy = 4, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_unix_signal_add_full" g_unix_signal_add_full :: + Int32 -> -- priority : TBasicType TInt+ Int32 -> -- signum : TBasicType TInt+ FunPtr SourceFuncC -> -- handler : TInterface "GLib" "SourceFunc"+ Ptr () -> -- user_data : TBasicType TPtr+ FunPtr DestroyNotifyC -> -- notify : TInterface "GLib" "DestroyNotify"+ IO Word32+++unixSignalAdd ::+ (MonadIO m) =>+ Int32 -- priority+ -> Int32 -- signum+ -> SourceFunc -- handler+ -> m Word32 -- result+unixSignalAdd priority signum handler = liftIO $ do+ handler' <- mkSourceFunc (sourceFuncWrapper Nothing handler)+ let userData = castFunPtrToPtr handler'+ let notify = safeFreeFunPtrPtr+ result <- g_unix_signal_add_full priority signum handler' userData notify+ return result+++-- function g_unix_set_fd_nonblocking+-- Args : [Arg {argCName = "fd", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "nonblock", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : True+-- Skip return : False++foreign import ccall "g_unix_set_fd_nonblocking" g_unix_set_fd_nonblocking :: + Int32 -> -- fd : TBasicType TInt+ CInt -> -- nonblock : TBasicType TBoolean+ Ptr (Ptr GError) -> -- error+ IO CInt+++unixSetFdNonblocking ::+ (MonadIO m) =>+ Int32 -- fd+ -> Bool -- nonblock+ -> m () -- result+unixSetFdNonblocking fd nonblock = liftIO $ do+ let nonblock' = (fromIntegral . fromEnum) nonblock+ onException (do+ _ <- propagateGError $ g_unix_set_fd_nonblocking fd nonblock'+ return ()+ ) (do+ return ()+ )+++-- function g_unix_open_pipe+-- Args : [Arg {argCName = "fds", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : True+-- Skip return : False++foreign import ccall "g_unix_open_pipe" g_unix_open_pipe :: + Int32 -> -- fds : TBasicType TInt+ Int32 -> -- flags : TBasicType TInt+ Ptr (Ptr GError) -> -- error+ IO CInt+++unixOpenPipe ::+ (MonadIO m) =>+ Int32 -- fds+ -> Int32 -- flags+ -> m () -- result+unixOpenPipe fds flags = liftIO $ do+ onException (do+ _ <- propagateGError $ g_unix_open_pipe fds flags+ return ()+ ) (do+ return ()+ )+++-- function g_unix_fd_source_new+-- Args : [Arg {argCName = "fd", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "condition", argType = TInterface "GLib" "IOCondition", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TInterface "GLib" "Source")+-- throws : False+-- Skip return : False++foreign import ccall "g_unix_fd_source_new" g_unix_fd_source_new :: + Int32 -> -- fd : TBasicType TInt+ CUInt -> -- condition : TInterface "GLib" "IOCondition"+ IO (Ptr Source)+++unixFdSourceNew ::+ (MonadIO m) =>+ Int32 -- fd+ -> [IOCondition] -- condition+ -> m Source -- result+unixFdSourceNew fd condition = liftIO $ do+ let condition' = gflagsToWord condition+ result <- g_unix_fd_source_new fd condition'+ checkUnexpectedReturnNULL "g_unix_fd_source_new" result+ result' <- (wrapBoxed Source) result+ return result'+++-- function g_unix_fd_add_full+-- Args : [Arg {argCName = "priority", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "fd", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "condition", argType = TInterface "GLib" "IOCondition", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "function", argType = TInterface "GLib" "UnixFDSourceFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeNotified, argClosure = 4, argDestroy = 5, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_unix_fd_add_full" g_unix_fd_add_full :: + Int32 -> -- priority : TBasicType TInt+ Int32 -> -- fd : TBasicType TInt+ CUInt -> -- condition : TInterface "GLib" "IOCondition"+ FunPtr UnixFDSourceFuncC -> -- function : TInterface "GLib" "UnixFDSourceFunc"+ Ptr () -> -- user_data : TBasicType TPtr+ FunPtr DestroyNotifyC -> -- notify : TInterface "GLib" "DestroyNotify"+ IO Word32+++unixFdAddFull ::+ (MonadIO m) =>+ Int32 -- priority+ -> Int32 -- fd+ -> [IOCondition] -- condition+ -> UnixFDSourceFunc -- function+ -> m Word32 -- result+unixFdAddFull priority fd condition function = liftIO $ do+ let condition' = gflagsToWord condition+ function' <- mkUnixFDSourceFunc (unixFDSourceFuncWrapper Nothing function)+ let userData = castFunPtrToPtr function'+ let notify = safeFreeFunPtrPtr+ result <- g_unix_fd_add_full priority fd condition' function' userData notify+ return result+++-- function g_unix_error_quark+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUInt32)+-- throws : False+-- Skip return : False++foreign import ccall "g_unix_error_quark" g_unix_error_quark :: + IO Word32+++unixErrorQuark ::+ (MonadIO m) =>+ m Word32 -- result+unixErrorQuark = liftIO $ do+ result <- g_unix_error_quark+ return result+++-- function g_unicode_script_to_iso15924+-- Args : [Arg {argCName = "script", argType = TInterface "GLib" "UnicodeScript", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt32)+-- throws : False+-- Skip return : False++foreign import ccall "g_unicode_script_to_iso15924" g_unicode_script_to_iso15924 :: + CUInt -> -- script : TInterface "GLib" "UnicodeScript"+ IO Word32+++unicodeScriptToIso15924 ::+ (MonadIO m) =>+ UnicodeScript -- script+ -> m Word32 -- result+unicodeScriptToIso15924 script = liftIO $ do+ let script' = (fromIntegral . fromEnum) script+ result <- g_unicode_script_to_iso15924 script'+ return result+++-- function g_unicode_script_from_iso15924+-- Args : [Arg {argCName = "iso15924", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TInterface "GLib" "UnicodeScript")+-- throws : False+-- Skip return : False++foreign import ccall "g_unicode_script_from_iso15924" g_unicode_script_from_iso15924 :: + Word32 -> -- iso15924 : TBasicType TUInt32+ IO CUInt+++unicodeScriptFromIso15924 ::+ (MonadIO m) =>+ Word32 -- iso15924+ -> m UnicodeScript -- result+unicodeScriptFromIso15924 iso15924 = liftIO $ do+ result <- g_unicode_script_from_iso15924 iso15924+ let result' = (toEnum . fromIntegral) result+ return result'+++-- function g_unicode_canonical_ordering+-- Args : [Arg {argCName = "string", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_unicode_canonical_ordering" g_unicode_canonical_ordering :: + CInt -> -- string : TBasicType TUniChar+ Word64 -> -- len : TBasicType TUInt64+ IO ()+++unicodeCanonicalOrdering ::+ (MonadIO m) =>+ Char -- string+ -> Word64 -- len+ -> m () -- result+unicodeCanonicalOrdering string len = liftIO $ do+ let string' = (fromIntegral . ord) string+ g_unicode_canonical_ordering string' len+ return ()+++-- function g_unicode_canonical_decomposition+-- Args : [Arg {argCName = "ch", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "result_len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUniChar)+-- throws : False+-- Skip return : False++foreign import ccall "g_unicode_canonical_decomposition" g_unicode_canonical_decomposition :: + CInt -> -- ch : TBasicType TUniChar+ Word64 -> -- result_len : TBasicType TUInt64+ IO CInt++{-# DEPRECATED unicodeCanonicalDecomposition ["(Since version 2.30)","Use the more flexible g_unichar_fully_decompose()"," instead."]#-}+unicodeCanonicalDecomposition ::+ (MonadIO m) =>+ Char -- ch+ -> Word64 -- resultLen+ -> m Char -- result+unicodeCanonicalDecomposition ch resultLen = liftIO $ do+ let ch' = (fromIntegral . ord) ch+ result <- g_unicode_canonical_decomposition ch' resultLen+ let result' = (chr . fromIntegral) result+ return result'+++-- function g_unichar_xdigit_value+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_xdigit_value" g_unichar_xdigit_value :: + CInt -> -- c : TBasicType TUniChar+ IO Int32+++unicharXdigitValue ::+ (MonadIO m) =>+ Char -- c+ -> m Int32 -- result+unicharXdigitValue c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_xdigit_value c'+ return result+++-- function g_unichar_validate+-- Args : [Arg {argCName = "ch", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_validate" g_unichar_validate :: + CInt -> -- ch : TBasicType TUniChar+ IO CInt+++unicharValidate ::+ (MonadIO m) =>+ Char -- ch+ -> m Bool -- result+unicharValidate ch = liftIO $ do+ let ch' = (fromIntegral . ord) ch+ result <- g_unichar_validate ch'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_type+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TInterface "GLib" "UnicodeType")+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_type" g_unichar_type :: + CInt -> -- c : TBasicType TUniChar+ IO CUInt+++unicharType ::+ (MonadIO m) =>+ Char -- c+ -> m UnicodeType -- result+unicharType c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_type c'+ let result' = (toEnum . fromIntegral) result+ return result'+++-- function g_unichar_toupper+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUniChar)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_toupper" g_unichar_toupper :: + CInt -> -- c : TBasicType TUniChar+ IO CInt+++unicharToupper ::+ (MonadIO m) =>+ Char -- c+ -> m Char -- result+unicharToupper c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_toupper c'+ let result' = (chr . fromIntegral) result+ return result'+++-- function g_unichar_totitle+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUniChar)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_totitle" g_unichar_totitle :: + CInt -> -- c : TBasicType TUniChar+ IO CInt+++unicharTotitle ::+ (MonadIO m) =>+ Char -- c+ -> m Char -- result+unicharTotitle c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_totitle c'+ let result' = (chr . fromIntegral) result+ return result'+++-- function g_unichar_tolower+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUniChar)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_tolower" g_unichar_tolower :: + CInt -> -- c : TBasicType TUniChar+ IO CInt+++unicharTolower ::+ (MonadIO m) =>+ Char -- c+ -> m Char -- result+unicharTolower c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_tolower c'+ let result' = (chr . fromIntegral) result+ return result'+++-- function g_unichar_to_utf8+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "outbuf", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_to_utf8" g_unichar_to_utf8 :: + CInt -> -- c : TBasicType TUniChar+ CString -> -- outbuf : TBasicType TUTF8+ IO Int32+++unicharToUtf8 ::+ (MonadIO m) =>+ Char -- c+ -> T.Text -- outbuf+ -> m Int32 -- result+unicharToUtf8 c outbuf = liftIO $ do+ let c' = (fromIntegral . ord) c+ outbuf' <- textToCString outbuf+ result <- g_unichar_to_utf8 c' outbuf'+ freeMem outbuf'+ return result+++-- function g_unichar_iszerowidth+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_iszerowidth" g_unichar_iszerowidth :: + CInt -> -- c : TBasicType TUniChar+ IO CInt+++unicharIszerowidth ::+ (MonadIO m) =>+ Char -- c+ -> m Bool -- result+unicharIszerowidth c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_iszerowidth c'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_isxdigit+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_isxdigit" g_unichar_isxdigit :: + CInt -> -- c : TBasicType TUniChar+ IO CInt+++unicharIsxdigit ::+ (MonadIO m) =>+ Char -- c+ -> m Bool -- result+unicharIsxdigit c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_isxdigit c'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_iswide_cjk+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_iswide_cjk" g_unichar_iswide_cjk :: + CInt -> -- c : TBasicType TUniChar+ IO CInt+++unicharIswideCjk ::+ (MonadIO m) =>+ Char -- c+ -> m Bool -- result+unicharIswideCjk c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_iswide_cjk c'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_iswide+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_iswide" g_unichar_iswide :: + CInt -> -- c : TBasicType TUniChar+ IO CInt+++unicharIswide ::+ (MonadIO m) =>+ Char -- c+ -> m Bool -- result+unicharIswide c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_iswide c'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_isupper+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_isupper" g_unichar_isupper :: + CInt -> -- c : TBasicType TUniChar+ IO CInt+++unicharIsupper ::+ (MonadIO m) =>+ Char -- c+ -> m Bool -- result+unicharIsupper c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_isupper c'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_istitle+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_istitle" g_unichar_istitle :: + CInt -> -- c : TBasicType TUniChar+ IO CInt+++unicharIstitle ::+ (MonadIO m) =>+ Char -- c+ -> m Bool -- result+unicharIstitle c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_istitle c'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_isspace+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_isspace" g_unichar_isspace :: + CInt -> -- c : TBasicType TUniChar+ IO CInt+++unicharIsspace ::+ (MonadIO m) =>+ Char -- c+ -> m Bool -- result+unicharIsspace c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_isspace c'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_ispunct+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_ispunct" g_unichar_ispunct :: + CInt -> -- c : TBasicType TUniChar+ IO CInt+++unicharIspunct ::+ (MonadIO m) =>+ Char -- c+ -> m Bool -- result+unicharIspunct c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_ispunct c'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_isprint+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_isprint" g_unichar_isprint :: + CInt -> -- c : TBasicType TUniChar+ IO CInt+++unicharIsprint ::+ (MonadIO m) =>+ Char -- c+ -> m Bool -- result+unicharIsprint c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_isprint c'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_ismark+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_ismark" g_unichar_ismark :: + CInt -> -- c : TBasicType TUniChar+ IO CInt+++unicharIsmark ::+ (MonadIO m) =>+ Char -- c+ -> m Bool -- result+unicharIsmark c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_ismark c'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_islower+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_islower" g_unichar_islower :: + CInt -> -- c : TBasicType TUniChar+ IO CInt+++unicharIslower ::+ (MonadIO m) =>+ Char -- c+ -> m Bool -- result+unicharIslower c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_islower c'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_isgraph+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_isgraph" g_unichar_isgraph :: + CInt -> -- c : TBasicType TUniChar+ IO CInt+++unicharIsgraph ::+ (MonadIO m) =>+ Char -- c+ -> m Bool -- result+unicharIsgraph c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_isgraph c'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_isdigit+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_isdigit" g_unichar_isdigit :: + CInt -> -- c : TBasicType TUniChar+ IO CInt+++unicharIsdigit ::+ (MonadIO m) =>+ Char -- c+ -> m Bool -- result+unicharIsdigit c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_isdigit c'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_isdefined+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_isdefined" g_unichar_isdefined :: + CInt -> -- c : TBasicType TUniChar+ IO CInt+++unicharIsdefined ::+ (MonadIO m) =>+ Char -- c+ -> m Bool -- result+unicharIsdefined c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_isdefined c'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_iscntrl+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_iscntrl" g_unichar_iscntrl :: + CInt -> -- c : TBasicType TUniChar+ IO CInt+++unicharIscntrl ::+ (MonadIO m) =>+ Char -- c+ -> m Bool -- result+unicharIscntrl c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_iscntrl c'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_isalpha+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_isalpha" g_unichar_isalpha :: + CInt -> -- c : TBasicType TUniChar+ IO CInt+++unicharIsalpha ::+ (MonadIO m) =>+ Char -- c+ -> m Bool -- result+unicharIsalpha c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_isalpha c'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_isalnum+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_isalnum" g_unichar_isalnum :: + CInt -> -- c : TBasicType TUniChar+ IO CInt+++unicharIsalnum ::+ (MonadIO m) =>+ Char -- c+ -> m Bool -- result+unicharIsalnum c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_isalnum c'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_get_script+-- Args : [Arg {argCName = "ch", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TInterface "GLib" "UnicodeScript")+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_get_script" g_unichar_get_script :: + CInt -> -- ch : TBasicType TUniChar+ IO CUInt+++unicharGetScript ::+ (MonadIO m) =>+ Char -- ch+ -> m UnicodeScript -- result+unicharGetScript ch = liftIO $ do+ let ch' = (fromIntegral . ord) ch+ result <- g_unichar_get_script ch'+ let result' = (toEnum . fromIntegral) result+ return result'+++-- function g_unichar_get_mirror_char+-- Args : [Arg {argCName = "ch", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mirrored_ch", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_get_mirror_char" g_unichar_get_mirror_char :: + CInt -> -- ch : TBasicType TUniChar+ CInt -> -- mirrored_ch : TBasicType TUniChar+ IO CInt+++unicharGetMirrorChar ::+ (MonadIO m) =>+ Char -- ch+ -> Char -- mirroredCh+ -> m Bool -- result+unicharGetMirrorChar ch mirroredCh = liftIO $ do+ let ch' = (fromIntegral . ord) ch+ let mirroredCh' = (fromIntegral . ord) mirroredCh+ result <- g_unichar_get_mirror_char ch' mirroredCh'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_digit_value+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_digit_value" g_unichar_digit_value :: + CInt -> -- c : TBasicType TUniChar+ IO Int32+++unicharDigitValue ::+ (MonadIO m) =>+ Char -- c+ -> m Int32 -- result+unicharDigitValue c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_digit_value c'+ return result+++-- function g_unichar_decompose+-- Args : [Arg {argCName = "ch", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "a", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "b", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_decompose" g_unichar_decompose :: + CInt -> -- ch : TBasicType TUniChar+ CInt -> -- a : TBasicType TUniChar+ CInt -> -- b : TBasicType TUniChar+ IO CInt+++unicharDecompose ::+ (MonadIO m) =>+ Char -- ch+ -> Char -- a+ -> Char -- b+ -> m Bool -- result+unicharDecompose ch a b = liftIO $ do+ let ch' = (fromIntegral . ord) ch+ let a' = (fromIntegral . ord) a+ let b' = (fromIntegral . ord) b+ result <- g_unichar_decompose ch' a' b'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_compose+-- Args : [Arg {argCName = "a", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "b", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "ch", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_compose" g_unichar_compose :: + CInt -> -- a : TBasicType TUniChar+ CInt -> -- b : TBasicType TUniChar+ CInt -> -- ch : TBasicType TUniChar+ IO CInt+++unicharCompose ::+ (MonadIO m) =>+ Char -- a+ -> Char -- b+ -> Char -- ch+ -> m Bool -- result+unicharCompose a b ch = liftIO $ do+ let a' = (fromIntegral . ord) a+ let b' = (fromIntegral . ord) b+ let ch' = (fromIntegral . ord) ch+ result <- g_unichar_compose a' b' ch'+ let result' = (/= 0) result+ return result'+++-- function g_unichar_combining_class+-- Args : [Arg {argCName = "uc", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_combining_class" g_unichar_combining_class :: + CInt -> -- uc : TBasicType TUniChar+ IO Int32+++unicharCombiningClass ::+ (MonadIO m) =>+ Char -- uc+ -> m Int32 -- result+unicharCombiningClass uc = liftIO $ do+ let uc' = (fromIntegral . ord) uc+ result <- g_unichar_combining_class uc'+ return result+++-- function g_unichar_break_type+-- Args : [Arg {argCName = "c", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TInterface "GLib" "UnicodeBreakType")+-- throws : False+-- Skip return : False++foreign import ccall "g_unichar_break_type" g_unichar_break_type :: + CInt -> -- c : TBasicType TUniChar+ IO CUInt+++unicharBreakType ::+ (MonadIO m) =>+ Char -- c+ -> m UnicodeBreakType -- result+unicharBreakType c = liftIO $ do+ let c' = (fromIntegral . ord) c+ result <- g_unichar_break_type c'+ let result' = (toEnum . fromIntegral) result+ return result'+++-- function g_timeout_source_new_seconds+-- Args : [Arg {argCName = "interval", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TInterface "GLib" "Source")+-- throws : False+-- Skip return : False++foreign import ccall "g_timeout_source_new_seconds" g_timeout_source_new_seconds :: + Word32 -> -- interval : TBasicType TUInt+ IO (Ptr Source)+++timeoutSourceNewSeconds ::+ (MonadIO m) =>+ Word32 -- interval+ -> m Source -- result+timeoutSourceNewSeconds interval = liftIO $ do+ result <- g_timeout_source_new_seconds interval+ checkUnexpectedReturnNULL "g_timeout_source_new_seconds" result+ result' <- (wrapBoxed Source) result+ return result'+++-- function g_timeout_source_new+-- Args : [Arg {argCName = "interval", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TInterface "GLib" "Source")+-- throws : False+-- Skip return : False++foreign import ccall "g_timeout_source_new" g_timeout_source_new :: + Word32 -> -- interval : TBasicType TUInt+ IO (Ptr Source)+++timeoutSourceNew ::+ (MonadIO m) =>+ Word32 -- interval+ -> m Source -- result+timeoutSourceNew interval = liftIO $ do+ result <- g_timeout_source_new interval+ checkUnexpectedReturnNULL "g_timeout_source_new" result+ result' <- (wrapBoxed Source) result+ return result'+++-- function g_timeout_add_seconds_full+-- Args : [Arg {argCName = "priority", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "interval", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "function", argType = TInterface "GLib" "SourceFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeNotified, argClosure = 3, argDestroy = 4, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_timeout_add_seconds_full" g_timeout_add_seconds_full :: + Int32 -> -- priority : TBasicType TInt+ Word32 -> -- interval : TBasicType TUInt+ FunPtr SourceFuncC -> -- function : TInterface "GLib" "SourceFunc"+ Ptr () -> -- data : TBasicType TPtr+ FunPtr DestroyNotifyC -> -- notify : TInterface "GLib" "DestroyNotify"+ IO Word32+++timeoutAddSeconds ::+ (MonadIO m) =>+ Int32 -- priority+ -> Word32 -- interval+ -> SourceFunc -- function+ -> m Word32 -- result+timeoutAddSeconds priority interval function = liftIO $ do+ function' <- mkSourceFunc (sourceFuncWrapper Nothing function)+ let data_ = castFunPtrToPtr function'+ let notify = safeFreeFunPtrPtr+ result <- g_timeout_add_seconds_full priority interval function' data_ notify+ return result+++-- function g_timeout_add_full+-- Args : [Arg {argCName = "priority", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "interval", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "function", argType = TInterface "GLib" "SourceFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeNotified, argClosure = 3, argDestroy = 4, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_timeout_add_full" g_timeout_add_full :: + Int32 -> -- priority : TBasicType TInt+ Word32 -> -- interval : TBasicType TUInt+ FunPtr SourceFuncC -> -- function : TInterface "GLib" "SourceFunc"+ Ptr () -> -- data : TBasicType TPtr+ FunPtr DestroyNotifyC -> -- notify : TInterface "GLib" "DestroyNotify"+ IO Word32+++timeoutAdd ::+ (MonadIO m) =>+ Int32 -- priority+ -> Word32 -- interval+ -> SourceFunc -- function+ -> m Word32 -- result+timeoutAdd priority interval function = liftIO $ do+ function' <- mkSourceFunc (sourceFuncWrapper Nothing function)+ let data_ = castFunPtrToPtr function'+ let notify = safeFreeFunPtrPtr+ result <- g_timeout_add_full priority interval function' data_ notify+ return result+++-- function g_test_trap_subprocess+-- Args : [Arg {argCName = "test_path", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "usec_timeout", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "test_flags", argType = TInterface "GLib" "TestSubprocessFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_test_trap_subprocess" g_test_trap_subprocess :: + CString -> -- test_path : TBasicType TUTF8+ Word64 -> -- usec_timeout : TBasicType TUInt64+ CUInt -> -- test_flags : TInterface "GLib" "TestSubprocessFlags"+ IO ()+++testTrapSubprocess ::+ (MonadIO m) =>+ Maybe (T.Text) -- testPath+ -> Word64 -- usecTimeout+ -> [TestSubprocessFlags] -- testFlags+ -> m () -- result+testTrapSubprocess testPath usecTimeout testFlags = liftIO $ do+ maybeTestPath <- case testPath of+ Nothing -> return nullPtr+ Just jTestPath -> do+ jTestPath' <- textToCString jTestPath+ return jTestPath'+ let testFlags' = gflagsToWord testFlags+ g_test_trap_subprocess maybeTestPath usecTimeout testFlags'+ freeMem maybeTestPath+ return ()+++-- function g_test_trap_reached_timeout+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_test_trap_reached_timeout" g_test_trap_reached_timeout :: + IO CInt+++testTrapReachedTimeout ::+ (MonadIO m) =>+ m Bool -- result+testTrapReachedTimeout = liftIO $ do+ result <- g_test_trap_reached_timeout+ let result' = (/= 0) result+ return result'+++-- function g_test_trap_has_passed+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_test_trap_has_passed" g_test_trap_has_passed :: + IO CInt+++testTrapHasPassed ::+ (MonadIO m) =>+ m Bool -- result+testTrapHasPassed = liftIO $ do+ result <- g_test_trap_has_passed+ let result' = (/= 0) result+ return result'+++-- function g_test_trap_fork+-- Args : [Arg {argCName = "usec_timeout", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "test_trap_flags", argType = TInterface "GLib" "TestTrapFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_test_trap_fork" g_test_trap_fork :: + Word64 -> -- usec_timeout : TBasicType TUInt64+ CUInt -> -- test_trap_flags : TInterface "GLib" "TestTrapFlags"+ IO CInt++{-# DEPRECATED testTrapFork ["This function is implemented only on Unix platforms,","and is not always reliable due to problems inherent in","fork-without-exec. Use g_test_trap_subprocess() instead."]#-}+testTrapFork ::+ (MonadIO m) =>+ Word64 -- usecTimeout+ -> [TestTrapFlags] -- testTrapFlags+ -> m Bool -- result+testTrapFork usecTimeout testTrapFlags = liftIO $ do+ let testTrapFlags' = gflagsToWord testTrapFlags+ result <- g_test_trap_fork usecTimeout testTrapFlags'+ let result' = (/= 0) result+ return result'+++-- function g_test_trap_assertions+-- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "file", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "line", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "assertion_flags", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pattern", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_test_trap_assertions" g_test_trap_assertions :: + CString -> -- domain : TBasicType TUTF8+ CString -> -- file : TBasicType TUTF8+ Int32 -> -- line : TBasicType TInt+ CString -> -- func : TBasicType TUTF8+ Word64 -> -- assertion_flags : TBasicType TUInt64+ CString -> -- pattern : TBasicType TUTF8+ IO ()+++testTrapAssertions ::+ (MonadIO m) =>+ T.Text -- domain+ -> T.Text -- file+ -> Int32 -- line+ -> T.Text -- func+ -> Word64 -- assertionFlags+ -> T.Text -- pattern+ -> m () -- result+testTrapAssertions domain file line func assertionFlags pattern = liftIO $ do+ domain' <- textToCString domain+ file' <- textToCString file+ func' <- textToCString func+ pattern' <- textToCString pattern+ g_test_trap_assertions domain' file' line func' assertionFlags pattern'+ freeMem domain'+ freeMem file'+ freeMem func'+ freeMem pattern'+ return ()+++-- function g_test_timer_start+-- Args : []+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_test_timer_start" g_test_timer_start :: + IO ()+++testTimerStart ::+ (MonadIO m) =>+ m () -- result+testTimerStart = liftIO $ do+ g_test_timer_start+ return ()+++-- function g_test_timer_last+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TDouble)+-- throws : False+-- Skip return : False++foreign import ccall "g_test_timer_last" g_test_timer_last :: + IO CDouble+++testTimerLast ::+ (MonadIO m) =>+ m Double -- result+testTimerLast = liftIO $ do+ result <- g_test_timer_last+ let result' = realToFrac result+ return result'+++-- function g_test_timer_elapsed+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TDouble)+-- throws : False+-- Skip return : False++foreign import ccall "g_test_timer_elapsed" g_test_timer_elapsed :: + IO CDouble+++testTimerElapsed ::+ (MonadIO m) =>+ m Double -- result+testTimerElapsed = liftIO $ do+ result <- g_test_timer_elapsed+ let result' = realToFrac result+ return result'+++-- function g_test_subprocess+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_test_subprocess" g_test_subprocess :: + IO CInt+++testSubprocess ::+ (MonadIO m) =>+ m Bool -- result+testSubprocess = liftIO $ do+ result <- g_test_subprocess+ let result' = (/= 0) result+ return result'+++-- function g_test_skip+-- Args : [Arg {argCName = "msg", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_test_skip" g_test_skip :: + CString -> -- msg : TBasicType TUTF8+ IO ()+++testSkip ::+ (MonadIO m) =>+ Maybe (T.Text) -- msg+ -> m () -- result+testSkip msg = liftIO $ do+ maybeMsg <- case msg of+ Nothing -> return nullPtr+ Just jMsg -> do+ jMsg' <- textToCString jMsg+ return jMsg'+ g_test_skip maybeMsg+ freeMem maybeMsg+ return ()+++-- function g_test_set_nonfatal_assertions+-- Args : []+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_test_set_nonfatal_assertions" g_test_set_nonfatal_assertions :: + IO ()+++testSetNonfatalAssertions ::+ (MonadIO m) =>+ m () -- result+testSetNonfatalAssertions = liftIO $ do+ g_test_set_nonfatal_assertions+ return ()+++-- function g_test_run_suite+-- Args : [Arg {argCName = "suite", argType = TInterface "GLib" "TestSuite", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_test_run_suite" g_test_run_suite :: + Ptr TestSuite -> -- suite : TInterface "GLib" "TestSuite"+ IO Int32+++testRunSuite ::+ (MonadIO m) =>+ TestSuite -- suite+ -> m Int32 -- result+testRunSuite suite = liftIO $ do+ let suite' = unsafeManagedPtrGetPtr suite+ result <- g_test_run_suite suite'+ touchManagedPtr suite+ return result+++-- function g_test_run+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_test_run" g_test_run :: + IO Int32+++testRun ::+ (MonadIO m) =>+ m Int32 -- result+testRun = liftIO $ do+ result <- g_test_run+ return result+++-- function g_test_rand_int_range+-- Args : [Arg {argCName = "begin", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "end", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt32)+-- throws : False+-- Skip return : False++foreign import ccall "g_test_rand_int_range" g_test_rand_int_range :: + Int32 -> -- begin : TBasicType TInt32+ Int32 -> -- end : TBasicType TInt32+ IO Int32+++testRandIntRange ::+ (MonadIO m) =>+ Int32 -- begin+ -> Int32 -- end+ -> m Int32 -- result+testRandIntRange begin end = liftIO $ do+ result <- g_test_rand_int_range begin end+ return result+++-- function g_test_rand_int+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TInt32)+-- throws : False+-- Skip return : False++foreign import ccall "g_test_rand_int" g_test_rand_int :: + IO Int32+++testRandInt ::+ (MonadIO m) =>+ m Int32 -- result+testRandInt = liftIO $ do+ result <- g_test_rand_int+ return result+++-- function g_test_rand_double_range+-- Args : [Arg {argCName = "range_start", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "range_end", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TDouble)+-- throws : False+-- Skip return : False++foreign import ccall "g_test_rand_double_range" g_test_rand_double_range :: + CDouble -> -- range_start : TBasicType TDouble+ CDouble -> -- range_end : TBasicType TDouble+ IO CDouble+++testRandDoubleRange ::+ (MonadIO m) =>+ Double -- rangeStart+ -> Double -- rangeEnd+ -> m Double -- result+testRandDoubleRange rangeStart rangeEnd = liftIO $ do+ let rangeStart' = realToFrac rangeStart+ let rangeEnd' = realToFrac rangeEnd+ result <- g_test_rand_double_range rangeStart' rangeEnd'+ let result' = realToFrac result+ return result'+++-- function g_test_rand_double+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TDouble)+-- throws : False+-- Skip return : False++foreign import ccall "g_test_rand_double" g_test_rand_double :: + IO CDouble+++testRandDouble ::+ (MonadIO m) =>+ m Double -- result+testRandDouble = liftIO $ do+ result <- g_test_rand_double+ let result' = realToFrac result+ return result'+++-- function g_test_queue_free+-- Args : [Arg {argCName = "gfree_pointer", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_test_queue_free" g_test_queue_free :: + Ptr () -> -- gfree_pointer : TBasicType TPtr+ IO ()+++testQueueFree ::+ (MonadIO m) =>+ Ptr () -- gfreePointer+ -> m () -- result+testQueueFree gfreePointer = liftIO $ do+ g_test_queue_free gfreePointer+ return ()+++-- function g_test_queue_destroy+-- Args : [Arg {argCName = "destroy_func", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "destroy_data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_test_queue_destroy" g_test_queue_destroy :: + FunPtr DestroyNotifyC -> -- destroy_func : TInterface "GLib" "DestroyNotify"+ Ptr () -> -- destroy_data : TBasicType TPtr+ IO ()+++testQueueDestroy ::+ (MonadIO m) =>+ DestroyNotify -- destroyFunc+ -> Ptr () -- destroyData+ -> m () -- result+testQueueDestroy destroyFunc destroyData = liftIO $ do+ ptrdestroyFunc <- callocMem :: IO (Ptr (FunPtr DestroyNotifyC))+ destroyFunc' <- mkDestroyNotify (destroyNotifyWrapper (Just ptrdestroyFunc) destroyFunc)+ poke ptrdestroyFunc destroyFunc'+ g_test_queue_destroy destroyFunc' destroyData+ return ()+++-- function g_test_log_type_name+-- Args : [Arg {argCName = "log_type", argType = TInterface "GLib" "TestLogType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_test_log_type_name" g_test_log_type_name :: + CUInt -> -- log_type : TInterface "GLib" "TestLogType"+ IO CString+++testLogTypeName ::+ (MonadIO m) =>+ TestLogType -- logType+ -> m T.Text -- result+testLogTypeName logType = liftIO $ do+ let logType' = (fromIntegral . fromEnum) logType+ result <- g_test_log_type_name logType'+ checkUnexpectedReturnNULL "g_test_log_type_name" result+ result' <- cstringToText result+ return result'+++-- function g_test_incomplete+-- Args : [Arg {argCName = "msg", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_test_incomplete" g_test_incomplete :: + CString -> -- msg : TBasicType TUTF8+ IO ()+++testIncomplete ::+ (MonadIO m) =>+ Maybe (T.Text) -- msg+ -> m () -- result+testIncomplete msg = liftIO $ do+ maybeMsg <- case msg of+ Nothing -> return nullPtr+ Just jMsg -> do+ jMsg' <- textToCString jMsg+ return jMsg'+ g_test_incomplete maybeMsg+ freeMem maybeMsg+ return ()+++-- function g_test_get_dir+-- Args : [Arg {argCName = "file_type", argType = TInterface "GLib" "TestFileType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_test_get_dir" g_test_get_dir :: + CUInt -> -- file_type : TInterface "GLib" "TestFileType"+ IO CString+++testGetDir ::+ (MonadIO m) =>+ TestFileType -- fileType+ -> m T.Text -- result+testGetDir fileType = liftIO $ do+ let fileType' = (fromIntegral . fromEnum) fileType+ result <- g_test_get_dir fileType'+ checkUnexpectedReturnNULL "g_test_get_dir" result+ result' <- cstringToText result+ return result'+++-- function g_test_failed+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_test_failed" g_test_failed :: + IO CInt+++testFailed ::+ (MonadIO m) =>+ m Bool -- result+testFailed = liftIO $ do+ result <- g_test_failed+ let result' = (/= 0) result+ return result'+++-- function g_test_fail+-- Args : []+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_test_fail" g_test_fail :: + IO ()+++testFail ::+ (MonadIO m) =>+ m () -- result+testFail = liftIO $ do+ g_test_fail+ return ()+++-- function g_test_expect_message+-- Args : [Arg {argCName = "log_domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "log_level", argType = TInterface "GLib" "LogLevelFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pattern", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_test_expect_message" g_test_expect_message :: + CString -> -- log_domain : TBasicType TUTF8+ CUInt -> -- log_level : TInterface "GLib" "LogLevelFlags"+ CString -> -- pattern : TBasicType TUTF8+ IO ()+++testExpectMessage ::+ (MonadIO m) =>+ Maybe (T.Text) -- logDomain+ -> [LogLevelFlags] -- logLevel+ -> T.Text -- pattern+ -> m () -- result+testExpectMessage logDomain logLevel pattern = liftIO $ do+ maybeLogDomain <- case logDomain of+ Nothing -> return nullPtr+ Just jLogDomain -> do+ jLogDomain' <- textToCString jLogDomain+ return jLogDomain'+ let logLevel' = gflagsToWord logLevel+ pattern' <- textToCString pattern+ g_test_expect_message maybeLogDomain logLevel' pattern'+ freeMem maybeLogDomain+ freeMem pattern'+ return ()+++-- function g_test_bug_base+-- Args : [Arg {argCName = "uri_pattern", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_test_bug_base" g_test_bug_base :: + CString -> -- uri_pattern : TBasicType TUTF8+ IO ()+++testBugBase ::+ (MonadIO m) =>+ T.Text -- uriPattern+ -> m () -- result+testBugBase uriPattern = liftIO $ do+ uriPattern' <- textToCString uriPattern+ g_test_bug_base uriPattern'+ freeMem uriPattern'+ return ()+++-- function g_test_bug+-- Args : [Arg {argCName = "bug_uri_snippet", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_test_bug" g_test_bug :: + CString -> -- bug_uri_snippet : TBasicType TUTF8+ IO ()+++testBug ::+ (MonadIO m) =>+ T.Text -- bugUriSnippet+ -> m () -- result+testBug bugUriSnippet = liftIO $ do+ bugUriSnippet' <- textToCString bugUriSnippet+ g_test_bug bugUriSnippet'+ freeMem bugUriSnippet'+ return ()+++-- function g_test_assert_expected_messages_internal+-- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "file", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "line", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_test_assert_expected_messages_internal" g_test_assert_expected_messages_internal :: + CString -> -- domain : TBasicType TUTF8+ CString -> -- file : TBasicType TUTF8+ Int32 -> -- line : TBasicType TInt+ CString -> -- func : TBasicType TUTF8+ IO ()+++testAssertExpectedMessagesInternal ::+ (MonadIO m) =>+ T.Text -- domain+ -> T.Text -- file+ -> Int32 -- line+ -> T.Text -- func+ -> m () -- result+testAssertExpectedMessagesInternal domain file line func = liftIO $ do+ domain' <- textToCString domain+ file' <- textToCString file+ func' <- textToCString func+ g_test_assert_expected_messages_internal domain' file' line func'+ freeMem domain'+ freeMem file'+ freeMem func'+ return ()+++-- function g_test_add_func+-- Args : [Arg {argCName = "testpath", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "test_func", argType = TInterface "GLib" "TestFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_test_add_func" g_test_add_func :: + CString -> -- testpath : TBasicType TUTF8+ FunPtr TestFuncC -> -- test_func : TInterface "GLib" "TestFunc"+ IO ()+++testAddFunc ::+ (MonadIO m) =>+ T.Text -- testpath+ -> TestFunc -- testFunc+ -> m () -- result+testAddFunc testpath testFunc = liftIO $ do+ testpath' <- textToCString testpath+ ptrtestFunc <- callocMem :: IO (Ptr (FunPtr TestFuncC))+ testFunc' <- mkTestFunc (testFuncWrapper (Just ptrtestFunc) testFunc)+ poke ptrtestFunc testFunc'+ g_test_add_func testpath' testFunc'+ freeMem testpath'+ return ()+++-- function g_test_add_data_func+-- Args : [Arg {argCName = "testpath", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "test_data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "test_func", argType = TInterface "GLib" "TestDataFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_test_add_data_func" g_test_add_data_func :: + CString -> -- testpath : TBasicType TUTF8+ Ptr () -> -- test_data : TBasicType TPtr+ FunPtr TestDataFuncC -> -- test_func : TInterface "GLib" "TestDataFunc"+ IO ()+++testAddDataFunc ::+ (MonadIO m) =>+ T.Text -- testpath+ -> Ptr () -- testData+ -> TestDataFunc -- testFunc+ -> m () -- result+testAddDataFunc testpath testData testFunc = liftIO $ do+ testpath' <- textToCString testpath+ ptrtestFunc <- callocMem :: IO (Ptr (FunPtr TestDataFuncC))+ testFunc' <- mkTestDataFunc (testDataFuncWrapper (Just ptrtestFunc) testFunc)+ poke ptrtestFunc testFunc'+ g_test_add_data_func testpath' testData testFunc'+ freeMem testpath'+ return ()+++-- function g_strv_length+-- Args : [Arg {argCName = "str_array", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_strv_length" g_strv_length :: + CString -> -- str_array : TBasicType TUTF8+ IO Word32+++strvLength ::+ (MonadIO m) =>+ T.Text -- strArray+ -> m Word32 -- result+strvLength strArray = liftIO $ do+ strArray' <- textToCString strArray+ result <- g_strv_length strArray'+ freeMem strArray'+ return result+++-- function g_strv_get_type+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TGType)+-- throws : False+-- Skip return : False++foreign import ccall "g_strv_get_type" g_strv_get_type :: + IO CGType+++strvGetType ::+ (MonadIO m) =>+ m GType -- result+strvGetType = liftIO $ do+ result <- g_strv_get_type+ let result' = GType result+ return result'+++-- function g_strv_contains+-- Args : [Arg {argCName = "strv", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_strv_contains" g_strv_contains :: + CString -> -- strv : TBasicType TUTF8+ CString -> -- str : TBasicType TUTF8+ IO CInt+++strvContains ::+ (MonadIO m) =>+ T.Text -- strv+ -> T.Text -- str+ -> m Bool -- result+strvContains strv str = liftIO $ do+ strv' <- textToCString strv+ str' <- textToCString str+ result <- g_strv_contains strv' str'+ let result' = (/= 0) result+ freeMem strv'+ freeMem str'+ return result'+++-- function g_strup+-- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_strup" g_strup :: + CString -> -- string : TBasicType TUTF8+ IO CString++{-# DEPRECATED strup ["(Since version 2.2)","This function is totally broken for the reasons"," discussed in the g_strncasecmp() docs - use g_ascii_strup()"," or g_utf8_strup() instead."]#-}+strup ::+ (MonadIO m) =>+ T.Text -- string+ -> m T.Text -- result+strup string = liftIO $ do+ string' <- textToCString string+ result <- g_strup string'+ checkUnexpectedReturnNULL "g_strup" result+ result' <- cstringToText result+ freeMem result+ freeMem string'+ return result'+++-- function g_strtod+-- Args : [Arg {argCName = "nptr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "endptr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TDouble)+-- throws : False+-- Skip return : False++foreign import ccall "g_strtod" g_strtod :: + CString -> -- nptr : TBasicType TUTF8+ CString -> -- endptr : TBasicType TUTF8+ IO CDouble+++strtod ::+ (MonadIO m) =>+ T.Text -- nptr+ -> T.Text -- endptr+ -> m Double -- result+strtod nptr endptr = liftIO $ do+ nptr' <- textToCString nptr+ endptr' <- textToCString endptr+ result <- g_strtod nptr' endptr'+ let result' = realToFrac result+ freeMem nptr'+ freeMem endptr'+ return result'+++-- function g_strstr_len+-- Args : [Arg {argCName = "haystack", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "haystack_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "needle", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_strstr_len" g_strstr_len :: + CString -> -- haystack : TBasicType TUTF8+ Int64 -> -- haystack_len : TBasicType TInt64+ CString -> -- needle : TBasicType TUTF8+ IO CString+++strstrLen ::+ (MonadIO m) =>+ T.Text -- haystack+ -> Int64 -- haystackLen+ -> T.Text -- needle+ -> m T.Text -- result+strstrLen haystack haystackLen needle = liftIO $ do+ haystack' <- textToCString haystack+ needle' <- textToCString needle+ result <- g_strstr_len haystack' haystackLen needle'+ checkUnexpectedReturnNULL "g_strstr_len" result+ result' <- cstringToText result+ freeMem result+ freeMem haystack'+ freeMem needle'+ return result'+++-- function g_strsignal+-- Args : [Arg {argCName = "signum", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_strsignal" g_strsignal :: + Int32 -> -- signum : TBasicType TInt+ IO CString+++strsignal ::+ (MonadIO m) =>+ Int32 -- signum+ -> m T.Text -- result+strsignal signum = liftIO $ do+ result <- g_strsignal signum+ checkUnexpectedReturnNULL "g_strsignal" result+ result' <- cstringToText result+ return result'+++-- function g_strrstr_len+-- Args : [Arg {argCName = "haystack", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "haystack_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "needle", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_strrstr_len" g_strrstr_len :: + CString -> -- haystack : TBasicType TUTF8+ Int64 -> -- haystack_len : TBasicType TInt64+ CString -> -- needle : TBasicType TUTF8+ IO CString+++strrstrLen ::+ (MonadIO m) =>+ T.Text -- haystack+ -> Int64 -- haystackLen+ -> T.Text -- needle+ -> m T.Text -- result+strrstrLen haystack haystackLen needle = liftIO $ do+ haystack' <- textToCString haystack+ needle' <- textToCString needle+ result <- g_strrstr_len haystack' haystackLen needle'+ checkUnexpectedReturnNULL "g_strrstr_len" result+ result' <- cstringToText result+ freeMem result+ freeMem haystack'+ freeMem needle'+ return result'+++-- function g_strrstr+-- Args : [Arg {argCName = "haystack", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "needle", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_strrstr" g_strrstr :: + CString -> -- haystack : TBasicType TUTF8+ CString -> -- needle : TBasicType TUTF8+ IO CString+++strrstr ::+ (MonadIO m) =>+ T.Text -- haystack+ -> T.Text -- needle+ -> m T.Text -- result+strrstr haystack needle = liftIO $ do+ haystack' <- textToCString haystack+ needle' <- textToCString needle+ result <- g_strrstr haystack' needle'+ checkUnexpectedReturnNULL "g_strrstr" result+ result' <- cstringToText result+ freeMem result+ freeMem haystack'+ freeMem needle'+ return result'+++-- function g_strreverse+-- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_strreverse" g_strreverse :: + CString -> -- string : TBasicType TUTF8+ IO CString+++strreverse ::+ (MonadIO m) =>+ T.Text -- string+ -> m T.Text -- result+strreverse string = liftIO $ do+ string' <- textToCString string+ result <- g_strreverse string'+ checkUnexpectedReturnNULL "g_strreverse" result+ result' <- cstringToText result+ freeMem result+ freeMem string'+ return result'+++-- function g_strnfill+-- Args : [Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "fill_char", argType = TBasicType TInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_strnfill" g_strnfill :: + Word64 -> -- length : TBasicType TUInt64+ Int8 -> -- fill_char : TBasicType TInt8+ IO CString+++strnfill ::+ (MonadIO m) =>+ Word64 -- length_+ -> Int8 -- fillChar+ -> m T.Text -- result+strnfill length_ fillChar = liftIO $ do+ result <- g_strnfill length_ fillChar+ checkUnexpectedReturnNULL "g_strnfill" result+ result' <- cstringToText result+ freeMem result+ return result'+++-- function g_strndup+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_strndup" g_strndup :: + CString -> -- str : TBasicType TUTF8+ Word64 -> -- n : TBasicType TUInt64+ IO CString+++strndup ::+ (MonadIO m) =>+ T.Text -- str+ -> Word64 -- n+ -> m T.Text -- result+strndup str n = liftIO $ do+ str' <- textToCString str+ result <- g_strndup str' n+ checkUnexpectedReturnNULL "g_strndup" result+ result' <- cstringToText result+ freeMem result+ freeMem str'+ return result'+++-- function g_strncasecmp+-- Args : [Arg {argCName = "s1", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "s2", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_strncasecmp" g_strncasecmp :: + CString -> -- s1 : TBasicType TUTF8+ CString -> -- s2 : TBasicType TUTF8+ Word32 -> -- n : TBasicType TUInt+ IO Int32++{-# DEPRECATED strncasecmp ["(Since version 2.2)","The problem with g_strncasecmp() is that it does"," the comparison by calling toupper()/tolower(). These functions"," are locale-specific and operate on single bytes. However, it is"," impossible to handle things correctly from an internationalization"," standpoint by operating on bytes, since characters may be multibyte."," Thus g_strncasecmp() is broken if your string is guaranteed to be"," ASCII, since it is locale-sensitive, and it's broken if your string"," is localized, since it doesn't work on many encodings at all,"," including UTF-8, EUC-JP, etc.",""," There are therefore two replacement techniques: g_ascii_strncasecmp(),"," which only works on ASCII and is not locale-sensitive, and"," g_utf8_casefold() followed by strcmp() on the resulting strings,"," which is good for case-insensitive sorting of UTF-8."]#-}+strncasecmp ::+ (MonadIO m) =>+ T.Text -- s1+ -> T.Text -- s2+ -> Word32 -- n+ -> m Int32 -- result+strncasecmp s1 s2 n = liftIO $ do+ s1' <- textToCString s1+ s2' <- textToCString s2+ result <- g_strncasecmp s1' s2' n+ freeMem s1'+ freeMem s2'+ return result+++-- function g_strlcpy+-- Args : [Arg {argCName = "dest", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "src", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "dest_size", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt64)+-- throws : False+-- Skip return : False++foreign import ccall "g_strlcpy" g_strlcpy :: + CString -> -- dest : TBasicType TUTF8+ CString -> -- src : TBasicType TUTF8+ Word64 -> -- dest_size : TBasicType TUInt64+ IO Word64+++strlcpy ::+ (MonadIO m) =>+ T.Text -- dest+ -> T.Text -- src+ -> Word64 -- destSize+ -> m Word64 -- result+strlcpy dest src destSize = liftIO $ do+ dest' <- textToCString dest+ src' <- textToCString src+ result <- g_strlcpy dest' src' destSize+ freeMem dest'+ freeMem src'+ return result+++-- function g_strlcat+-- Args : [Arg {argCName = "dest", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "src", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "dest_size", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt64)+-- throws : False+-- Skip return : False++foreign import ccall "g_strlcat" g_strlcat :: + CString -> -- dest : TBasicType TUTF8+ CString -> -- src : TBasicType TUTF8+ Word64 -> -- dest_size : TBasicType TUInt64+ IO Word64+++strlcat ::+ (MonadIO m) =>+ T.Text -- dest+ -> T.Text -- src+ -> Word64 -- destSize+ -> m Word64 -- result+strlcat dest src destSize = liftIO $ do+ dest' <- textToCString dest+ src' <- textToCString src+ result <- g_strlcat dest' src' destSize+ freeMem dest'+ freeMem src'+ return result+++-- function g_strjoinv+-- Args : [Arg {argCName = "separator", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "str_array", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_strjoinv" g_strjoinv :: + CString -> -- separator : TBasicType TUTF8+ CString -> -- str_array : TBasicType TUTF8+ IO CString+++strjoinv ::+ (MonadIO m) =>+ Maybe (T.Text) -- separator+ -> T.Text -- strArray+ -> m T.Text -- result+strjoinv separator strArray = liftIO $ do+ maybeSeparator <- case separator of+ Nothing -> return nullPtr+ Just jSeparator -> do+ jSeparator' <- textToCString jSeparator+ return jSeparator'+ strArray' <- textToCString strArray+ result <- g_strjoinv maybeSeparator strArray'+ checkUnexpectedReturnNULL "g_strjoinv" result+ result' <- cstringToText result+ freeMem result+ freeMem maybeSeparator+ freeMem strArray'+ return result'+++-- function g_strip_context+-- Args : [Arg {argCName = "msgid", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "msgval", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_strip_context" g_strip_context :: + CString -> -- msgid : TBasicType TUTF8+ CString -> -- msgval : TBasicType TUTF8+ IO CString+++stripContext ::+ (MonadIO m) =>+ T.Text -- msgid+ -> T.Text -- msgval+ -> m T.Text -- result+stripContext msgid msgval = liftIO $ do+ msgid' <- textToCString msgid+ msgval' <- textToCString msgval+ result <- g_strip_context msgid' msgval'+ checkUnexpectedReturnNULL "g_strip_context" result+ result' <- cstringToText result+ freeMem msgid'+ freeMem msgval'+ return result'+++-- function g_string_sized_new+-- Args : [Arg {argCName = "dfl_size", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TInterface "GLib" "String")+-- throws : False+-- Skip return : False++foreign import ccall "g_string_sized_new" g_string_sized_new :: + Word64 -> -- dfl_size : TBasicType TUInt64+ IO (Ptr String)+++stringSizedNew ::+ (MonadIO m) =>+ Word64 -- dflSize+ -> m String -- result+stringSizedNew dflSize = liftIO $ do+ result <- g_string_sized_new dflSize+ checkUnexpectedReturnNULL "g_string_sized_new" result+ result' <- (wrapBoxed String) result+ return result'+++-- function g_string_new_len+-- Args : [Arg {argCName = "init", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TInterface "GLib" "String")+-- throws : False+-- Skip return : False++foreign import ccall "g_string_new_len" g_string_new_len :: + CString -> -- init : TBasicType TUTF8+ Int64 -> -- len : TBasicType TInt64+ IO (Ptr String)+++stringNewLen ::+ (MonadIO m) =>+ T.Text -- init+ -> Int64 -- len+ -> m String -- result+stringNewLen init len = liftIO $ do+ init' <- textToCString init+ result <- g_string_new_len init' len+ checkUnexpectedReturnNULL "g_string_new_len" result+ result' <- (wrapBoxed String) result+ freeMem init'+ return result'+++-- function g_string_new+-- Args : [Arg {argCName = "init", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TInterface "GLib" "String")+-- throws : False+-- Skip return : False++foreign import ccall "g_string_new" g_string_new :: + CString -> -- init : TBasicType TUTF8+ IO (Ptr String)+++stringNew ::+ (MonadIO m) =>+ Maybe (T.Text) -- init+ -> m String -- result+stringNew init = liftIO $ do+ maybeInit <- case init of+ Nothing -> return nullPtr+ Just jInit -> do+ jInit' <- textToCString jInit+ return jInit'+ result <- g_string_new maybeInit+ checkUnexpectedReturnNULL "g_string_new" result+ result' <- (wrapBoxed String) result+ freeMem maybeInit+ return result'+++-- function g_strfreev+-- Args : [Arg {argCName = "str_array", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_strfreev" g_strfreev :: + CString -> -- str_array : TBasicType TUTF8+ IO ()+++strfreev ::+ (MonadIO m) =>+ T.Text -- strArray+ -> m () -- result+strfreev strArray = liftIO $ do+ strArray' <- textToCString strArray+ g_strfreev strArray'+ freeMem strArray'+ return ()+++-- function g_strescape+-- Args : [Arg {argCName = "source", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "exceptions", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_strescape" g_strescape :: + CString -> -- source : TBasicType TUTF8+ CString -> -- exceptions : TBasicType TUTF8+ IO CString+++strescape ::+ (MonadIO m) =>+ T.Text -- source+ -> T.Text -- exceptions+ -> m T.Text -- result+strescape source exceptions = liftIO $ do+ source' <- textToCString source+ exceptions' <- textToCString exceptions+ result <- g_strescape source' exceptions'+ checkUnexpectedReturnNULL "g_strescape" result+ result' <- cstringToText result+ freeMem result+ freeMem source'+ freeMem exceptions'+ return result'+++-- function g_strerror+-- Args : [Arg {argCName = "errnum", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_strerror" g_strerror :: + Int32 -> -- errnum : TBasicType TInt+ IO CString+++strerror ::+ (MonadIO m) =>+ Int32 -- errnum+ -> m T.Text -- result+strerror errnum = liftIO $ do+ result <- g_strerror errnum+ checkUnexpectedReturnNULL "g_strerror" result+ result' <- cstringToText result+ return result'+++-- function g_strdup+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_strdup" g_strdup :: + CString -> -- str : TBasicType TUTF8+ IO CString+++strdup ::+ (MonadIO m) =>+ T.Text -- str+ -> m T.Text -- result+strdup str = liftIO $ do+ str' <- textToCString str+ result <- g_strdup str'+ checkUnexpectedReturnNULL "g_strdup" result+ result' <- cstringToText result+ freeMem result+ freeMem str'+ return result'+++-- function g_strdown+-- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_strdown" g_strdown :: + CString -> -- string : TBasicType TUTF8+ IO CString++{-# DEPRECATED strdown ["(Since version 2.2)","This function is totally broken for the reasons discussed","in the g_strncasecmp() docs - use g_ascii_strdown() or g_utf8_strdown()","instead."]#-}+strdown ::+ (MonadIO m) =>+ T.Text -- string+ -> m T.Text -- result+strdown string = liftIO $ do+ string' <- textToCString string+ result <- g_strdown string'+ checkUnexpectedReturnNULL "g_strdown" result+ result' <- cstringToText result+ freeMem result+ freeMem string'+ return result'+++-- function g_strdelimit+-- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "delimiters", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "new_delimiter", argType = TBasicType TInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_strdelimit" g_strdelimit :: + CString -> -- string : TBasicType TUTF8+ CString -> -- delimiters : TBasicType TUTF8+ Int8 -> -- new_delimiter : TBasicType TInt8+ IO CString+++strdelimit ::+ (MonadIO m) =>+ T.Text -- string+ -> Maybe (T.Text) -- delimiters+ -> Int8 -- newDelimiter+ -> m T.Text -- result+strdelimit string delimiters newDelimiter = liftIO $ do+ string' <- textToCString string+ maybeDelimiters <- case delimiters of+ Nothing -> return nullPtr+ Just jDelimiters -> do+ jDelimiters' <- textToCString jDelimiters+ return jDelimiters'+ result <- g_strdelimit string' maybeDelimiters newDelimiter+ checkUnexpectedReturnNULL "g_strdelimit" result+ result' <- cstringToText result+ freeMem result+ freeMem string'+ freeMem maybeDelimiters+ return result'+++-- function g_strcompress+-- Args : [Arg {argCName = "source", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_strcompress" g_strcompress :: + CString -> -- source : TBasicType TUTF8+ IO CString+++strcompress ::+ (MonadIO m) =>+ T.Text -- source+ -> m T.Text -- result+strcompress source = liftIO $ do+ source' <- textToCString source+ result <- g_strcompress source'+ checkUnexpectedReturnNULL "g_strcompress" result+ result' <- cstringToText result+ freeMem result+ freeMem source'+ return result'+++-- function g_strcmp0+-- Args : [Arg {argCName = "str1", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "str2", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_strcmp0" g_strcmp0 :: + CString -> -- str1 : TBasicType TUTF8+ CString -> -- str2 : TBasicType TUTF8+ IO Int32+++strcmp0 ::+ (MonadIO m) =>+ Maybe (T.Text) -- str1+ -> Maybe (T.Text) -- str2+ -> m Int32 -- result+strcmp0 str1 str2 = liftIO $ do+ maybeStr1 <- case str1 of+ Nothing -> return nullPtr+ Just jStr1 -> do+ jStr1' <- textToCString jStr1+ return jStr1'+ maybeStr2 <- case str2 of+ Nothing -> return nullPtr+ Just jStr2 -> do+ jStr2' <- textToCString jStr2+ return jStr2'+ result <- g_strcmp0 maybeStr1 maybeStr2+ freeMem maybeStr1+ freeMem maybeStr2+ return result+++-- function g_strchug+-- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_strchug" g_strchug :: + CString -> -- string : TBasicType TUTF8+ IO CString+++strchug ::+ (MonadIO m) =>+ T.Text -- string+ -> m T.Text -- result+strchug string = liftIO $ do+ string' <- textToCString string+ result <- g_strchug string'+ checkUnexpectedReturnNULL "g_strchug" result+ result' <- cstringToText result+ freeMem result+ freeMem string'+ return result'+++-- function g_strchomp+-- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_strchomp" g_strchomp :: + CString -> -- string : TBasicType TUTF8+ IO CString+++strchomp ::+ (MonadIO m) =>+ T.Text -- string+ -> m T.Text -- result+strchomp string = liftIO $ do+ string' <- textToCString string+ result <- g_strchomp string'+ checkUnexpectedReturnNULL "g_strchomp" result+ result' <- cstringToText result+ freeMem result+ freeMem string'+ return result'+++-- function g_strcasecmp+-- Args : [Arg {argCName = "s1", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "s2", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_strcasecmp" g_strcasecmp :: + CString -> -- s1 : TBasicType TUTF8+ CString -> -- s2 : TBasicType TUTF8+ IO Int32++{-# DEPRECATED strcasecmp ["(Since version 2.2)","See g_strncasecmp() for a discussion of why this"," function is deprecated and how to replace it."]#-}+strcasecmp ::+ (MonadIO m) =>+ T.Text -- s1+ -> T.Text -- s2+ -> m Int32 -- result+strcasecmp s1 s2 = liftIO $ do+ s1' <- textToCString s1+ s2' <- textToCString s2+ result <- g_strcasecmp s1' s2'+ freeMem s1'+ freeMem s2'+ return result+++-- function g_strcanon+-- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "valid_chars", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "substitutor", argType = TBasicType TInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_strcanon" g_strcanon :: + CString -> -- string : TBasicType TUTF8+ CString -> -- valid_chars : TBasicType TUTF8+ Int8 -> -- substitutor : TBasicType TInt8+ IO CString+++strcanon ::+ (MonadIO m) =>+ T.Text -- string+ -> T.Text -- validChars+ -> Int8 -- substitutor+ -> m T.Text -- result+strcanon string validChars substitutor = liftIO $ do+ string' <- textToCString string+ validChars' <- textToCString validChars+ result <- g_strcanon string' validChars' substitutor+ checkUnexpectedReturnNULL "g_strcanon" result+ result' <- cstringToText result+ freeMem result+ freeMem string'+ freeMem validChars'+ return result'+++-- function g_str_tokenize_and_fold+-- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "translit_locale", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "ascii_alternates", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- Lengths : []+-- returnType : Just (TCArray True (-1) (-1) (TBasicType TUTF8))+-- throws : False+-- Skip return : False++foreign import ccall "g_str_tokenize_and_fold" g_str_tokenize_and_fold :: + CString -> -- string : TBasicType TUTF8+ CString -> -- translit_locale : TBasicType TUTF8+ Ptr (Ptr CString) -> -- ascii_alternates : TCArray True (-1) (-1) (TBasicType TUTF8)+ IO (Ptr CString)+++strTokenizeAndFold ::+ (MonadIO m) =>+ T.Text -- string+ -> Maybe (T.Text) -- translitLocale+ -> m ([T.Text],[T.Text]) -- result+strTokenizeAndFold string translitLocale = liftIO $ do+ string' <- textToCString string+ maybeTranslitLocale <- case translitLocale of+ Nothing -> return nullPtr+ Just jTranslitLocale -> do+ jTranslitLocale' <- textToCString jTranslitLocale+ return jTranslitLocale'+ asciiAlternates <- allocMem :: IO (Ptr (Ptr CString))+ result <- g_str_tokenize_and_fold string' maybeTranslitLocale asciiAlternates+ checkUnexpectedReturnNULL "g_str_tokenize_and_fold" result+ result' <- unpackZeroTerminatedUTF8CArray result+ mapZeroTerminatedCArray freeMem result+ freeMem result+ asciiAlternates' <- peek asciiAlternates+ asciiAlternates'' <- unpackZeroTerminatedUTF8CArray asciiAlternates'+ mapZeroTerminatedCArray freeMem asciiAlternates'+ freeMem asciiAlternates'+ freeMem string'+ freeMem maybeTranslitLocale+ freeMem asciiAlternates+ return (result', asciiAlternates'')+++-- function g_str_to_ascii+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "from_locale", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_str_to_ascii" g_str_to_ascii :: + CString -> -- str : TBasicType TUTF8+ CString -> -- from_locale : TBasicType TUTF8+ IO CString+++strToAscii ::+ (MonadIO m) =>+ T.Text -- str+ -> Maybe (T.Text) -- fromLocale+ -> m T.Text -- result+strToAscii str fromLocale = liftIO $ do+ str' <- textToCString str+ maybeFromLocale <- case fromLocale of+ Nothing -> return nullPtr+ Just jFromLocale -> do+ jFromLocale' <- textToCString jFromLocale+ return jFromLocale'+ result <- g_str_to_ascii str' maybeFromLocale+ checkUnexpectedReturnNULL "g_str_to_ascii" result+ result' <- cstringToText result+ freeMem result+ freeMem str'+ freeMem maybeFromLocale+ return result'+++-- function g_str_match_string+-- Args : [Arg {argCName = "search_term", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "potential_hit", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "accept_alternates", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_str_match_string" g_str_match_string :: + CString -> -- search_term : TBasicType TUTF8+ CString -> -- potential_hit : TBasicType TUTF8+ CInt -> -- accept_alternates : TBasicType TBoolean+ IO CInt+++strMatchString ::+ (MonadIO m) =>+ T.Text -- searchTerm+ -> T.Text -- potentialHit+ -> Bool -- acceptAlternates+ -> m Bool -- result+strMatchString searchTerm potentialHit acceptAlternates = liftIO $ do+ searchTerm' <- textToCString searchTerm+ potentialHit' <- textToCString potentialHit+ let acceptAlternates' = (fromIntegral . fromEnum) acceptAlternates+ result <- g_str_match_string searchTerm' potentialHit' acceptAlternates'+ let result' = (/= 0) result+ freeMem searchTerm'+ freeMem potentialHit'+ return result'+++-- function g_str_is_ascii+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_str_is_ascii" g_str_is_ascii :: + CString -> -- str : TBasicType TUTF8+ IO CInt+++strIsAscii ::+ (MonadIO m) =>+ T.Text -- str+ -> m Bool -- result+strIsAscii str = liftIO $ do+ str' <- textToCString str+ result <- g_str_is_ascii str'+ let result' = (/= 0) result+ freeMem str'+ return result'+++-- function g_str_hash+-- Args : [Arg {argCName = "v", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_str_hash" g_str_hash :: + Ptr () -> -- v : TBasicType TPtr+ IO Word32+++strHash ::+ (MonadIO m) =>+ Ptr () -- v+ -> m Word32 -- result+strHash v = liftIO $ do+ result <- g_str_hash v+ return result+++-- function g_str_has_suffix+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "suffix", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_str_has_suffix" g_str_has_suffix :: + CString -> -- str : TBasicType TUTF8+ CString -> -- suffix : TBasicType TUTF8+ IO CInt+++strHasSuffix ::+ (MonadIO m) =>+ T.Text -- str+ -> T.Text -- suffix+ -> m Bool -- result+strHasSuffix str suffix = liftIO $ do+ str' <- textToCString str+ suffix' <- textToCString suffix+ result <- g_str_has_suffix str' suffix'+ let result' = (/= 0) result+ freeMem str'+ freeMem suffix'+ return result'+++-- function g_str_has_prefix+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "prefix", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_str_has_prefix" g_str_has_prefix :: + CString -> -- str : TBasicType TUTF8+ CString -> -- prefix : TBasicType TUTF8+ IO CInt+++strHasPrefix ::+ (MonadIO m) =>+ T.Text -- str+ -> T.Text -- prefix+ -> m Bool -- result+strHasPrefix str prefix = liftIO $ do+ str' <- textToCString str+ prefix' <- textToCString prefix+ result <- g_str_has_prefix str' prefix'+ let result' = (/= 0) result+ freeMem str'+ freeMem prefix'+ return result'+++-- function g_str_equal+-- Args : [Arg {argCName = "v1", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "v2", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_str_equal" g_str_equal :: + Ptr () -> -- v1 : TBasicType TPtr+ Ptr () -> -- v2 : TBasicType TPtr+ IO CInt+++strEqual ::+ (MonadIO m) =>+ Ptr () -- v1+ -> Ptr () -- v2+ -> m Bool -- result+strEqual v1 v2 = liftIO $ do+ result <- g_str_equal v1 v2+ let result' = (/= 0) result+ return result'+++-- function g_stpcpy+-- Args : [Arg {argCName = "dest", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "src", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_stpcpy" g_stpcpy :: + CString -> -- dest : TBasicType TUTF8+ CString -> -- src : TBasicType TUTF8+ IO CString+++stpcpy ::+ (MonadIO m) =>+ T.Text -- dest+ -> T.Text -- src+ -> m T.Text -- result+stpcpy dest src = liftIO $ do+ dest' <- textToCString dest+ src' <- textToCString src+ result <- g_stpcpy dest' src'+ checkUnexpectedReturnNULL "g_stpcpy" result+ result' <- cstringToText result+ freeMem result+ freeMem dest'+ freeMem src'+ return result'+++-- function g_spawn_sync+-- Args : [Arg {argCName = "working_directory", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "argv", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "envp", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TInterface "GLib" "SpawnFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "child_setup", argType = TInterface "GLib" "SpawnChildSetupFunc", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = 5, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "standard_output", argType = TCArray True (-1) (-1) (TBasicType TUInt8), direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "standard_error", argType = TCArray True (-1) (-1) (TBasicType TUInt8), direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "exit_status", argType = TBasicType TInt, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : True+-- Skip return : False++foreign import ccall "g_spawn_sync" g_spawn_sync :: + CString -> -- working_directory : TBasicType TUTF8+ Ptr CString -> -- argv : TCArray True (-1) (-1) (TBasicType TUTF8)+ Ptr CString -> -- envp : TCArray True (-1) (-1) (TBasicType TUTF8)+ CUInt -> -- flags : TInterface "GLib" "SpawnFlags"+ FunPtr SpawnChildSetupFuncC -> -- child_setup : TInterface "GLib" "SpawnChildSetupFunc"+ Ptr () -> -- user_data : TBasicType TPtr+ Ptr (Ptr Word8) -> -- standard_output : TCArray True (-1) (-1) (TBasicType TUInt8)+ Ptr (Ptr Word8) -> -- standard_error : TCArray True (-1) (-1) (TBasicType TUInt8)+ Ptr Int32 -> -- exit_status : TBasicType TInt+ Ptr (Ptr GError) -> -- error+ IO CInt+++spawnSync ::+ (MonadIO m) =>+ Maybe (T.Text) -- workingDirectory+ -> [T.Text] -- argv+ -> Maybe ([T.Text]) -- envp+ -> [SpawnFlags] -- flags+ -> Maybe (SpawnChildSetupFunc) -- childSetup+ -> m (ByteString,ByteString,Int32) -- result+spawnSync workingDirectory argv envp flags childSetup = liftIO $ do+ maybeWorkingDirectory <- case workingDirectory of+ Nothing -> return nullPtr+ Just jWorkingDirectory -> do+ jWorkingDirectory' <- textToCString jWorkingDirectory+ return jWorkingDirectory'+ argv' <- packZeroTerminatedUTF8CArray argv+ maybeEnvp <- case envp of+ Nothing -> return nullPtr+ Just jEnvp -> do+ jEnvp' <- packZeroTerminatedUTF8CArray jEnvp+ return jEnvp'+ let flags' = gflagsToWord flags+ ptrchildSetup <- callocMem :: IO (Ptr (FunPtr SpawnChildSetupFuncC))+ maybeChildSetup <- case childSetup of+ Nothing -> return (castPtrToFunPtr nullPtr)+ Just jChildSetup -> do+ jChildSetup' <- mkSpawnChildSetupFunc (spawnChildSetupFuncWrapper (Just ptrchildSetup) jChildSetup)+ poke ptrchildSetup jChildSetup'+ return jChildSetup'+ standardOutput <- allocMem :: IO (Ptr (Ptr Word8))+ standardError <- allocMem :: IO (Ptr (Ptr Word8))+ exitStatus <- allocMem :: IO (Ptr Int32)+ let userData = nullPtr+ onException (do+ _ <- propagateGError $ g_spawn_sync maybeWorkingDirectory argv' maybeEnvp flags' maybeChildSetup userData standardOutput standardError exitStatus+ standardOutput' <- peek standardOutput+ standardOutput'' <- unpackZeroTerminatedByteString standardOutput'+ freeMem standardOutput'+ standardError' <- peek standardError+ standardError'' <- unpackZeroTerminatedByteString standardError'+ freeMem standardError'+ exitStatus' <- peek exitStatus+ freeMem maybeWorkingDirectory+ mapZeroTerminatedCArray freeMem argv'+ freeMem argv'+ mapZeroTerminatedCArray freeMem maybeEnvp+ freeMem maybeEnvp+ freeMem standardOutput+ freeMem standardError+ freeMem exitStatus+ return (standardOutput'', standardError'', exitStatus')+ ) (do+ freeMem maybeWorkingDirectory+ mapZeroTerminatedCArray freeMem argv'+ freeMem argv'+ mapZeroTerminatedCArray freeMem maybeEnvp+ freeMem maybeEnvp+ freeMem standardOutput+ freeMem standardError+ freeMem exitStatus+ )+++-- function g_spawn_exit_error_quark+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUInt32)+-- throws : False+-- Skip return : False++foreign import ccall "g_spawn_exit_error_quark" g_spawn_exit_error_quark :: + IO Word32+++spawnExitErrorQuark ::+ (MonadIO m) =>+ m Word32 -- result+spawnExitErrorQuark = liftIO $ do+ result <- g_spawn_exit_error_quark+ return result+++-- function g_spawn_error_quark+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUInt32)+-- throws : False+-- Skip return : False++foreign import ccall "g_spawn_error_quark" g_spawn_error_quark :: + IO Word32+++spawnErrorQuark ::+ (MonadIO m) =>+ m Word32 -- result+spawnErrorQuark = liftIO $ do+ result <- g_spawn_error_quark+ return result+++-- function g_spawn_command_line_sync+-- Args : [Arg {argCName = "command_line", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "standard_output", argType = TCArray True (-1) (-1) (TBasicType TUInt8), direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "standard_error", argType = TCArray True (-1) (-1) (TBasicType TUInt8), direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "exit_status", argType = TBasicType TInt, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : True+-- Skip return : False++foreign import ccall "g_spawn_command_line_sync" g_spawn_command_line_sync :: + CString -> -- command_line : TBasicType TUTF8+ Ptr (Ptr Word8) -> -- standard_output : TCArray True (-1) (-1) (TBasicType TUInt8)+ Ptr (Ptr Word8) -> -- standard_error : TCArray True (-1) (-1) (TBasicType TUInt8)+ Ptr Int32 -> -- exit_status : TBasicType TInt+ Ptr (Ptr GError) -> -- error+ IO CInt+++spawnCommandLineSync ::+ (MonadIO m) =>+ T.Text -- commandLine+ -> m (ByteString,ByteString,Int32) -- result+spawnCommandLineSync commandLine = liftIO $ do+ commandLine' <- textToCString commandLine+ standardOutput <- allocMem :: IO (Ptr (Ptr Word8))+ standardError <- allocMem :: IO (Ptr (Ptr Word8))+ exitStatus <- allocMem :: IO (Ptr Int32)+ onException (do+ _ <- propagateGError $ g_spawn_command_line_sync commandLine' standardOutput standardError exitStatus+ standardOutput' <- peek standardOutput+ standardOutput'' <- unpackZeroTerminatedByteString standardOutput'+ freeMem standardOutput'+ standardError' <- peek standardError+ standardError'' <- unpackZeroTerminatedByteString standardError'+ freeMem standardError'+ exitStatus' <- peek exitStatus+ freeMem commandLine'+ freeMem standardOutput+ freeMem standardError+ freeMem exitStatus+ return (standardOutput'', standardError'', exitStatus')+ ) (do+ freeMem commandLine'+ freeMem standardOutput+ freeMem standardError+ freeMem exitStatus+ )+++-- function g_spawn_command_line_async+-- Args : [Arg {argCName = "command_line", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : True+-- Skip return : False++foreign import ccall "g_spawn_command_line_async" g_spawn_command_line_async :: + CString -> -- command_line : TBasicType TUTF8+ Ptr (Ptr GError) -> -- error+ IO CInt+++spawnCommandLineAsync ::+ (MonadIO m) =>+ T.Text -- commandLine+ -> m () -- result+spawnCommandLineAsync commandLine = liftIO $ do+ commandLine' <- textToCString commandLine+ onException (do+ _ <- propagateGError $ g_spawn_command_line_async commandLine'+ freeMem commandLine'+ return ()+ ) (do+ freeMem commandLine'+ )+++-- function g_spawn_close_pid+-- Args : [Arg {argCName = "pid", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_spawn_close_pid" g_spawn_close_pid :: + Int32 -> -- pid : TBasicType TInt+ IO ()+++spawnClosePid ::+ (MonadIO m) =>+ Int32 -- pid+ -> m () -- result+spawnClosePid pid = liftIO $ do+ g_spawn_close_pid pid+ return ()+++-- function g_spawn_check_exit_status+-- Args : [Arg {argCName = "exit_status", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : True+-- Skip return : False++foreign import ccall "g_spawn_check_exit_status" g_spawn_check_exit_status :: + Int32 -> -- exit_status : TBasicType TInt+ Ptr (Ptr GError) -> -- error+ IO CInt+++spawnCheckExitStatus ::+ (MonadIO m) =>+ Int32 -- exitStatus+ -> m () -- result+spawnCheckExitStatus exitStatus = liftIO $ do+ onException (do+ _ <- propagateGError $ g_spawn_check_exit_status exitStatus+ return ()+ ) (do+ return ()+ )+++-- function g_spawn_async_with_pipes+-- Args : [Arg {argCName = "working_directory", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "argv", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "envp", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TInterface "GLib" "SpawnFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "child_setup", argType = TInterface "GLib" "SpawnChildSetupFunc", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = 5, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "child_pid", argType = TBasicType TInt, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "standard_input", argType = TBasicType TInt, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "standard_output", argType = TBasicType TInt, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "standard_error", argType = TBasicType TInt, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : True+-- Skip return : False++foreign import ccall "g_spawn_async_with_pipes" g_spawn_async_with_pipes :: + CString -> -- working_directory : TBasicType TUTF8+ Ptr CString -> -- argv : TCArray True (-1) (-1) (TBasicType TUTF8)+ Ptr CString -> -- envp : TCArray True (-1) (-1) (TBasicType TUTF8)+ CUInt -> -- flags : TInterface "GLib" "SpawnFlags"+ FunPtr SpawnChildSetupFuncC -> -- child_setup : TInterface "GLib" "SpawnChildSetupFunc"+ Ptr () -> -- user_data : TBasicType TPtr+ Ptr Int32 -> -- child_pid : TBasicType TInt+ Ptr Int32 -> -- standard_input : TBasicType TInt+ Ptr Int32 -> -- standard_output : TBasicType TInt+ Ptr Int32 -> -- standard_error : TBasicType TInt+ Ptr (Ptr GError) -> -- error+ IO CInt+++spawnAsyncWithPipes ::+ (MonadIO m) =>+ Maybe (T.Text) -- workingDirectory+ -> [T.Text] -- argv+ -> Maybe ([T.Text]) -- envp+ -> [SpawnFlags] -- flags+ -> Maybe (SpawnChildSetupFunc) -- childSetup+ -> m (Int32,Int32,Int32,Int32) -- result+spawnAsyncWithPipes workingDirectory argv envp flags childSetup = liftIO $ do+ maybeWorkingDirectory <- case workingDirectory of+ Nothing -> return nullPtr+ Just jWorkingDirectory -> do+ jWorkingDirectory' <- textToCString jWorkingDirectory+ return jWorkingDirectory'+ argv' <- packZeroTerminatedUTF8CArray argv+ maybeEnvp <- case envp of+ Nothing -> return nullPtr+ Just jEnvp -> do+ jEnvp' <- packZeroTerminatedUTF8CArray jEnvp+ return jEnvp'+ let flags' = gflagsToWord flags+ ptrchildSetup <- callocMem :: IO (Ptr (FunPtr SpawnChildSetupFuncC))+ maybeChildSetup <- case childSetup of+ Nothing -> return (castPtrToFunPtr nullPtr)+ Just jChildSetup -> do+ jChildSetup' <- mkSpawnChildSetupFunc (spawnChildSetupFuncWrapper (Just ptrchildSetup) jChildSetup)+ poke ptrchildSetup jChildSetup'+ return jChildSetup'+ childPid <- allocMem :: IO (Ptr Int32)+ standardInput <- allocMem :: IO (Ptr Int32)+ standardOutput <- allocMem :: IO (Ptr Int32)+ standardError <- allocMem :: IO (Ptr Int32)+ let userData = nullPtr+ onException (do+ _ <- propagateGError $ g_spawn_async_with_pipes maybeWorkingDirectory argv' maybeEnvp flags' maybeChildSetup userData childPid standardInput standardOutput standardError+ childPid' <- peek childPid+ standardInput' <- peek standardInput+ standardOutput' <- peek standardOutput+ standardError' <- peek standardError+ freeMem maybeWorkingDirectory+ mapZeroTerminatedCArray freeMem argv'+ freeMem argv'+ mapZeroTerminatedCArray freeMem maybeEnvp+ freeMem maybeEnvp+ freeMem childPid+ freeMem standardInput+ freeMem standardOutput+ freeMem standardError+ return (childPid', standardInput', standardOutput', standardError')+ ) (do+ freeMem maybeWorkingDirectory+ mapZeroTerminatedCArray freeMem argv'+ freeMem argv'+ mapZeroTerminatedCArray freeMem maybeEnvp+ freeMem maybeEnvp+ freeMem childPid+ freeMem standardInput+ freeMem standardOutput+ freeMem standardError+ )+++-- function g_spawn_async+-- Args : [Arg {argCName = "working_directory", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "argv", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "envp", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TInterface "GLib" "SpawnFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "child_setup", argType = TInterface "GLib" "SpawnChildSetupFunc", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = 5, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "child_pid", argType = TBasicType TInt, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : True+-- Skip return : False++foreign import ccall "g_spawn_async" g_spawn_async :: + CString -> -- working_directory : TBasicType TUTF8+ Ptr CString -> -- argv : TCArray True (-1) (-1) (TBasicType TUTF8)+ Ptr CString -> -- envp : TCArray True (-1) (-1) (TBasicType TUTF8)+ CUInt -> -- flags : TInterface "GLib" "SpawnFlags"+ FunPtr SpawnChildSetupFuncC -> -- child_setup : TInterface "GLib" "SpawnChildSetupFunc"+ Ptr () -> -- user_data : TBasicType TPtr+ Ptr Int32 -> -- child_pid : TBasicType TInt+ Ptr (Ptr GError) -> -- error+ IO CInt+++spawnAsync ::+ (MonadIO m) =>+ Maybe (T.Text) -- workingDirectory+ -> [T.Text] -- argv+ -> Maybe ([T.Text]) -- envp+ -> [SpawnFlags] -- flags+ -> Maybe (SpawnChildSetupFunc) -- childSetup+ -> m (Int32) -- result+spawnAsync workingDirectory argv envp flags childSetup = liftIO $ do+ maybeWorkingDirectory <- case workingDirectory of+ Nothing -> return nullPtr+ Just jWorkingDirectory -> do+ jWorkingDirectory' <- textToCString jWorkingDirectory+ return jWorkingDirectory'+ argv' <- packZeroTerminatedUTF8CArray argv+ maybeEnvp <- case envp of+ Nothing -> return nullPtr+ Just jEnvp -> do+ jEnvp' <- packZeroTerminatedUTF8CArray jEnvp+ return jEnvp'+ let flags' = gflagsToWord flags+ ptrchildSetup <- callocMem :: IO (Ptr (FunPtr SpawnChildSetupFuncC))+ maybeChildSetup <- case childSetup of+ Nothing -> return (castPtrToFunPtr nullPtr)+ Just jChildSetup -> do+ jChildSetup' <- mkSpawnChildSetupFunc (spawnChildSetupFuncWrapper (Just ptrchildSetup) jChildSetup)+ poke ptrchildSetup jChildSetup'+ return jChildSetup'+ childPid <- allocMem :: IO (Ptr Int32)+ let userData = nullPtr+ onException (do+ _ <- propagateGError $ g_spawn_async maybeWorkingDirectory argv' maybeEnvp flags' maybeChildSetup userData childPid+ childPid' <- peek childPid+ freeMem maybeWorkingDirectory+ mapZeroTerminatedCArray freeMem argv'+ freeMem argv'+ mapZeroTerminatedCArray freeMem maybeEnvp+ freeMem maybeEnvp+ freeMem childPid+ return childPid'+ ) (do+ freeMem maybeWorkingDirectory+ mapZeroTerminatedCArray freeMem argv'+ freeMem argv'+ mapZeroTerminatedCArray freeMem maybeEnvp+ freeMem maybeEnvp+ freeMem childPid+ )+++-- function g_spaced_primes_closest+-- Args : [Arg {argCName = "num", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_spaced_primes_closest" g_spaced_primes_closest :: + Word32 -> -- num : TBasicType TUInt+ IO Word32+++spacedPrimesClosest ::+ (MonadIO m) =>+ Word32 -- num+ -> m Word32 -- result+spacedPrimesClosest num = liftIO $ do+ result <- g_spaced_primes_closest num+ return result+++-- function g_slice_set_config+-- Args : [Arg {argCName = "ckey", argType = TInterface "GLib" "SliceConfig", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_slice_set_config" g_slice_set_config :: + CUInt -> -- ckey : TInterface "GLib" "SliceConfig"+ Int64 -> -- value : TBasicType TInt64+ IO ()+++sliceSetConfig ::+ (MonadIO m) =>+ SliceConfig -- ckey+ -> Int64 -- value+ -> m () -- result+sliceSetConfig ckey value = liftIO $ do+ let ckey' = (fromIntegral . fromEnum) ckey+ g_slice_set_config ckey' value+ return ()+++-- function g_slice_get_config_state+-- Args : [Arg {argCName = "ckey", argType = TInterface "GLib" "SliceConfig", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "address", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n_values", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt64)+-- throws : False+-- Skip return : False++foreign import ccall "g_slice_get_config_state" g_slice_get_config_state :: + CUInt -> -- ckey : TInterface "GLib" "SliceConfig"+ Int64 -> -- address : TBasicType TInt64+ Word32 -> -- n_values : TBasicType TUInt+ IO Int64+++sliceGetConfigState ::+ (MonadIO m) =>+ SliceConfig -- ckey+ -> Int64 -- address+ -> Word32 -- nValues+ -> m Int64 -- result+sliceGetConfigState ckey address nValues = liftIO $ do+ let ckey' = (fromIntegral . fromEnum) ckey+ result <- g_slice_get_config_state ckey' address nValues+ return result+++-- function g_slice_get_config+-- Args : [Arg {argCName = "ckey", argType = TInterface "GLib" "SliceConfig", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt64)+-- throws : False+-- Skip return : False++foreign import ccall "g_slice_get_config" g_slice_get_config :: + CUInt -> -- ckey : TInterface "GLib" "SliceConfig"+ IO Int64+++sliceGetConfig ::+ (MonadIO m) =>+ SliceConfig -- ckey+ -> m Int64 -- result+sliceGetConfig ckey = liftIO $ do+ let ckey' = (fromIntegral . fromEnum) ckey+ result <- g_slice_get_config ckey'+ return result+++-- function g_slice_free_chain_with_offset+-- Args : [Arg {argCName = "block_size", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mem_chain", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "next_offset", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_slice_free_chain_with_offset" g_slice_free_chain_with_offset :: + Word64 -> -- block_size : TBasicType TUInt64+ Ptr () -> -- mem_chain : TBasicType TPtr+ Word64 -> -- next_offset : TBasicType TUInt64+ IO ()+++sliceFreeChainWithOffset ::+ (MonadIO m) =>+ Word64 -- blockSize+ -> Ptr () -- memChain+ -> Word64 -- nextOffset+ -> m () -- result+sliceFreeChainWithOffset blockSize memChain nextOffset = liftIO $ do+ g_slice_free_chain_with_offset blockSize memChain nextOffset+ return ()+++-- function g_slice_free1+-- Args : [Arg {argCName = "block_size", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mem_block", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_slice_free1" g_slice_free1 :: + Word64 -> -- block_size : TBasicType TUInt64+ Ptr () -> -- mem_block : TBasicType TPtr+ IO ()+++sliceFree1 ::+ (MonadIO m) =>+ Word64 -- blockSize+ -> Ptr () -- memBlock+ -> m () -- result+sliceFree1 blockSize memBlock = liftIO $ do+ g_slice_free1 blockSize memBlock+ return ()+++-- function g_shell_unquote+-- Args : [Arg {argCName = "quoted_string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : True+-- Skip return : False++foreign import ccall "g_shell_unquote" g_shell_unquote :: + CString -> -- quoted_string : TBasicType TUTF8+ Ptr (Ptr GError) -> -- error+ IO CString+++shellUnquote ::+ (MonadIO m) =>+ T.Text -- quotedString+ -> m T.Text -- result+shellUnquote quotedString = liftIO $ do+ quotedString' <- textToCString quotedString+ onException (do+ result <- propagateGError $ g_shell_unquote quotedString'+ checkUnexpectedReturnNULL "g_shell_unquote" result+ result' <- cstringToText result+ freeMem result+ freeMem quotedString'+ return result'+ ) (do+ freeMem quotedString'+ )+++-- function g_shell_quote+-- Args : [Arg {argCName = "unquoted_string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_shell_quote" g_shell_quote :: + CString -> -- unquoted_string : TBasicType TUTF8+ IO CString+++shellQuote ::+ (MonadIO m) =>+ T.Text -- unquotedString+ -> m T.Text -- result+shellQuote unquotedString = liftIO $ do+ unquotedString' <- textToCString unquotedString+ result <- g_shell_quote unquotedString'+ checkUnexpectedReturnNULL "g_shell_quote" result+ result' <- cstringToText result+ freeMem result+ freeMem unquotedString'+ return result'+++-- function g_shell_parse_argv+-- Args : [Arg {argCName = "command_line", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "argcp", argType = TBasicType TInt, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "argvp", argType = TCArray True (-1) 1 (TBasicType TUTF8), direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : True+-- Skip return : False++foreign import ccall "g_shell_parse_argv" g_shell_parse_argv :: + CString -> -- command_line : TBasicType TUTF8+ Ptr Int32 -> -- argcp : TBasicType TInt+ Ptr (Ptr CString) -> -- argvp : TCArray True (-1) 1 (TBasicType TUTF8)+ Ptr (Ptr GError) -> -- error+ IO CInt+++shellParseArgv ::+ (MonadIO m) =>+ T.Text -- commandLine+ -> m (Int32,[T.Text]) -- result+shellParseArgv commandLine = liftIO $ do+ commandLine' <- textToCString commandLine+ argcp <- allocMem :: IO (Ptr Int32)+ argvp <- allocMem :: IO (Ptr (Ptr CString))+ onException (do+ _ <- propagateGError $ g_shell_parse_argv commandLine' argcp argvp+ argcp' <- peek argcp+ argvp' <- peek argvp+ argvp'' <- unpackZeroTerminatedUTF8CArray argvp'+ mapZeroTerminatedCArray freeMem argvp'+ freeMem argvp'+ freeMem commandLine'+ freeMem argcp+ freeMem argvp+ return (argcp', argvp'')+ ) (do+ freeMem commandLine'+ freeMem argcp+ freeMem argvp+ )+++-- function g_shell_error_quark+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUInt32)+-- throws : False+-- Skip return : False++foreign import ccall "g_shell_error_quark" g_shell_error_quark :: + IO Word32+++shellErrorQuark ::+ (MonadIO m) =>+ m Word32 -- result+shellErrorQuark = liftIO $ do+ result <- g_shell_error_quark+ return result+++-- function g_setenv+-- Args : [Arg {argCName = "variable", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "overwrite", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_setenv" g_setenv :: + CString -> -- variable : TBasicType TUTF8+ CString -> -- value : TBasicType TUTF8+ CInt -> -- overwrite : TBasicType TBoolean+ IO CInt+++setenv ::+ (MonadIO m) =>+ T.Text -- variable+ -> T.Text -- value+ -> Bool -- overwrite+ -> m Bool -- result+setenv variable value overwrite = liftIO $ do+ variable' <- textToCString variable+ value' <- textToCString value+ let overwrite' = (fromIntegral . fromEnum) overwrite+ result <- g_setenv variable' value' overwrite'+ let result' = (/= 0) result+ freeMem variable'+ freeMem value'+ return result'+++-- function g_set_prgname+-- Args : [Arg {argCName = "prgname", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_set_prgname" g_set_prgname :: + CString -> -- prgname : TBasicType TUTF8+ IO ()+++setPrgname ::+ (MonadIO m) =>+ T.Text -- prgname+ -> m () -- result+setPrgname prgname = liftIO $ do+ prgname' <- textToCString prgname+ g_set_prgname prgname'+ freeMem prgname'+ return ()+++-- function g_set_error_literal+-- Args : [Arg {argCName = "err", argType = TError, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "domain", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "code", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "message", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_set_error_literal" g_set_error_literal :: + Ptr GError -> -- err : TError+ Word32 -> -- domain : TBasicType TUInt32+ Int32 -> -- code : TBasicType TInt+ CString -> -- message : TBasicType TUTF8+ IO ()+++setErrorLiteral ::+ (MonadIO m) =>+ Maybe (GError) -- err+ -> Word32 -- domain+ -> Int32 -- code+ -> T.Text -- message+ -> m () -- result+setErrorLiteral err domain code message = liftIO $ do+ maybeErr <- case err of+ Nothing -> return nullPtr+ Just jErr -> do+ let jErr' = unsafeManagedPtrGetPtr jErr+ return jErr'+ message' <- textToCString message+ g_set_error_literal maybeErr domain code message'+ whenJust err touchManagedPtr+ freeMem message'+ return ()+++-- function g_set_application_name+-- Args : [Arg {argCName = "application_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_set_application_name" g_set_application_name :: + CString -> -- application_name : TBasicType TUTF8+ IO ()+++setApplicationName ::+ (MonadIO m) =>+ T.Text -- applicationName+ -> m () -- result+setApplicationName applicationName = liftIO $ do+ applicationName' <- textToCString applicationName+ g_set_application_name applicationName'+ freeMem applicationName'+ return ()+++-- function g_rmdir+-- Args : [Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_rmdir" g_rmdir :: + CString -> -- filename : TBasicType TUTF8+ IO Int32+++rmdir ::+ (MonadIO m) =>+ T.Text -- filename+ -> m Int32 -- result+rmdir filename = liftIO $ do+ filename' <- textToCString filename+ result <- g_rmdir filename'+ freeMem filename'+ return result+++-- function g_return_if_fail_warning+-- Args : [Arg {argCName = "log_domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pretty_function", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "expression", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_return_if_fail_warning" g_return_if_fail_warning :: + CString -> -- log_domain : TBasicType TUTF8+ CString -> -- pretty_function : TBasicType TUTF8+ CString -> -- expression : TBasicType TUTF8+ IO ()+++returnIfFailWarning ::+ (MonadIO m) =>+ T.Text -- logDomain+ -> T.Text -- prettyFunction+ -> T.Text -- expression+ -> m () -- result+returnIfFailWarning logDomain prettyFunction expression = liftIO $ do+ logDomain' <- textToCString logDomain+ prettyFunction' <- textToCString prettyFunction+ expression' <- textToCString expression+ g_return_if_fail_warning logDomain' prettyFunction' expression'+ freeMem logDomain'+ freeMem prettyFunction'+ freeMem expression'+ return ()+++-- function g_reload_user_special_dirs_cache+-- Args : []+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_reload_user_special_dirs_cache" g_reload_user_special_dirs_cache :: + IO ()+++reloadUserSpecialDirsCache ::+ (MonadIO m) =>+ m () -- result+reloadUserSpecialDirsCache = liftIO $ do+ g_reload_user_special_dirs_cache+ return ()+++-- function g_random_set_seed+-- Args : [Arg {argCName = "seed", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_random_set_seed" g_random_set_seed :: + Word32 -> -- seed : TBasicType TUInt32+ IO ()+++randomSetSeed ::+ (MonadIO m) =>+ Word32 -- seed+ -> m () -- result+randomSetSeed seed = liftIO $ do+ g_random_set_seed seed+ return ()+++-- function g_random_int_range+-- Args : [Arg {argCName = "begin", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "end", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt32)+-- throws : False+-- Skip return : False++foreign import ccall "g_random_int_range" g_random_int_range :: + Int32 -> -- begin : TBasicType TInt32+ Int32 -> -- end : TBasicType TInt32+ IO Int32+++randomIntRange ::+ (MonadIO m) =>+ Int32 -- begin+ -> Int32 -- end+ -> m Int32 -- result+randomIntRange begin end = liftIO $ do+ result <- g_random_int_range begin end+ return result+++-- function g_random_int+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUInt32)+-- throws : False+-- Skip return : False++foreign import ccall "g_random_int" g_random_int :: + IO Word32+++randomInt ::+ (MonadIO m) =>+ m Word32 -- result+randomInt = liftIO $ do+ result <- g_random_int+ return result+++-- function g_random_double_range+-- Args : [Arg {argCName = "begin", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "end", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TDouble)+-- throws : False+-- Skip return : False++foreign import ccall "g_random_double_range" g_random_double_range :: + CDouble -> -- begin : TBasicType TDouble+ CDouble -> -- end : TBasicType TDouble+ IO CDouble+++randomDoubleRange ::+ (MonadIO m) =>+ Double -- begin+ -> Double -- end+ -> m Double -- result+randomDoubleRange begin end = liftIO $ do+ let begin' = realToFrac begin+ let end' = realToFrac end+ result <- g_random_double_range begin' end'+ let result' = realToFrac result+ return result'+++-- function g_random_double+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TDouble)+-- throws : False+-- Skip return : False++foreign import ccall "g_random_double" g_random_double :: + IO CDouble+++randomDouble ::+ (MonadIO m) =>+ m Double -- result+randomDouble = liftIO $ do+ result <- g_random_double+ let result' = realToFrac result+ return result'+++-- function g_quark_try_string+-- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt32)+-- throws : False+-- Skip return : False++foreign import ccall "g_quark_try_string" g_quark_try_string :: + CString -> -- string : TBasicType TUTF8+ IO Word32+++quarkTryString ::+ (MonadIO m) =>+ Maybe (T.Text) -- string+ -> m Word32 -- result+quarkTryString string = liftIO $ do+ maybeString <- case string of+ Nothing -> return nullPtr+ Just jString -> do+ jString' <- textToCString jString+ return jString'+ result <- g_quark_try_string maybeString+ freeMem maybeString+ return result+++-- function g_quark_to_string+-- Args : [Arg {argCName = "quark", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_quark_to_string" g_quark_to_string :: + Word32 -> -- quark : TBasicType TUInt32+ IO CString+++quarkToString ::+ (MonadIO m) =>+ Word32 -- quark+ -> m T.Text -- result+quarkToString quark = liftIO $ do+ result <- g_quark_to_string quark+ checkUnexpectedReturnNULL "g_quark_to_string" result+ result' <- cstringToText result+ return result'+++-- function g_quark_from_string+-- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt32)+-- throws : False+-- Skip return : False++foreign import ccall "g_quark_from_string" g_quark_from_string :: + CString -> -- string : TBasicType TUTF8+ IO Word32+++quarkFromString ::+ (MonadIO m) =>+ Maybe (T.Text) -- string+ -> m Word32 -- result+quarkFromString string = liftIO $ do+ maybeString <- case string of+ Nothing -> return nullPtr+ Just jString -> do+ jString' <- textToCString jString+ return jString'+ result <- g_quark_from_string maybeString+ freeMem maybeString+ return result+++-- function g_quark_from_static_string+-- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt32)+-- throws : False+-- Skip return : False++foreign import ccall "g_quark_from_static_string" g_quark_from_static_string :: + CString -> -- string : TBasicType TUTF8+ IO Word32+++quarkFromStaticString ::+ (MonadIO m) =>+ Maybe (T.Text) -- string+ -> m Word32 -- result+quarkFromStaticString string = liftIO $ do+ maybeString <- case string of+ Nothing -> return nullPtr+ Just jString -> do+ jString' <- textToCString jString+ return jString'+ result <- g_quark_from_static_string maybeString+ freeMem maybeString+ return result+++-- function g_propagate_error+-- Args : [Arg {argCName = "dest", argType = TError, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "src", argType = TError, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_propagate_error" g_propagate_error :: + Ptr GError -> -- dest : TError+ Ptr GError -> -- src : TError+ IO ()+++propagateError ::+ (MonadIO m) =>+ GError -- dest+ -> GError -- src+ -> m () -- result+propagateError dest src = liftIO $ do+ let dest' = unsafeManagedPtrGetPtr dest+ let src' = unsafeManagedPtrGetPtr src+ g_propagate_error dest' src'+ touchManagedPtr dest+ touchManagedPtr src+ return ()+++-- function g_poll+-- Args : [Arg {argCName = "fds", argType = TInterface "GLib" "PollFD", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "nfds", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "timeout", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_poll" g_poll :: + Ptr PollFD -> -- fds : TInterface "GLib" "PollFD"+ Word32 -> -- nfds : TBasicType TUInt+ Int32 -> -- timeout : TBasicType TInt+ IO Int32+++poll ::+ (MonadIO m) =>+ PollFD -- fds+ -> Word32 -- nfds+ -> Int32 -- timeout+ -> m Int32 -- result+poll fds nfds timeout = liftIO $ do+ let fds' = unsafeManagedPtrGetPtr fds+ result <- g_poll fds' nfds timeout+ touchManagedPtr fds+ return result+++-- function g_pointer_bit_unlock+-- Args : [Arg {argCName = "address", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "lock_bit", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_pointer_bit_unlock" g_pointer_bit_unlock :: + Ptr () -> -- address : TBasicType TPtr+ Int32 -> -- lock_bit : TBasicType TInt+ IO ()+++pointerBitUnlock ::+ (MonadIO m) =>+ Ptr () -- address+ -> Int32 -- lockBit+ -> m () -- result+pointerBitUnlock address lockBit = liftIO $ do+ g_pointer_bit_unlock address lockBit+ return ()+++-- function g_pointer_bit_trylock+-- Args : [Arg {argCName = "address", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "lock_bit", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_pointer_bit_trylock" g_pointer_bit_trylock :: + Ptr () -> -- address : TBasicType TPtr+ Int32 -> -- lock_bit : TBasicType TInt+ IO CInt+++pointerBitTrylock ::+ (MonadIO m) =>+ Ptr () -- address+ -> Int32 -- lockBit+ -> m Bool -- result+pointerBitTrylock address lockBit = liftIO $ do+ result <- g_pointer_bit_trylock address lockBit+ let result' = (/= 0) result+ return result'+++-- function g_pointer_bit_lock+-- Args : [Arg {argCName = "address", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "lock_bit", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_pointer_bit_lock" g_pointer_bit_lock :: + Ptr () -> -- address : TBasicType TPtr+ Int32 -> -- lock_bit : TBasicType TInt+ IO ()+++pointerBitLock ::+ (MonadIO m) =>+ Ptr () -- address+ -> Int32 -- lockBit+ -> m () -- result+pointerBitLock address lockBit = liftIO $ do+ g_pointer_bit_lock address lockBit+ return ()+++-- function g_pattern_match_string+-- Args : [Arg {argCName = "pspec", argType = TInterface "GLib" "PatternSpec", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_pattern_match_string" g_pattern_match_string :: + Ptr PatternSpec -> -- pspec : TInterface "GLib" "PatternSpec"+ CString -> -- string : TBasicType TUTF8+ IO CInt+++patternMatchString ::+ (MonadIO m) =>+ PatternSpec -- pspec+ -> T.Text -- string+ -> m Bool -- result+patternMatchString pspec string = liftIO $ do+ let pspec' = unsafeManagedPtrGetPtr pspec+ string' <- textToCString string+ result <- g_pattern_match_string pspec' string'+ let result' = (/= 0) result+ touchManagedPtr pspec+ freeMem string'+ return result'+++-- function g_pattern_match_simple+-- Args : [Arg {argCName = "pattern", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_pattern_match_simple" g_pattern_match_simple :: + CString -> -- pattern : TBasicType TUTF8+ CString -> -- string : TBasicType TUTF8+ IO CInt+++patternMatchSimple ::+ (MonadIO m) =>+ T.Text -- pattern+ -> T.Text -- string+ -> m Bool -- result+patternMatchSimple pattern string = liftIO $ do+ pattern' <- textToCString pattern+ string' <- textToCString string+ result <- g_pattern_match_simple pattern' string'+ let result' = (/= 0) result+ freeMem pattern'+ freeMem string'+ return result'+++-- function g_pattern_match+-- Args : [Arg {argCName = "pspec", argType = TInterface "GLib" "PatternSpec", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string_length", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string_reversed", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_pattern_match" g_pattern_match :: + Ptr PatternSpec -> -- pspec : TInterface "GLib" "PatternSpec"+ Word32 -> -- string_length : TBasicType TUInt+ CString -> -- string : TBasicType TUTF8+ CString -> -- string_reversed : TBasicType TUTF8+ IO CInt+++patternMatch ::+ (MonadIO m) =>+ PatternSpec -- pspec+ -> Word32 -- stringLength+ -> T.Text -- string+ -> Maybe (T.Text) -- stringReversed+ -> m Bool -- result+patternMatch pspec stringLength string stringReversed = liftIO $ do+ let pspec' = unsafeManagedPtrGetPtr pspec+ string' <- textToCString string+ maybeStringReversed <- case stringReversed of+ Nothing -> return nullPtr+ Just jStringReversed -> do+ jStringReversed' <- textToCString jStringReversed+ return jStringReversed'+ result <- g_pattern_match pspec' stringLength string' maybeStringReversed+ let result' = (/= 0) result+ touchManagedPtr pspec+ freeMem string'+ freeMem maybeStringReversed+ return result'+++-- function g_path_skip_root+-- Args : [Arg {argCName = "file_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_path_skip_root" g_path_skip_root :: + CString -> -- file_name : TBasicType TUTF8+ IO CString+++pathSkipRoot ::+ (MonadIO m) =>+ T.Text -- fileName+ -> m (Maybe T.Text) -- result+pathSkipRoot fileName = liftIO $ do+ fileName' <- textToCString fileName+ result <- g_path_skip_root fileName'+ maybeResult <- convertIfNonNull result $ \result' -> do+ result'' <- cstringToText result'+ return result''+ freeMem fileName'+ return maybeResult+++-- function g_path_is_absolute+-- Args : [Arg {argCName = "file_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_path_is_absolute" g_path_is_absolute :: + CString -> -- file_name : TBasicType TUTF8+ IO CInt+++pathIsAbsolute ::+ (MonadIO m) =>+ T.Text -- fileName+ -> m Bool -- result+pathIsAbsolute fileName = liftIO $ do+ fileName' <- textToCString fileName+ result <- g_path_is_absolute fileName'+ let result' = (/= 0) result+ freeMem fileName'+ return result'+++-- function g_path_get_dirname+-- Args : [Arg {argCName = "file_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_path_get_dirname" g_path_get_dirname :: + CString -> -- file_name : TBasicType TUTF8+ IO CString+++pathGetDirname ::+ (MonadIO m) =>+ T.Text -- fileName+ -> m T.Text -- result+pathGetDirname fileName = liftIO $ do+ fileName' <- textToCString fileName+ result <- g_path_get_dirname fileName'+ checkUnexpectedReturnNULL "g_path_get_dirname" result+ result' <- cstringToText result+ freeMem result+ freeMem fileName'+ return result'+++-- function g_path_get_basename+-- Args : [Arg {argCName = "file_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_path_get_basename" g_path_get_basename :: + CString -> -- file_name : TBasicType TUTF8+ IO CString+++pathGetBasename ::+ (MonadIO m) =>+ T.Text -- fileName+ -> m T.Text -- result+pathGetBasename fileName = liftIO $ do+ fileName' <- textToCString fileName+ result <- g_path_get_basename fileName'+ checkUnexpectedReturnNULL "g_path_get_basename" result+ result' <- cstringToText result+ freeMem result+ freeMem fileName'+ return result'+++-- function g_parse_debug_string+-- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "keys", argType = TCArray False (-1) 2 (TInterface "GLib" "DebugKey"), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "nkeys", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : [Arg {argCName = "nkeys", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_parse_debug_string" g_parse_debug_string :: + CString -> -- string : TBasicType TUTF8+ Ptr DebugKey -> -- keys : TCArray False (-1) 2 (TInterface "GLib" "DebugKey")+ Word32 -> -- nkeys : TBasicType TUInt+ IO Word32+++parseDebugString ::+ (MonadIO m) =>+ Maybe (T.Text) -- string+ -> [DebugKey] -- keys+ -> m Word32 -- result+parseDebugString string keys = liftIO $ do+ let nkeys = fromIntegral $ length keys+ maybeString <- case string of+ Nothing -> return nullPtr+ Just jString -> do+ jString' <- textToCString jString+ return jString'+ let keys' = map unsafeManagedPtrGetPtr keys+ keys'' <- packBlockArray 16 keys'+ result <- g_parse_debug_string maybeString keys'' nkeys+ mapM_ touchManagedPtr keys+ freeMem maybeString+ freeMem keys''+ return result+++-- function g_option_error_quark+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUInt32)+-- throws : False+-- Skip return : False++foreign import ccall "g_option_error_quark" g_option_error_quark :: + IO Word32+++optionErrorQuark ::+ (MonadIO m) =>+ m Word32 -- result+optionErrorQuark = liftIO $ do+ result <- g_option_error_quark+ return result+++-- function g_on_error_stack_trace+-- Args : [Arg {argCName = "prg_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_on_error_stack_trace" g_on_error_stack_trace :: + CString -> -- prg_name : TBasicType TUTF8+ IO ()+++onErrorStackTrace ::+ (MonadIO m) =>+ T.Text -- prgName+ -> m () -- result+onErrorStackTrace prgName = liftIO $ do+ prgName' <- textToCString prgName+ g_on_error_stack_trace prgName'+ freeMem prgName'+ return ()+++-- function g_on_error_query+-- Args : [Arg {argCName = "prg_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_on_error_query" g_on_error_query :: + CString -> -- prg_name : TBasicType TUTF8+ IO ()+++onErrorQuery ::+ (MonadIO m) =>+ T.Text -- prgName+ -> m () -- result+onErrorQuery prgName = liftIO $ do+ prgName' <- textToCString prgName+ g_on_error_query prgName'+ freeMem prgName'+ return ()+++-- function g_nullify_pointer+-- Args : [Arg {argCName = "nullify_location", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_nullify_pointer" g_nullify_pointer :: + Ptr () -> -- nullify_location : TBasicType TPtr+ IO ()+++nullifyPointer ::+ (MonadIO m) =>+ Ptr () -- nullifyLocation+ -> m () -- result+nullifyPointer nullifyLocation = liftIO $ do+ g_nullify_pointer nullifyLocation+ return ()+++-- function g_mkstemp_full+-- Args : [Arg {argCName = "tmpl", argType = TBasicType TFileName, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mode", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_mkstemp_full" g_mkstemp_full :: + CString -> -- tmpl : TBasicType TFileName+ Int32 -> -- flags : TBasicType TInt+ Int32 -> -- mode : TBasicType TInt+ IO Int32+++mkstempFull ::+ (MonadIO m) =>+ [Char] -- tmpl+ -> Int32 -- flags+ -> Int32 -- mode+ -> m Int32 -- result+mkstempFull tmpl flags mode = liftIO $ do+ tmpl' <- stringToCString tmpl+ result <- g_mkstemp_full tmpl' flags mode+ freeMem tmpl'+ return result+++-- function g_mkstemp+-- Args : [Arg {argCName = "tmpl", argType = TBasicType TFileName, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_mkstemp" g_mkstemp :: + CString -> -- tmpl : TBasicType TFileName+ IO Int32+++mkstemp ::+ (MonadIO m) =>+ [Char] -- tmpl+ -> m Int32 -- result+mkstemp tmpl = liftIO $ do+ tmpl' <- stringToCString tmpl+ result <- g_mkstemp tmpl'+ freeMem tmpl'+ return result+++-- function g_mkdtemp_full+-- Args : [Arg {argCName = "tmpl", argType = TBasicType TFileName, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mode", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_mkdtemp_full" g_mkdtemp_full :: + CString -> -- tmpl : TBasicType TFileName+ Int32 -> -- mode : TBasicType TInt+ IO CString+++mkdtempFull ::+ (MonadIO m) =>+ [Char] -- tmpl+ -> Int32 -- mode+ -> m T.Text -- result+mkdtempFull tmpl mode = liftIO $ do+ tmpl' <- stringToCString tmpl+ result <- g_mkdtemp_full tmpl' mode+ checkUnexpectedReturnNULL "g_mkdtemp_full" result+ result' <- cstringToText result+ freeMem result+ freeMem tmpl'+ return result'+++-- function g_mkdtemp+-- Args : [Arg {argCName = "tmpl", argType = TBasicType TFileName, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_mkdtemp" g_mkdtemp :: + CString -> -- tmpl : TBasicType TFileName+ IO CString+++mkdtemp ::+ (MonadIO m) =>+ [Char] -- tmpl+ -> m T.Text -- result+mkdtemp tmpl = liftIO $ do+ tmpl' <- stringToCString tmpl+ result <- g_mkdtemp tmpl'+ checkUnexpectedReturnNULL "g_mkdtemp" result+ result' <- cstringToText result+ freeMem result+ freeMem tmpl'+ return result'+++-- function g_mkdir_with_parents+-- Args : [Arg {argCName = "pathname", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mode", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_mkdir_with_parents" g_mkdir_with_parents :: + CString -> -- pathname : TBasicType TUTF8+ Int32 -> -- mode : TBasicType TInt+ IO Int32+++mkdirWithParents ::+ (MonadIO m) =>+ T.Text -- pathname+ -> Int32 -- mode+ -> m Int32 -- result+mkdirWithParents pathname mode = liftIO $ do+ pathname' <- textToCString pathname+ result <- g_mkdir_with_parents pathname' mode+ freeMem pathname'+ return result+++-- function g_mem_set_vtable+-- Args : [Arg {argCName = "vtable", argType = TInterface "GLib" "MemVTable", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_mem_set_vtable" g_mem_set_vtable :: + Ptr MemVTable -> -- vtable : TInterface "GLib" "MemVTable"+ IO ()++{-# DEPRECATED memSetVtable ["(Since version 2.46)","Use other memory profiling tools instead"]#-}+memSetVtable ::+ (MonadIO m) =>+ MemVTable -- vtable+ -> m () -- result+memSetVtable vtable = liftIO $ do+ let vtable' = unsafeManagedPtrGetPtr vtable+ g_mem_set_vtable vtable'+ touchManagedPtr vtable+ return ()+++-- function g_mem_profile+-- Args : []+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_mem_profile" g_mem_profile :: + IO ()++{-# DEPRECATED memProfile ["(Since version 2.46)","Use other memory profiling tools instead"]#-}+memProfile ::+ (MonadIO m) =>+ m () -- result+memProfile = liftIO $ do+ g_mem_profile+ return ()+++-- function g_mem_is_system_malloc+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_mem_is_system_malloc" g_mem_is_system_malloc :: + IO CInt++{-# DEPRECATED memIsSystemMalloc ["(Since version 2.46)","GLib always uses the system malloc, so this function always","returns %TRUE."]#-}+memIsSystemMalloc ::+ (MonadIO m) =>+ m Bool -- result+memIsSystemMalloc = liftIO $ do+ result <- g_mem_is_system_malloc+ let result' = (/= 0) result+ return result'+++-- function g_markup_escape_text+-- Args : [Arg {argCName = "text", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_markup_escape_text" g_markup_escape_text :: + CString -> -- text : TBasicType TUTF8+ Int64 -> -- length : TBasicType TInt64+ IO CString+++markupEscapeText ::+ (MonadIO m) =>+ T.Text -- text+ -> Int64 -- length_+ -> m T.Text -- result+markupEscapeText text length_ = liftIO $ do+ text' <- textToCString text+ result <- g_markup_escape_text text' length_+ checkUnexpectedReturnNULL "g_markup_escape_text" result+ result' <- cstringToText result+ freeMem result+ freeMem text'+ return result'+++-- function g_markup_error_quark+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUInt32)+-- throws : False+-- Skip return : False++foreign import ccall "g_markup_error_quark" g_markup_error_quark :: + IO Word32+++markupErrorQuark ::+ (MonadIO m) =>+ m Word32 -- result+markupErrorQuark = liftIO $ do+ result <- g_markup_error_quark+ return result+++-- function g_main_depth+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_main_depth" g_main_depth :: + IO Int32+++mainDepth ::+ (MonadIO m) =>+ m Int32 -- result+mainDepth = liftIO $ do+ result <- g_main_depth+ return result+++-- function g_main_current_source+-- Args : []+-- Lengths : []+-- returnType : Just (TInterface "GLib" "Source")+-- throws : False+-- Skip return : False++foreign import ccall "g_main_current_source" g_main_current_source :: + IO (Ptr Source)+++mainCurrentSource ::+ (MonadIO m) =>+ m Source -- result+mainCurrentSource = liftIO $ do+ result <- g_main_current_source+ checkUnexpectedReturnNULL "g_main_current_source" result+ result' <- (newBoxed Source) result+ return result'+++-- function g_log_set_handler_full+-- Args : [Arg {argCName = "log_domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "log_levels", argType = TInterface "GLib" "LogLevelFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "log_func", argType = TInterface "GLib" "LogFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeNotified, argClosure = 3, argDestroy = 4, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "destroy", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_log_set_handler_full" g_log_set_handler_full :: + CString -> -- log_domain : TBasicType TUTF8+ CUInt -> -- log_levels : TInterface "GLib" "LogLevelFlags"+ FunPtr LogFuncC -> -- log_func : TInterface "GLib" "LogFunc"+ Ptr () -> -- user_data : TBasicType TPtr+ FunPtr DestroyNotifyC -> -- destroy : TInterface "GLib" "DestroyNotify"+ IO Word32+++logSetHandler ::+ (MonadIO m) =>+ Maybe (T.Text) -- logDomain+ -> [LogLevelFlags] -- logLevels+ -> LogFunc -- logFunc+ -> m Word32 -- result+logSetHandler logDomain logLevels logFunc = liftIO $ do+ maybeLogDomain <- case logDomain of+ Nothing -> return nullPtr+ Just jLogDomain -> do+ jLogDomain' <- textToCString jLogDomain+ return jLogDomain'+ let logLevels' = gflagsToWord logLevels+ logFunc' <- mkLogFunc (logFuncWrapper Nothing logFunc)+ let userData = castFunPtrToPtr logFunc'+ let destroy = safeFreeFunPtrPtr+ result <- g_log_set_handler_full maybeLogDomain logLevels' logFunc' userData destroy+ freeMem maybeLogDomain+ return result+++-- function g_log_set_fatal_mask+-- Args : [Arg {argCName = "log_domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "fatal_mask", argType = TInterface "GLib" "LogLevelFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TInterface "GLib" "LogLevelFlags")+-- throws : False+-- Skip return : False++foreign import ccall "g_log_set_fatal_mask" g_log_set_fatal_mask :: + CString -> -- log_domain : TBasicType TUTF8+ CUInt -> -- fatal_mask : TInterface "GLib" "LogLevelFlags"+ IO CUInt+++logSetFatalMask ::+ (MonadIO m) =>+ T.Text -- logDomain+ -> [LogLevelFlags] -- fatalMask+ -> m [LogLevelFlags] -- result+logSetFatalMask logDomain fatalMask = liftIO $ do+ logDomain' <- textToCString logDomain+ let fatalMask' = gflagsToWord fatalMask+ result <- g_log_set_fatal_mask logDomain' fatalMask'+ let result' = wordToGFlags result+ freeMem logDomain'+ return result'+++-- function g_log_set_always_fatal+-- Args : [Arg {argCName = "fatal_mask", argType = TInterface "GLib" "LogLevelFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TInterface "GLib" "LogLevelFlags")+-- throws : False+-- Skip return : False++foreign import ccall "g_log_set_always_fatal" g_log_set_always_fatal :: + CUInt -> -- fatal_mask : TInterface "GLib" "LogLevelFlags"+ IO CUInt+++logSetAlwaysFatal ::+ (MonadIO m) =>+ [LogLevelFlags] -- fatalMask+ -> m [LogLevelFlags] -- result+logSetAlwaysFatal fatalMask = liftIO $ do+ let fatalMask' = gflagsToWord fatalMask+ result <- g_log_set_always_fatal fatalMask'+ let result' = wordToGFlags result+ return result'+++-- function g_log_remove_handler+-- Args : [Arg {argCName = "log_domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "handler_id", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_log_remove_handler" g_log_remove_handler :: + CString -> -- log_domain : TBasicType TUTF8+ Word32 -> -- handler_id : TBasicType TUInt+ IO ()+++logRemoveHandler ::+ (MonadIO m) =>+ T.Text -- logDomain+ -> Word32 -- handlerId+ -> m () -- result+logRemoveHandler logDomain handlerId = liftIO $ do+ logDomain' <- textToCString logDomain+ g_log_remove_handler logDomain' handlerId+ freeMem logDomain'+ return ()+++-- function g_log_default_handler+-- Args : [Arg {argCName = "log_domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "log_level", argType = TInterface "GLib" "LogLevelFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "message", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "unused_data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_log_default_handler" g_log_default_handler :: + CString -> -- log_domain : TBasicType TUTF8+ CUInt -> -- log_level : TInterface "GLib" "LogLevelFlags"+ CString -> -- message : TBasicType TUTF8+ Ptr () -> -- unused_data : TBasicType TPtr+ IO ()+++logDefaultHandler ::+ (MonadIO m) =>+ T.Text -- logDomain+ -> [LogLevelFlags] -- logLevel+ -> T.Text -- message+ -> Ptr () -- unusedData+ -> m () -- result+logDefaultHandler logDomain logLevel message unusedData = liftIO $ do+ logDomain' <- textToCString logDomain+ let logLevel' = gflagsToWord logLevel+ message' <- textToCString message+ g_log_default_handler logDomain' logLevel' message' unusedData+ freeMem logDomain'+ freeMem message'+ return ()+++-- function g_locale_to_utf8+-- Args : [Arg {argCName = "opsysstring", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_read", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_written", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : True+-- Skip return : False++foreign import ccall "g_locale_to_utf8" g_locale_to_utf8 :: + CString -> -- opsysstring : TBasicType TUTF8+ Int64 -> -- len : TBasicType TInt64+ Word64 -> -- bytes_read : TBasicType TUInt64+ Word64 -> -- bytes_written : TBasicType TUInt64+ Ptr (Ptr GError) -> -- error+ IO CString+++localeToUtf8 ::+ (MonadIO m) =>+ T.Text -- opsysstring+ -> Int64 -- len+ -> Word64 -- bytesRead+ -> Word64 -- bytesWritten+ -> m T.Text -- result+localeToUtf8 opsysstring len bytesRead bytesWritten = liftIO $ do+ opsysstring' <- textToCString opsysstring+ onException (do+ result <- propagateGError $ g_locale_to_utf8 opsysstring' len bytesRead bytesWritten+ checkUnexpectedReturnNULL "g_locale_to_utf8" result+ result' <- cstringToText result+ freeMem result+ freeMem opsysstring'+ return result'+ ) (do+ freeMem opsysstring'+ )+++-- function g_locale_from_utf8+-- Args : [Arg {argCName = "utf8string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_read", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_written", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : True+-- Skip return : False++foreign import ccall "g_locale_from_utf8" g_locale_from_utf8 :: + CString -> -- utf8string : TBasicType TUTF8+ Int64 -> -- len : TBasicType TInt64+ Word64 -> -- bytes_read : TBasicType TUInt64+ Word64 -> -- bytes_written : TBasicType TUInt64+ Ptr (Ptr GError) -> -- error+ IO CString+++localeFromUtf8 ::+ (MonadIO m) =>+ T.Text -- utf8string+ -> Int64 -- len+ -> Word64 -- bytesRead+ -> Word64 -- bytesWritten+ -> m T.Text -- result+localeFromUtf8 utf8string len bytesRead bytesWritten = liftIO $ do+ utf8string' <- textToCString utf8string+ onException (do+ result <- propagateGError $ g_locale_from_utf8 utf8string' len bytesRead bytesWritten+ checkUnexpectedReturnNULL "g_locale_from_utf8" result+ result' <- cstringToText result+ freeMem result+ freeMem utf8string'+ return result'+ ) (do+ freeMem utf8string'+ )+++-- function g_listenv+-- Args : []+-- Lengths : []+-- returnType : Just (TCArray True (-1) (-1) (TBasicType TUTF8))+-- throws : False+-- Skip return : False++foreign import ccall "g_listenv" g_listenv :: + IO (Ptr CString)+++listenv ::+ (MonadIO m) =>+ m [T.Text] -- result+listenv = liftIO $ do+ result <- g_listenv+ checkUnexpectedReturnNULL "g_listenv" result+ result' <- unpackZeroTerminatedUTF8CArray result+ mapZeroTerminatedCArray freeMem result+ freeMem result+ return result'+++-- function g_io_create_watch+-- Args : [Arg {argCName = "channel", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "condition", argType = TInterface "GLib" "IOCondition", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TInterface "GLib" "Source")+-- throws : False+-- Skip return : False++foreign import ccall "g_io_create_watch" g_io_create_watch :: + Ptr IOChannel -> -- channel : TInterface "GLib" "IOChannel"+ CUInt -> -- condition : TInterface "GLib" "IOCondition"+ IO (Ptr Source)+++ioCreateWatch ::+ (MonadIO m) =>+ IOChannel -- channel+ -> [IOCondition] -- condition+ -> m Source -- result+ioCreateWatch channel condition = liftIO $ do+ let channel' = unsafeManagedPtrGetPtr channel+ let condition' = gflagsToWord condition+ result <- g_io_create_watch channel' condition'+ checkUnexpectedReturnNULL "g_io_create_watch" result+ result' <- (wrapBoxed Source) result+ touchManagedPtr channel+ return result'+++-- function g_io_add_watch_full+-- Args : [Arg {argCName = "channel", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "priority", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "condition", argType = TInterface "GLib" "IOCondition", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TInterface "GLib" "IOFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeNotified, argClosure = 4, argDestroy = 5, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_io_add_watch_full" g_io_add_watch_full :: + Ptr IOChannel -> -- channel : TInterface "GLib" "IOChannel"+ Int32 -> -- priority : TBasicType TInt+ CUInt -> -- condition : TInterface "GLib" "IOCondition"+ FunPtr IOFuncC -> -- func : TInterface "GLib" "IOFunc"+ Ptr () -> -- user_data : TBasicType TPtr+ FunPtr DestroyNotifyC -> -- notify : TInterface "GLib" "DestroyNotify"+ IO Word32+++ioAddWatch ::+ (MonadIO m) =>+ IOChannel -- channel+ -> Int32 -- priority+ -> [IOCondition] -- condition+ -> IOFunc -- func+ -> m Word32 -- result+ioAddWatch channel priority condition func = liftIO $ do+ let channel' = unsafeManagedPtrGetPtr channel+ let condition' = gflagsToWord condition+ func' <- mkIOFunc (iOFuncWrapper Nothing func)+ let userData = castFunPtrToPtr func'+ let notify = safeFreeFunPtrPtr+ result <- g_io_add_watch_full channel' priority condition' func' userData notify+ touchManagedPtr channel+ return result+++-- function g_intern_string+-- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_intern_string" g_intern_string :: + CString -> -- string : TBasicType TUTF8+ IO CString+++internString ::+ (MonadIO m) =>+ Maybe (T.Text) -- string+ -> m T.Text -- result+internString string = liftIO $ do+ maybeString <- case string of+ Nothing -> return nullPtr+ Just jString -> do+ jString' <- textToCString jString+ return jString'+ result <- g_intern_string maybeString+ checkUnexpectedReturnNULL "g_intern_string" result+ result' <- cstringToText result+ freeMem maybeString+ return result'+++-- function g_intern_static_string+-- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_intern_static_string" g_intern_static_string :: + CString -> -- string : TBasicType TUTF8+ IO CString+++internStaticString ::+ (MonadIO m) =>+ Maybe (T.Text) -- string+ -> m T.Text -- result+internStaticString string = liftIO $ do+ maybeString <- case string of+ Nothing -> return nullPtr+ Just jString -> do+ jString' <- textToCString jString+ return jString'+ result <- g_intern_static_string maybeString+ checkUnexpectedReturnNULL "g_intern_static_string" result+ result' <- cstringToText result+ freeMem maybeString+ return result'+++-- function g_int_hash+-- Args : [Arg {argCName = "v", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_int_hash" g_int_hash :: + Ptr () -> -- v : TBasicType TPtr+ IO Word32+++intHash ::+ (MonadIO m) =>+ Ptr () -- v+ -> m Word32 -- result+intHash v = liftIO $ do+ result <- g_int_hash v+ return result+++-- function g_int_equal+-- Args : [Arg {argCName = "v1", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "v2", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_int_equal" g_int_equal :: + Ptr () -> -- v1 : TBasicType TPtr+ Ptr () -> -- v2 : TBasicType TPtr+ IO CInt+++intEqual ::+ (MonadIO m) =>+ Ptr () -- v1+ -> Ptr () -- v2+ -> m Bool -- result+intEqual v1 v2 = liftIO $ do+ result <- g_int_equal v1 v2+ let result' = (/= 0) result+ return result'+++-- function g_int64_hash+-- Args : [Arg {argCName = "v", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_int64_hash" g_int64_hash :: + Ptr () -> -- v : TBasicType TPtr+ IO Word32+++int64Hash ::+ (MonadIO m) =>+ Ptr () -- v+ -> m Word32 -- result+int64Hash v = liftIO $ do+ result <- g_int64_hash v+ return result+++-- function g_int64_equal+-- Args : [Arg {argCName = "v1", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "v2", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_int64_equal" g_int64_equal :: + Ptr () -> -- v1 : TBasicType TPtr+ Ptr () -> -- v2 : TBasicType TPtr+ IO CInt+++int64Equal ::+ (MonadIO m) =>+ Ptr () -- v1+ -> Ptr () -- v2+ -> m Bool -- result+int64Equal v1 v2 = liftIO $ do+ result <- g_int64_equal v1 v2+ let result' = (/= 0) result+ return result'+++-- function g_idle_source_new+-- Args : []+-- Lengths : []+-- returnType : Just (TInterface "GLib" "Source")+-- throws : False+-- Skip return : False++foreign import ccall "g_idle_source_new" g_idle_source_new :: + IO (Ptr Source)+++idleSourceNew ::+ (MonadIO m) =>+ m Source -- result+idleSourceNew = liftIO $ do+ result <- g_idle_source_new+ checkUnexpectedReturnNULL "g_idle_source_new" result+ result' <- (wrapBoxed Source) result+ return result'+++-- function g_idle_remove_by_data+-- Args : [Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_idle_remove_by_data" g_idle_remove_by_data :: + Ptr () -> -- data : TBasicType TPtr+ IO CInt+++idleRemoveByData ::+ (MonadIO m) =>+ Ptr () -- data_+ -> m Bool -- result+idleRemoveByData data_ = liftIO $ do+ result <- g_idle_remove_by_data data_+ let result' = (/= 0) result+ return result'+++-- function g_idle_add_full+-- Args : [Arg {argCName = "priority", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "function", argType = TInterface "GLib" "SourceFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeNotified, argClosure = 2, argDestroy = 3, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_idle_add_full" g_idle_add_full :: + Int32 -> -- priority : TBasicType TInt+ FunPtr SourceFuncC -> -- function : TInterface "GLib" "SourceFunc"+ Ptr () -> -- data : TBasicType TPtr+ FunPtr DestroyNotifyC -> -- notify : TInterface "GLib" "DestroyNotify"+ IO Word32+++idleAdd ::+ (MonadIO m) =>+ Int32 -- priority+ -> SourceFunc -- function+ -> m Word32 -- result+idleAdd priority function = liftIO $ do+ function' <- mkSourceFunc (sourceFuncWrapper Nothing function)+ let data_ = castFunPtrToPtr function'+ let notify = safeFreeFunPtrPtr+ result <- g_idle_add_full priority function' data_ notify+ return result+++-- function g_iconv+-- Args : [Arg {argCName = "converter", argType = TInterface "GLib" "IConv", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "inbuf", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "inbytes_left", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "outbuf", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "outbytes_left", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt64)+-- throws : False+-- Skip return : False++foreign import ccall "g_iconv" g_iconv :: + Ptr IConv -> -- converter : TInterface "GLib" "IConv"+ CString -> -- inbuf : TBasicType TUTF8+ Word64 -> -- inbytes_left : TBasicType TUInt64+ CString -> -- outbuf : TBasicType TUTF8+ Word64 -> -- outbytes_left : TBasicType TUInt64+ IO Word64+++iconv ::+ (MonadIO m) =>+ IConv -- converter+ -> T.Text -- inbuf+ -> Word64 -- inbytesLeft+ -> T.Text -- outbuf+ -> Word64 -- outbytesLeft+ -> m Word64 -- result+iconv converter inbuf inbytesLeft outbuf outbytesLeft = liftIO $ do+ let converter' = unsafeManagedPtrGetPtr converter+ inbuf' <- textToCString inbuf+ outbuf' <- textToCString outbuf+ result <- g_iconv converter' inbuf' inbytesLeft outbuf' outbytesLeft+ touchManagedPtr converter+ freeMem inbuf'+ freeMem outbuf'+ return result+++-- function g_hostname_to_unicode+-- Args : [Arg {argCName = "hostname", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_hostname_to_unicode" g_hostname_to_unicode :: + CString -> -- hostname : TBasicType TUTF8+ IO CString+++hostnameToUnicode ::+ (MonadIO m) =>+ T.Text -- hostname+ -> m T.Text -- result+hostnameToUnicode hostname = liftIO $ do+ hostname' <- textToCString hostname+ result <- g_hostname_to_unicode hostname'+ checkUnexpectedReturnNULL "g_hostname_to_unicode" result+ result' <- cstringToText result+ freeMem result+ freeMem hostname'+ return result'+++-- function g_hostname_to_ascii+-- Args : [Arg {argCName = "hostname", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_hostname_to_ascii" g_hostname_to_ascii :: + CString -> -- hostname : TBasicType TUTF8+ IO CString+++hostnameToAscii ::+ (MonadIO m) =>+ T.Text -- hostname+ -> m T.Text -- result+hostnameToAscii hostname = liftIO $ do+ hostname' <- textToCString hostname+ result <- g_hostname_to_ascii hostname'+ checkUnexpectedReturnNULL "g_hostname_to_ascii" result+ result' <- cstringToText result+ freeMem result+ freeMem hostname'+ return result'+++-- function g_hostname_is_non_ascii+-- Args : [Arg {argCName = "hostname", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_hostname_is_non_ascii" g_hostname_is_non_ascii :: + CString -> -- hostname : TBasicType TUTF8+ IO CInt+++hostnameIsNonAscii ::+ (MonadIO m) =>+ T.Text -- hostname+ -> m Bool -- result+hostnameIsNonAscii hostname = liftIO $ do+ hostname' <- textToCString hostname+ result <- g_hostname_is_non_ascii hostname'+ let result' = (/= 0) result+ freeMem hostname'+ return result'+++-- function g_hostname_is_ip_address+-- Args : [Arg {argCName = "hostname", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_hostname_is_ip_address" g_hostname_is_ip_address :: + CString -> -- hostname : TBasicType TUTF8+ IO CInt+++hostnameIsIpAddress ::+ (MonadIO m) =>+ T.Text -- hostname+ -> m Bool -- result+hostnameIsIpAddress hostname = liftIO $ do+ hostname' <- textToCString hostname+ result <- g_hostname_is_ip_address hostname'+ let result' = (/= 0) result+ freeMem hostname'+ return result'+++-- function g_hostname_is_ascii_encoded+-- Args : [Arg {argCName = "hostname", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_hostname_is_ascii_encoded" g_hostname_is_ascii_encoded :: + CString -> -- hostname : TBasicType TUTF8+ IO CInt+++hostnameIsAsciiEncoded ::+ (MonadIO m) =>+ T.Text -- hostname+ -> m Bool -- result+hostnameIsAsciiEncoded hostname = liftIO $ do+ hostname' <- textToCString hostname+ result <- g_hostname_is_ascii_encoded hostname'+ let result' = (/= 0) result+ freeMem hostname'+ return result'+++-- function g_getenv+-- Args : [Arg {argCName = "variable", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_getenv" g_getenv :: + CString -> -- variable : TBasicType TUTF8+ IO CString+++getenv ::+ (MonadIO m) =>+ T.Text -- variable+ -> m T.Text -- result+getenv variable = liftIO $ do+ variable' <- textToCString variable+ result <- g_getenv variable'+ checkUnexpectedReturnNULL "g_getenv" result+ result' <- cstringToText result+ freeMem variable'+ return result'+++-- function g_get_user_special_dir+-- Args : [Arg {argCName = "directory", argType = TInterface "GLib" "UserDirectory", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_get_user_special_dir" g_get_user_special_dir :: + CUInt -> -- directory : TInterface "GLib" "UserDirectory"+ IO CString+++getUserSpecialDir ::+ (MonadIO m) =>+ UserDirectory -- directory+ -> m T.Text -- result+getUserSpecialDir directory = liftIO $ do+ let directory' = (fromIntegral . fromEnum) directory+ result <- g_get_user_special_dir directory'+ checkUnexpectedReturnNULL "g_get_user_special_dir" result+ result' <- cstringToText result+ return result'+++-- function g_get_user_runtime_dir+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_get_user_runtime_dir" g_get_user_runtime_dir :: + IO CString+++getUserRuntimeDir ::+ (MonadIO m) =>+ m T.Text -- result+getUserRuntimeDir = liftIO $ do+ result <- g_get_user_runtime_dir+ checkUnexpectedReturnNULL "g_get_user_runtime_dir" result+ result' <- cstringToText result+ return result'+++-- function g_get_user_name+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_get_user_name" g_get_user_name :: + IO CString+++getUserName ::+ (MonadIO m) =>+ m T.Text -- result+getUserName = liftIO $ do+ result <- g_get_user_name+ checkUnexpectedReturnNULL "g_get_user_name" result+ result' <- cstringToText result+ return result'+++-- function g_get_user_data_dir+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_get_user_data_dir" g_get_user_data_dir :: + IO CString+++getUserDataDir ::+ (MonadIO m) =>+ m T.Text -- result+getUserDataDir = liftIO $ do+ result <- g_get_user_data_dir+ checkUnexpectedReturnNULL "g_get_user_data_dir" result+ result' <- cstringToText result+ return result'+++-- function g_get_user_config_dir+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_get_user_config_dir" g_get_user_config_dir :: + IO CString+++getUserConfigDir ::+ (MonadIO m) =>+ m T.Text -- result+getUserConfigDir = liftIO $ do+ result <- g_get_user_config_dir+ checkUnexpectedReturnNULL "g_get_user_config_dir" result+ result' <- cstringToText result+ return result'+++-- function g_get_user_cache_dir+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_get_user_cache_dir" g_get_user_cache_dir :: + IO CString+++getUserCacheDir ::+ (MonadIO m) =>+ m T.Text -- result+getUserCacheDir = liftIO $ do+ result <- g_get_user_cache_dir+ checkUnexpectedReturnNULL "g_get_user_cache_dir" result+ result' <- cstringToText result+ return result'+++-- function g_get_tmp_dir+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_get_tmp_dir" g_get_tmp_dir :: + IO CString+++getTmpDir ::+ (MonadIO m) =>+ m T.Text -- result+getTmpDir = liftIO $ do+ result <- g_get_tmp_dir+ checkUnexpectedReturnNULL "g_get_tmp_dir" result+ result' <- cstringToText result+ return result'+++-- function g_get_system_data_dirs+-- Args : []+-- Lengths : []+-- returnType : Just (TCArray True (-1) (-1) (TBasicType TUTF8))+-- throws : False+-- Skip return : False++foreign import ccall "g_get_system_data_dirs" g_get_system_data_dirs :: + IO (Ptr CString)+++getSystemDataDirs ::+ (MonadIO m) =>+ m [T.Text] -- result+getSystemDataDirs = liftIO $ do+ result <- g_get_system_data_dirs+ checkUnexpectedReturnNULL "g_get_system_data_dirs" result+ result' <- unpackZeroTerminatedUTF8CArray result+ return result'+++-- function g_get_system_config_dirs+-- Args : []+-- Lengths : []+-- returnType : Just (TCArray True (-1) (-1) (TBasicType TUTF8))+-- throws : False+-- Skip return : False++foreign import ccall "g_get_system_config_dirs" g_get_system_config_dirs :: + IO (Ptr CString)+++getSystemConfigDirs ::+ (MonadIO m) =>+ m [T.Text] -- result+getSystemConfigDirs = liftIO $ do+ result <- g_get_system_config_dirs+ checkUnexpectedReturnNULL "g_get_system_config_dirs" result+ result' <- unpackZeroTerminatedUTF8CArray result+ return result'+++-- function g_get_real_time+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TInt64)+-- throws : False+-- Skip return : False++foreign import ccall "g_get_real_time" g_get_real_time :: + IO Int64+++getRealTime ::+ (MonadIO m) =>+ m Int64 -- result+getRealTime = liftIO $ do+ result <- g_get_real_time+ return result+++-- function g_get_real_name+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_get_real_name" g_get_real_name :: + IO CString+++getRealName ::+ (MonadIO m) =>+ m T.Text -- result+getRealName = liftIO $ do+ result <- g_get_real_name+ checkUnexpectedReturnNULL "g_get_real_name" result+ result' <- cstringToText result+ return result'+++-- function g_get_prgname+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_get_prgname" g_get_prgname :: + IO CString+++getPrgname ::+ (MonadIO m) =>+ m T.Text -- result+getPrgname = liftIO $ do+ result <- g_get_prgname+ checkUnexpectedReturnNULL "g_get_prgname" result+ result' <- cstringToText result+ return result'+++-- function g_get_num_processors+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_get_num_processors" g_get_num_processors :: + IO Word32+++getNumProcessors ::+ (MonadIO m) =>+ m Word32 -- result+getNumProcessors = liftIO $ do+ result <- g_get_num_processors+ return result+++-- function g_get_monotonic_time+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TInt64)+-- throws : False+-- Skip return : False++foreign import ccall "g_get_monotonic_time" g_get_monotonic_time :: + IO Int64+++getMonotonicTime ::+ (MonadIO m) =>+ m Int64 -- result+getMonotonicTime = liftIO $ do+ result <- g_get_monotonic_time+ return result+++-- function g_get_locale_variants+-- Args : [Arg {argCName = "locale", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TCArray True (-1) (-1) (TBasicType TUTF8))+-- throws : False+-- Skip return : False++foreign import ccall "g_get_locale_variants" g_get_locale_variants :: + CString -> -- locale : TBasicType TUTF8+ IO (Ptr CString)+++getLocaleVariants ::+ (MonadIO m) =>+ T.Text -- locale+ -> m [T.Text] -- result+getLocaleVariants locale = liftIO $ do+ locale' <- textToCString locale+ result <- g_get_locale_variants locale'+ checkUnexpectedReturnNULL "g_get_locale_variants" result+ result' <- unpackZeroTerminatedUTF8CArray result+ mapZeroTerminatedCArray freeMem result+ freeMem result+ freeMem locale'+ return result'+++-- function g_get_language_names+-- Args : []+-- Lengths : []+-- returnType : Just (TCArray True (-1) (-1) (TBasicType TUTF8))+-- throws : False+-- Skip return : False++foreign import ccall "g_get_language_names" g_get_language_names :: + IO (Ptr CString)+++getLanguageNames ::+ (MonadIO m) =>+ m [T.Text] -- result+getLanguageNames = liftIO $ do+ result <- g_get_language_names+ checkUnexpectedReturnNULL "g_get_language_names" result+ result' <- unpackZeroTerminatedUTF8CArray result+ return result'+++-- function g_get_host_name+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_get_host_name" g_get_host_name :: + IO CString+++getHostName ::+ (MonadIO m) =>+ m T.Text -- result+getHostName = liftIO $ do+ result <- g_get_host_name+ checkUnexpectedReturnNULL "g_get_host_name" result+ result' <- cstringToText result+ return result'+++-- function g_get_home_dir+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_get_home_dir" g_get_home_dir :: + IO CString+++getHomeDir ::+ (MonadIO m) =>+ m T.Text -- result+getHomeDir = liftIO $ do+ result <- g_get_home_dir+ checkUnexpectedReturnNULL "g_get_home_dir" result+ result' <- cstringToText result+ return result'+++-- function g_get_filename_charsets+-- Args : [Arg {argCName = "charsets", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_get_filename_charsets" g_get_filename_charsets :: + CString -> -- charsets : TBasicType TUTF8+ IO CInt+++getFilenameCharsets ::+ (MonadIO m) =>+ T.Text -- charsets+ -> m Bool -- result+getFilenameCharsets charsets = liftIO $ do+ charsets' <- textToCString charsets+ result <- g_get_filename_charsets charsets'+ let result' = (/= 0) result+ freeMem charsets'+ return result'+++-- function g_get_environ+-- Args : []+-- Lengths : []+-- returnType : Just (TCArray True (-1) (-1) (TBasicType TUTF8))+-- throws : False+-- Skip return : False++foreign import ccall "g_get_environ" g_get_environ :: + IO (Ptr CString)+++getEnviron ::+ (MonadIO m) =>+ m [T.Text] -- result+getEnviron = liftIO $ do+ result <- g_get_environ+ checkUnexpectedReturnNULL "g_get_environ" result+ result' <- unpackZeroTerminatedUTF8CArray result+ mapZeroTerminatedCArray freeMem result+ freeMem result+ return result'+++-- function g_get_current_time+-- Args : [Arg {argCName = "result", argType = TInterface "GLib" "TimeVal", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_get_current_time" g_get_current_time :: + Ptr TimeVal -> -- result : TInterface "GLib" "TimeVal"+ IO ()+++getCurrentTime ::+ (MonadIO m) =>+ TimeVal -- result_+ -> m () -- result+getCurrentTime result_ = liftIO $ do+ let result_' = unsafeManagedPtrGetPtr result_+ g_get_current_time result_'+ touchManagedPtr result_+ return ()+++-- function g_get_current_dir+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_get_current_dir" g_get_current_dir :: + IO CString+++getCurrentDir ::+ (MonadIO m) =>+ m T.Text -- result+getCurrentDir = liftIO $ do+ result <- g_get_current_dir+ checkUnexpectedReturnNULL "g_get_current_dir" result+ result' <- cstringToText result+ freeMem result+ return result'+++-- function g_get_codeset+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_get_codeset" g_get_codeset :: + IO CString+++getCodeset ::+ (MonadIO m) =>+ m T.Text -- result+getCodeset = liftIO $ do+ result <- g_get_codeset+ checkUnexpectedReturnNULL "g_get_codeset" result+ result' <- cstringToText result+ freeMem result+ return result'+++-- function g_get_charset+-- Args : [Arg {argCName = "charset", argType = TBasicType TUTF8, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_get_charset" g_get_charset :: + Ptr CString -> -- charset : TBasicType TUTF8+ IO CInt+++getCharset ::+ (MonadIO m) =>+ m (Bool,T.Text) -- result+getCharset = liftIO $ do+ charset <- allocMem :: IO (Ptr CString)+ result <- g_get_charset charset+ let result' = (/= 0) result+ charset' <- peek charset+ charset'' <- cstringToText charset'+ freeMem charset+ return (result', charset'')+++-- function g_get_application_name+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_get_application_name" g_get_application_name :: + IO CString+++getApplicationName ::+ (MonadIO m) =>+ m T.Text -- result+getApplicationName = liftIO $ do+ result <- g_get_application_name+ checkUnexpectedReturnNULL "g_get_application_name" result+ result' <- cstringToText result+ return result'+++-- function g_free+-- Args : [Arg {argCName = "mem", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_free" g_free :: + Ptr () -> -- mem : TBasicType TPtr+ IO ()+++free ::+ (MonadIO m) =>+ Ptr () -- mem+ -> m () -- result+free mem = liftIO $ do+ g_free mem+ return ()+++-- function g_format_size_full+-- Args : [Arg {argCName = "size", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TInterface "GLib" "FormatSizeFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_format_size_full" g_format_size_full :: + Word64 -> -- size : TBasicType TUInt64+ CUInt -> -- flags : TInterface "GLib" "FormatSizeFlags"+ IO CString+++formatSizeFull ::+ (MonadIO m) =>+ Word64 -- size+ -> [FormatSizeFlags] -- flags+ -> m T.Text -- result+formatSizeFull size flags = liftIO $ do+ let flags' = gflagsToWord flags+ result <- g_format_size_full size flags'+ checkUnexpectedReturnNULL "g_format_size_full" result+ result' <- cstringToText result+ freeMem result+ return result'+++-- function g_format_size_for_display+-- Args : [Arg {argCName = "size", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_format_size_for_display" g_format_size_for_display :: + Int64 -> -- size : TBasicType TInt64+ IO CString++{-# DEPRECATED formatSizeForDisplay ["(Since version 2.30)","This function is broken due to its use of SI"," suffixes to denote IEC units. Use g_format_size() instead."]#-}+formatSizeForDisplay ::+ (MonadIO m) =>+ Int64 -- size+ -> m T.Text -- result+formatSizeForDisplay size = liftIO $ do+ result <- g_format_size_for_display size+ checkUnexpectedReturnNULL "g_format_size_for_display" result+ result' <- cstringToText result+ freeMem result+ return result'+++-- function g_format_size+-- Args : [Arg {argCName = "size", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_format_size" g_format_size :: + Word64 -> -- size : TBasicType TUInt64+ IO CString+++formatSize ::+ (MonadIO m) =>+ Word64 -- size+ -> m T.Text -- result+formatSize size = liftIO $ do+ result <- g_format_size size+ checkUnexpectedReturnNULL "g_format_size" result+ result' <- cstringToText result+ freeMem result+ return result'+++-- function g_find_program_in_path+-- Args : [Arg {argCName = "program", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_find_program_in_path" g_find_program_in_path :: + CString -> -- program : TBasicType TUTF8+ IO CString+++findProgramInPath ::+ (MonadIO m) =>+ T.Text -- program+ -> m T.Text -- result+findProgramInPath program = liftIO $ do+ program' <- textToCString program+ result <- g_find_program_in_path program'+ checkUnexpectedReturnNULL "g_find_program_in_path" result+ result' <- cstringToText result+ freeMem result+ freeMem program'+ return result'+++-- function g_filename_to_utf8+-- Args : [Arg {argCName = "opsysstring", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_read", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_written", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : True+-- Skip return : False++foreign import ccall "g_filename_to_utf8" g_filename_to_utf8 :: + CString -> -- opsysstring : TBasicType TUTF8+ Int64 -> -- len : TBasicType TInt64+ Word64 -> -- bytes_read : TBasicType TUInt64+ Word64 -> -- bytes_written : TBasicType TUInt64+ Ptr (Ptr GError) -> -- error+ IO CString+++filenameToUtf8 ::+ (MonadIO m) =>+ T.Text -- opsysstring+ -> Int64 -- len+ -> Word64 -- bytesRead+ -> Word64 -- bytesWritten+ -> m T.Text -- result+filenameToUtf8 opsysstring len bytesRead bytesWritten = liftIO $ do+ opsysstring' <- textToCString opsysstring+ onException (do+ result <- propagateGError $ g_filename_to_utf8 opsysstring' len bytesRead bytesWritten+ checkUnexpectedReturnNULL "g_filename_to_utf8" result+ result' <- cstringToText result+ freeMem result+ freeMem opsysstring'+ return result'+ ) (do+ freeMem opsysstring'+ )+++-- function g_filename_to_uri+-- Args : [Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hostname", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : True+-- Skip return : False++foreign import ccall "g_filename_to_uri" g_filename_to_uri :: + CString -> -- filename : TBasicType TUTF8+ CString -> -- hostname : TBasicType TUTF8+ Ptr (Ptr GError) -> -- error+ IO CString+++filenameToUri ::+ (MonadIO m) =>+ T.Text -- filename+ -> Maybe (T.Text) -- hostname+ -> m T.Text -- result+filenameToUri filename hostname = liftIO $ do+ filename' <- textToCString filename+ maybeHostname <- case hostname of+ Nothing -> return nullPtr+ Just jHostname -> do+ jHostname' <- textToCString jHostname+ return jHostname'+ onException (do+ result <- propagateGError $ g_filename_to_uri filename' maybeHostname+ checkUnexpectedReturnNULL "g_filename_to_uri" result+ result' <- cstringToText result+ freeMem result+ freeMem filename'+ freeMem maybeHostname+ return result'+ ) (do+ freeMem filename'+ freeMem maybeHostname+ )+++-- function g_filename_from_utf8+-- Args : [Arg {argCName = "utf8string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_read", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "bytes_written", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- Lengths : [Arg {argCName = "bytes_written", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- returnType : Just (TCArray False (-1) 3 (TBasicType TUInt8))+-- throws : True+-- Skip return : False++foreign import ccall "g_filename_from_utf8" g_filename_from_utf8 :: + CString -> -- utf8string : TBasicType TUTF8+ Int64 -> -- len : TBasicType TInt64+ Ptr Word64 -> -- bytes_read : TBasicType TUInt64+ Ptr Word64 -> -- bytes_written : TBasicType TUInt64+ Ptr (Ptr GError) -> -- error+ IO (Ptr Word8)+++filenameFromUtf8 ::+ (MonadIO m) =>+ T.Text -- utf8string+ -> Int64 -- len+ -> m (ByteString,Word64) -- result+filenameFromUtf8 utf8string len = liftIO $ do+ utf8string' <- textToCString utf8string+ bytesRead <- allocMem :: IO (Ptr Word64)+ bytesWritten <- allocMem :: IO (Ptr Word64)+ onException (do+ result <- propagateGError $ g_filename_from_utf8 utf8string' len bytesRead bytesWritten+ bytesWritten' <- peek bytesWritten+ checkUnexpectedReturnNULL "g_filename_from_utf8" result+ result' <- (unpackByteStringWithLength bytesWritten') result+ freeMem result+ bytesRead' <- peek bytesRead+ freeMem utf8string'+ freeMem bytesRead+ freeMem bytesWritten+ return (result', bytesRead')+ ) (do+ freeMem utf8string'+ freeMem bytesRead+ freeMem bytesWritten+ )+++-- function g_filename_from_uri+-- Args : [Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hostname", argType = TBasicType TUTF8, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- Lengths : []+-- returnType : Just (TBasicType TFileName)+-- throws : True+-- Skip return : False++foreign import ccall "g_filename_from_uri" g_filename_from_uri :: + CString -> -- uri : TBasicType TUTF8+ Ptr CString -> -- hostname : TBasicType TUTF8+ Ptr (Ptr GError) -> -- error+ IO CString+++filenameFromUri ::+ (MonadIO m) =>+ T.Text -- uri+ -> m ([Char],T.Text) -- result+filenameFromUri uri = liftIO $ do+ uri' <- textToCString uri+ hostname <- allocMem :: IO (Ptr CString)+ onException (do+ result <- propagateGError $ g_filename_from_uri uri' hostname+ checkUnexpectedReturnNULL "g_filename_from_uri" result+ result' <- cstringToString result+ freeMem result+ hostname' <- peek hostname+ hostname'' <- cstringToText hostname'+ freeMem hostname'+ freeMem uri'+ freeMem hostname+ return (result', hostname'')+ ) (do+ freeMem uri'+ freeMem hostname+ )+++-- function g_filename_display_name+-- Args : [Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_filename_display_name" g_filename_display_name :: + CString -> -- filename : TBasicType TUTF8+ IO CString+++filenameDisplayName ::+ (MonadIO m) =>+ T.Text -- filename+ -> m T.Text -- result+filenameDisplayName filename = liftIO $ do+ filename' <- textToCString filename+ result <- g_filename_display_name filename'+ checkUnexpectedReturnNULL "g_filename_display_name" result+ result' <- cstringToText result+ freeMem result+ freeMem filename'+ return result'+++-- function g_filename_display_basename+-- Args : [Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_filename_display_basename" g_filename_display_basename :: + CString -> -- filename : TBasicType TUTF8+ IO CString+++filenameDisplayBasename ::+ (MonadIO m) =>+ T.Text -- filename+ -> m T.Text -- result+filenameDisplayBasename filename = liftIO $ do+ filename' <- textToCString filename+ result <- g_filename_display_basename filename'+ checkUnexpectedReturnNULL "g_filename_display_basename" result+ result' <- cstringToText result+ freeMem result+ freeMem filename'+ return result'+++-- function g_file_test+-- Args : [Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "test", argType = TInterface "GLib" "FileTest", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_file_test" g_file_test :: + CString -> -- filename : TBasicType TUTF8+ CUInt -> -- test : TInterface "GLib" "FileTest"+ IO CInt+++fileTest ::+ (MonadIO m) =>+ T.Text -- filename+ -> [FileTest] -- test+ -> m Bool -- result+fileTest filename test = liftIO $ do+ filename' <- textToCString filename+ let test' = gflagsToWord test+ result <- g_file_test filename' test'+ let result' = (/= 0) result+ freeMem filename'+ return result'+++-- function g_file_set_contents+-- Args : [Arg {argCName = "filename", argType = TBasicType TFileName, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "contents", argType = TCArray False (-1) 2 (TBasicType TUInt8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : [Arg {argCName = "length", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- returnType : Just (TBasicType TBoolean)+-- throws : True+-- Skip return : False++foreign import ccall "g_file_set_contents" g_file_set_contents :: + CString -> -- filename : TBasicType TFileName+ Ptr Word8 -> -- contents : TCArray False (-1) 2 (TBasicType TUInt8)+ Int64 -> -- length : TBasicType TInt64+ Ptr (Ptr GError) -> -- error+ IO CInt+++fileSetContents ::+ (MonadIO m) =>+ [Char] -- filename+ -> ByteString -- contents+ -> m () -- result+fileSetContents filename contents = liftIO $ do+ let length_ = fromIntegral $ B.length contents+ filename' <- stringToCString filename+ contents' <- packByteString contents+ onException (do+ _ <- propagateGError $ g_file_set_contents filename' contents' length_+ freeMem filename'+ freeMem contents'+ return ()+ ) (do+ freeMem filename'+ freeMem contents'+ )+++-- function g_file_read_link+-- Args : [Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : True+-- Skip return : False++foreign import ccall "g_file_read_link" g_file_read_link :: + CString -> -- filename : TBasicType TUTF8+ Ptr (Ptr GError) -> -- error+ IO CString+++fileReadLink ::+ (MonadIO m) =>+ T.Text -- filename+ -> m T.Text -- result+fileReadLink filename = liftIO $ do+ filename' <- textToCString filename+ onException (do+ result <- propagateGError $ g_file_read_link filename'+ checkUnexpectedReturnNULL "g_file_read_link" result+ result' <- cstringToText result+ freeMem result+ freeMem filename'+ return result'+ ) (do+ freeMem filename'+ )+++-- function g_file_open_tmp+-- Args : [Arg {argCName = "tmpl", argType = TBasicType TFileName, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "name_used", argType = TBasicType TFileName, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : True+-- Skip return : False++foreign import ccall "g_file_open_tmp" g_file_open_tmp :: + CString -> -- tmpl : TBasicType TFileName+ Ptr CString -> -- name_used : TBasicType TFileName+ Ptr (Ptr GError) -> -- error+ IO Int32+++fileOpenTmp ::+ (MonadIO m) =>+ Maybe ([Char]) -- tmpl+ -> m (Int32,[Char]) -- result+fileOpenTmp tmpl = liftIO $ do+ maybeTmpl <- case tmpl of+ Nothing -> return nullPtr+ Just jTmpl -> do+ jTmpl' <- stringToCString jTmpl+ return jTmpl'+ nameUsed <- allocMem :: IO (Ptr CString)+ onException (do+ result <- propagateGError $ g_file_open_tmp maybeTmpl nameUsed+ nameUsed' <- peek nameUsed+ nameUsed'' <- cstringToString nameUsed'+ freeMem nameUsed'+ freeMem maybeTmpl+ freeMem nameUsed+ return (result, nameUsed'')+ ) (do+ freeMem maybeTmpl+ freeMem nameUsed+ )+++-- function g_file_get_contents+-- Args : [Arg {argCName = "filename", argType = TBasicType TFileName, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "contents", argType = TCArray False (-1) 2 (TBasicType TUInt8), direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- Lengths : [Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- returnType : Just (TBasicType TBoolean)+-- throws : True+-- Skip return : False++foreign import ccall "g_file_get_contents" g_file_get_contents :: + CString -> -- filename : TBasicType TFileName+ Ptr (Ptr Word8) -> -- contents : TCArray False (-1) 2 (TBasicType TUInt8)+ Ptr Word64 -> -- length : TBasicType TUInt64+ Ptr (Ptr GError) -> -- error+ IO CInt+++fileGetContents ::+ (MonadIO m) =>+ [Char] -- filename+ -> m (ByteString) -- result+fileGetContents filename = liftIO $ do+ filename' <- stringToCString filename+ contents <- allocMem :: IO (Ptr (Ptr Word8))+ length_ <- allocMem :: IO (Ptr Word64)+ onException (do+ _ <- propagateGError $ g_file_get_contents filename' contents length_+ length_' <- peek length_+ contents' <- peek contents+ contents'' <- (unpackByteStringWithLength length_') contents'+ freeMem contents'+ freeMem filename'+ freeMem contents+ freeMem length_+ return contents''+ ) (do+ freeMem filename'+ freeMem contents+ freeMem length_+ )+++-- function g_file_error_quark+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUInt32)+-- throws : False+-- Skip return : False++foreign import ccall "g_file_error_quark" g_file_error_quark :: + IO Word32+++fileErrorQuark ::+ (MonadIO m) =>+ m Word32 -- result+fileErrorQuark = liftIO $ do+ result <- g_file_error_quark+ return result+++-- function g_file_error_from_errno+-- Args : [Arg {argCName = "err_no", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TInterface "GLib" "FileError")+-- throws : False+-- Skip return : False++foreign import ccall "g_file_error_from_errno" g_file_error_from_errno :: + Int32 -> -- err_no : TBasicType TInt+ IO CUInt+++fileErrorFromErrno ::+ (MonadIO m) =>+ Int32 -- errNo+ -> m FileError -- result+fileErrorFromErrno errNo = liftIO $ do+ result <- g_file_error_from_errno errNo+ let result' = (toEnum . fromIntegral) result+ return result'+++-- function g_environ_unsetenv+-- Args : [Arg {argCName = "envp", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "variable", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TCArray True (-1) (-1) (TBasicType TUTF8))+-- throws : False+-- Skip return : False++foreign import ccall "g_environ_unsetenv" g_environ_unsetenv :: + Ptr CString -> -- envp : TCArray True (-1) (-1) (TBasicType TUTF8)+ CString -> -- variable : TBasicType TUTF8+ IO (Ptr CString)+++environUnsetenv ::+ (MonadIO m) =>+ Maybe ([T.Text]) -- envp+ -> T.Text -- variable+ -> m [T.Text] -- result+environUnsetenv envp variable = liftIO $ do+ maybeEnvp <- case envp of+ Nothing -> return nullPtr+ Just jEnvp -> do+ jEnvp' <- packZeroTerminatedUTF8CArray jEnvp+ return jEnvp'+ variable' <- textToCString variable+ result <- g_environ_unsetenv maybeEnvp variable'+ checkUnexpectedReturnNULL "g_environ_unsetenv" result+ result' <- unpackZeroTerminatedUTF8CArray result+ mapZeroTerminatedCArray freeMem result+ freeMem result+ freeMem variable'+ return result'+++-- function g_environ_setenv+-- Args : [Arg {argCName = "envp", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "variable", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "overwrite", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TCArray True (-1) (-1) (TBasicType TUTF8))+-- throws : False+-- Skip return : False++foreign import ccall "g_environ_setenv" g_environ_setenv :: + Ptr CString -> -- envp : TCArray True (-1) (-1) (TBasicType TUTF8)+ CString -> -- variable : TBasicType TUTF8+ CString -> -- value : TBasicType TUTF8+ CInt -> -- overwrite : TBasicType TBoolean+ IO (Ptr CString)+++environSetenv ::+ (MonadIO m) =>+ Maybe ([T.Text]) -- envp+ -> T.Text -- variable+ -> T.Text -- value+ -> Bool -- overwrite+ -> m [T.Text] -- result+environSetenv envp variable value overwrite = liftIO $ do+ maybeEnvp <- case envp of+ Nothing -> return nullPtr+ Just jEnvp -> do+ jEnvp' <- packZeroTerminatedUTF8CArray jEnvp+ return jEnvp'+ variable' <- textToCString variable+ value' <- textToCString value+ let overwrite' = (fromIntegral . fromEnum) overwrite+ result <- g_environ_setenv maybeEnvp variable' value' overwrite'+ checkUnexpectedReturnNULL "g_environ_setenv" result+ result' <- unpackZeroTerminatedUTF8CArray result+ mapZeroTerminatedCArray freeMem result+ freeMem result+ freeMem variable'+ freeMem value'+ return result'+++-- function g_environ_getenv+-- Args : [Arg {argCName = "envp", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "variable", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_environ_getenv" g_environ_getenv :: + Ptr CString -> -- envp : TCArray True (-1) (-1) (TBasicType TUTF8)+ CString -> -- variable : TBasicType TUTF8+ IO CString+++environGetenv ::+ (MonadIO m) =>+ Maybe ([T.Text]) -- envp+ -> T.Text -- variable+ -> m T.Text -- result+environGetenv envp variable = liftIO $ do+ maybeEnvp <- case envp of+ Nothing -> return nullPtr+ Just jEnvp -> do+ jEnvp' <- packZeroTerminatedUTF8CArray jEnvp+ return jEnvp'+ variable' <- textToCString variable+ result <- g_environ_getenv maybeEnvp variable'+ checkUnexpectedReturnNULL "g_environ_getenv" result+ result' <- cstringToText result+ mapZeroTerminatedCArray freeMem maybeEnvp+ freeMem maybeEnvp+ freeMem variable'+ return result'+++-- function g_dpgettext2+-- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "context", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "msgid", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_dpgettext2" g_dpgettext2 :: + CString -> -- domain : TBasicType TUTF8+ CString -> -- context : TBasicType TUTF8+ CString -> -- msgid : TBasicType TUTF8+ IO CString+++dpgettext2 ::+ (MonadIO m) =>+ Maybe (T.Text) -- domain+ -> T.Text -- context+ -> T.Text -- msgid+ -> m T.Text -- result+dpgettext2 domain context msgid = liftIO $ do+ maybeDomain <- case domain of+ Nothing -> return nullPtr+ Just jDomain -> do+ jDomain' <- textToCString jDomain+ return jDomain'+ context' <- textToCString context+ msgid' <- textToCString msgid+ result <- g_dpgettext2 maybeDomain context' msgid'+ checkUnexpectedReturnNULL "g_dpgettext2" result+ result' <- cstringToText result+ freeMem maybeDomain+ freeMem context'+ freeMem msgid'+ return result'+++-- function g_dpgettext+-- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "msgctxtid", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "msgidoffset", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_dpgettext" g_dpgettext :: + CString -> -- domain : TBasicType TUTF8+ CString -> -- msgctxtid : TBasicType TUTF8+ Word64 -> -- msgidoffset : TBasicType TUInt64+ IO CString+++dpgettext ::+ (MonadIO m) =>+ Maybe (T.Text) -- domain+ -> T.Text -- msgctxtid+ -> Word64 -- msgidoffset+ -> m T.Text -- result+dpgettext domain msgctxtid msgidoffset = liftIO $ do+ maybeDomain <- case domain of+ Nothing -> return nullPtr+ Just jDomain -> do+ jDomain' <- textToCString jDomain+ return jDomain'+ msgctxtid' <- textToCString msgctxtid+ result <- g_dpgettext maybeDomain msgctxtid' msgidoffset+ checkUnexpectedReturnNULL "g_dpgettext" result+ result' <- cstringToText result+ freeMem maybeDomain+ freeMem msgctxtid'+ return result'+++-- function g_double_hash+-- Args : [Arg {argCName = "v", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_double_hash" g_double_hash :: + Ptr () -> -- v : TBasicType TPtr+ IO Word32+++doubleHash ::+ (MonadIO m) =>+ Ptr () -- v+ -> m Word32 -- result+doubleHash v = liftIO $ do+ result <- g_double_hash v+ return result+++-- function g_double_equal+-- Args : [Arg {argCName = "v1", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "v2", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_double_equal" g_double_equal :: + Ptr () -> -- v1 : TBasicType TPtr+ Ptr () -> -- v2 : TBasicType TPtr+ IO CInt+++doubleEqual ::+ (MonadIO m) =>+ Ptr () -- v1+ -> Ptr () -- v2+ -> m Bool -- result+doubleEqual v1 v2 = liftIO $ do+ result <- g_double_equal v1 v2+ let result' = (/= 0) result+ return result'+++-- function g_dngettext+-- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "msgid", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "msgid_plural", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n", argType = TBasicType TULong, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_dngettext" g_dngettext :: + CString -> -- domain : TBasicType TUTF8+ CString -> -- msgid : TBasicType TUTF8+ CString -> -- msgid_plural : TBasicType TUTF8+ CULong -> -- n : TBasicType TULong+ IO CString+++dngettext ::+ (MonadIO m) =>+ Maybe (T.Text) -- domain+ -> T.Text -- msgid+ -> T.Text -- msgidPlural+ -> CULong -- n+ -> m T.Text -- result+dngettext domain msgid msgidPlural n = liftIO $ do+ maybeDomain <- case domain of+ Nothing -> return nullPtr+ Just jDomain -> do+ jDomain' <- textToCString jDomain+ return jDomain'+ msgid' <- textToCString msgid+ msgidPlural' <- textToCString msgidPlural+ result <- g_dngettext maybeDomain msgid' msgidPlural' n+ checkUnexpectedReturnNULL "g_dngettext" result+ result' <- cstringToText result+ freeMem maybeDomain+ freeMem msgid'+ freeMem msgidPlural'+ return result'+++-- function g_direct_hash+-- Args : [Arg {argCName = "v", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_direct_hash" g_direct_hash :: + Ptr () -> -- v : TBasicType TPtr+ IO Word32+++directHash ::+ (MonadIO m) =>+ Ptr () -- v+ -> m Word32 -- result+directHash v = liftIO $ do+ result <- g_direct_hash v+ return result+++-- function g_direct_equal+-- Args : [Arg {argCName = "v1", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "v2", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_direct_equal" g_direct_equal :: + Ptr () -> -- v1 : TBasicType TPtr+ Ptr () -> -- v2 : TBasicType TPtr+ IO CInt+++directEqual ::+ (MonadIO m) =>+ Ptr () -- v1+ -> Ptr () -- v2+ -> m Bool -- result+directEqual v1 v2 = liftIO $ do+ result <- g_direct_equal v1 v2+ let result' = (/= 0) result+ return result'+++-- function g_dgettext+-- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "msgid", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_dgettext" g_dgettext :: + CString -> -- domain : TBasicType TUTF8+ CString -> -- msgid : TBasicType TUTF8+ IO CString+++dgettext ::+ (MonadIO m) =>+ Maybe (T.Text) -- domain+ -> T.Text -- msgid+ -> m T.Text -- result+dgettext domain msgid = liftIO $ do+ maybeDomain <- case domain of+ Nothing -> return nullPtr+ Just jDomain -> do+ jDomain' <- textToCString jDomain+ return jDomain'+ msgid' <- textToCString msgid+ result <- g_dgettext maybeDomain msgid'+ checkUnexpectedReturnNULL "g_dgettext" result+ result' <- cstringToText result+ freeMem maybeDomain+ freeMem msgid'+ return result'+++-- function g_dcgettext+-- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "msgid", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "category", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_dcgettext" g_dcgettext :: + CString -> -- domain : TBasicType TUTF8+ CString -> -- msgid : TBasicType TUTF8+ Int32 -> -- category : TBasicType TInt+ IO CString+++dcgettext ::+ (MonadIO m) =>+ Maybe (T.Text) -- domain+ -> T.Text -- msgid+ -> Int32 -- category+ -> m T.Text -- result+dcgettext domain msgid category = liftIO $ do+ maybeDomain <- case domain of+ Nothing -> return nullPtr+ Just jDomain -> do+ jDomain' <- textToCString jDomain+ return jDomain'+ msgid' <- textToCString msgid+ result <- g_dcgettext maybeDomain msgid' category+ checkUnexpectedReturnNULL "g_dcgettext" result+ result' <- cstringToText result+ freeMem maybeDomain+ freeMem msgid'+ return result'+++-- function g_dataset_id_set_data_full+-- Args : [Arg {argCName = "dataset_location", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key_id", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "destroy_func", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_dataset_id_set_data_full" g_dataset_id_set_data_full :: + Ptr () -> -- dataset_location : TBasicType TPtr+ Word32 -> -- key_id : TBasicType TUInt32+ Ptr () -> -- data : TBasicType TPtr+ FunPtr DestroyNotifyC -> -- destroy_func : TInterface "GLib" "DestroyNotify"+ IO ()+++datasetIdSetDataFull ::+ (MonadIO m) =>+ Ptr () -- datasetLocation+ -> Word32 -- keyId+ -> Ptr () -- data_+ -> DestroyNotify -- destroyFunc+ -> m () -- result+datasetIdSetDataFull datasetLocation keyId data_ destroyFunc = liftIO $ do+ ptrdestroyFunc <- callocMem :: IO (Ptr (FunPtr DestroyNotifyC))+ destroyFunc' <- mkDestroyNotify (destroyNotifyWrapper (Just ptrdestroyFunc) destroyFunc)+ poke ptrdestroyFunc destroyFunc'+ g_dataset_id_set_data_full datasetLocation keyId data_ destroyFunc'+ return ()+++-- function g_dataset_destroy+-- Args : [Arg {argCName = "dataset_location", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_dataset_destroy" g_dataset_destroy :: + Ptr () -> -- dataset_location : TBasicType TPtr+ IO ()+++datasetDestroy ::+ (MonadIO m) =>+ Ptr () -- datasetLocation+ -> m () -- result+datasetDestroy datasetLocation = liftIO $ do+ g_dataset_destroy datasetLocation+ return ()+++-- function g_datalist_unset_flags+-- Args : [Arg {argCName = "datalist", argType = TInterface "GLib" "Data", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_datalist_unset_flags" g_datalist_unset_flags :: + Ptr Data -> -- datalist : TInterface "GLib" "Data"+ Word32 -> -- flags : TBasicType TUInt+ IO ()+++datalistUnsetFlags ::+ (MonadIO m) =>+ Data -- datalist+ -> Word32 -- flags+ -> m () -- result+datalistUnsetFlags datalist flags = liftIO $ do+ let datalist' = unsafeManagedPtrGetPtr datalist+ g_datalist_unset_flags datalist' flags+ touchManagedPtr datalist+ return ()+++-- function g_datalist_set_flags+-- Args : [Arg {argCName = "datalist", argType = TInterface "GLib" "Data", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_datalist_set_flags" g_datalist_set_flags :: + Ptr Data -> -- datalist : TInterface "GLib" "Data"+ Word32 -> -- flags : TBasicType TUInt+ IO ()+++datalistSetFlags ::+ (MonadIO m) =>+ Data -- datalist+ -> Word32 -- flags+ -> m () -- result+datalistSetFlags datalist flags = liftIO $ do+ let datalist' = unsafeManagedPtrGetPtr datalist+ g_datalist_set_flags datalist' flags+ touchManagedPtr datalist+ return ()+++-- function g_datalist_init+-- Args : [Arg {argCName = "datalist", argType = TInterface "GLib" "Data", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_datalist_init" g_datalist_init :: + Ptr Data -> -- datalist : TInterface "GLib" "Data"+ IO ()+++datalistInit ::+ (MonadIO m) =>+ Data -- datalist+ -> m () -- result+datalistInit datalist = liftIO $ do+ let datalist' = unsafeManagedPtrGetPtr datalist+ g_datalist_init datalist'+ touchManagedPtr datalist+ return ()+++-- function g_datalist_id_set_data_full+-- Args : [Arg {argCName = "datalist", argType = TInterface "GLib" "Data", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key_id", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "destroy_func", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_datalist_id_set_data_full" g_datalist_id_set_data_full :: + Ptr Data -> -- datalist : TInterface "GLib" "Data"+ Word32 -> -- key_id : TBasicType TUInt32+ Ptr () -> -- data : TBasicType TPtr+ FunPtr DestroyNotifyC -> -- destroy_func : TInterface "GLib" "DestroyNotify"+ IO ()+++datalistIdSetDataFull ::+ (MonadIO m) =>+ Data -- datalist+ -> Word32 -- keyId+ -> Ptr () -- data_+ -> DestroyNotify -- destroyFunc+ -> m () -- result+datalistIdSetDataFull datalist keyId data_ destroyFunc = liftIO $ do+ let datalist' = unsafeManagedPtrGetPtr datalist+ ptrdestroyFunc <- callocMem :: IO (Ptr (FunPtr DestroyNotifyC))+ destroyFunc' <- mkDestroyNotify (destroyNotifyWrapper (Just ptrdestroyFunc) destroyFunc)+ poke ptrdestroyFunc destroyFunc'+ g_datalist_id_set_data_full datalist' keyId data_ destroyFunc'+ touchManagedPtr datalist+ return ()+++-- function g_datalist_id_replace_data+-- Args : [Arg {argCName = "datalist", argType = TInterface "GLib" "Data", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key_id", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "oldval", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "newval", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "destroy", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "old_destroy", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_datalist_id_replace_data" g_datalist_id_replace_data :: + Ptr Data -> -- datalist : TInterface "GLib" "Data"+ Word32 -> -- key_id : TBasicType TUInt32+ Ptr () -> -- oldval : TBasicType TPtr+ Ptr () -> -- newval : TBasicType TPtr+ FunPtr DestroyNotifyC -> -- destroy : TInterface "GLib" "DestroyNotify"+ FunPtr DestroyNotifyC -> -- old_destroy : TInterface "GLib" "DestroyNotify"+ IO CInt+++datalistIdReplaceData ::+ (MonadIO m) =>+ Data -- datalist+ -> Word32 -- keyId+ -> Ptr () -- oldval+ -> Ptr () -- newval+ -> Maybe (DestroyNotify) -- destroy+ -> Maybe (DestroyNotify) -- oldDestroy+ -> m Bool -- result+datalistIdReplaceData datalist keyId oldval newval destroy oldDestroy = liftIO $ do+ let datalist' = unsafeManagedPtrGetPtr datalist+ ptrdestroy <- callocMem :: IO (Ptr (FunPtr DestroyNotifyC))+ maybeDestroy <- case destroy of+ Nothing -> return (castPtrToFunPtr nullPtr)+ Just jDestroy -> do+ jDestroy' <- mkDestroyNotify (destroyNotifyWrapper (Just ptrdestroy) jDestroy)+ poke ptrdestroy jDestroy'+ return jDestroy'+ ptroldDestroy <- callocMem :: IO (Ptr (FunPtr DestroyNotifyC))+ maybeOldDestroy <- case oldDestroy of+ Nothing -> return (castPtrToFunPtr nullPtr)+ Just jOldDestroy -> do+ jOldDestroy' <- mkDestroyNotify (destroyNotifyWrapper (Just ptroldDestroy) jOldDestroy)+ poke ptroldDestroy jOldDestroy'+ return jOldDestroy'+ result <- g_datalist_id_replace_data datalist' keyId oldval newval maybeDestroy maybeOldDestroy+ let result' = (/= 0) result+ touchManagedPtr datalist+ return result'+++-- function g_datalist_get_flags+-- Args : [Arg {argCName = "datalist", argType = TInterface "GLib" "Data", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_datalist_get_flags" g_datalist_get_flags :: + Ptr Data -> -- datalist : TInterface "GLib" "Data"+ IO Word32+++datalistGetFlags ::+ (MonadIO m) =>+ Data -- datalist+ -> m Word32 -- result+datalistGetFlags datalist = liftIO $ do+ let datalist' = unsafeManagedPtrGetPtr datalist+ result <- g_datalist_get_flags datalist'+ touchManagedPtr datalist+ return result+++-- function g_datalist_clear+-- Args : [Arg {argCName = "datalist", argType = TInterface "GLib" "Data", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_datalist_clear" g_datalist_clear :: + Ptr Data -> -- datalist : TInterface "GLib" "Data"+ IO ()+++datalistClear ::+ (MonadIO m) =>+ Data -- datalist+ -> m () -- result+datalistClear datalist = liftIO $ do+ let datalist' = unsafeManagedPtrGetPtr datalist+ g_datalist_clear datalist'+ touchManagedPtr datalist+ return ()+++-- function g_convert_with_iconv+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "converter", argType = TInterface "GLib" "IConv", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_read", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_written", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : True+-- Skip return : False++foreign import ccall "g_convert_with_iconv" g_convert_with_iconv :: + CString -> -- str : TBasicType TUTF8+ Int64 -> -- len : TBasicType TInt64+ Ptr IConv -> -- converter : TInterface "GLib" "IConv"+ Word64 -> -- bytes_read : TBasicType TUInt64+ Word64 -> -- bytes_written : TBasicType TUInt64+ Ptr (Ptr GError) -> -- error+ IO CString+++convertWithIconv ::+ (MonadIO m) =>+ T.Text -- str+ -> Int64 -- len+ -> IConv -- converter+ -> Word64 -- bytesRead+ -> Word64 -- bytesWritten+ -> m T.Text -- result+convertWithIconv str len converter bytesRead bytesWritten = liftIO $ do+ str' <- textToCString str+ let converter' = unsafeManagedPtrGetPtr converter+ onException (do+ result <- propagateGError $ g_convert_with_iconv str' len converter' bytesRead bytesWritten+ checkUnexpectedReturnNULL "g_convert_with_iconv" result+ result' <- cstringToText result+ freeMem result+ touchManagedPtr converter+ freeMem str'+ return result'+ ) (do+ freeMem str'+ )+++-- function g_convert_with_fallback+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "to_codeset", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "from_codeset", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "fallback", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_read", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_written", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : True+-- Skip return : False++foreign import ccall "g_convert_with_fallback" g_convert_with_fallback :: + CString -> -- str : TBasicType TUTF8+ Int64 -> -- len : TBasicType TInt64+ CString -> -- to_codeset : TBasicType TUTF8+ CString -> -- from_codeset : TBasicType TUTF8+ CString -> -- fallback : TBasicType TUTF8+ Word64 -> -- bytes_read : TBasicType TUInt64+ Word64 -> -- bytes_written : TBasicType TUInt64+ Ptr (Ptr GError) -> -- error+ IO CString+++convertWithFallback ::+ (MonadIO m) =>+ T.Text -- str+ -> Int64 -- len+ -> T.Text -- toCodeset+ -> T.Text -- fromCodeset+ -> T.Text -- fallback+ -> Word64 -- bytesRead+ -> Word64 -- bytesWritten+ -> m T.Text -- result+convertWithFallback str len toCodeset fromCodeset fallback bytesRead bytesWritten = liftIO $ do+ str' <- textToCString str+ toCodeset' <- textToCString toCodeset+ fromCodeset' <- textToCString fromCodeset+ fallback' <- textToCString fallback+ onException (do+ result <- propagateGError $ g_convert_with_fallback str' len toCodeset' fromCodeset' fallback' bytesRead bytesWritten+ checkUnexpectedReturnNULL "g_convert_with_fallback" result+ result' <- cstringToText result+ freeMem result+ freeMem str'+ freeMem toCodeset'+ freeMem fromCodeset'+ freeMem fallback'+ return result'+ ) (do+ freeMem str'+ freeMem toCodeset'+ freeMem fromCodeset'+ freeMem fallback'+ )+++-- function g_convert_error_quark+-- Args : []+-- Lengths : []+-- returnType : Just (TBasicType TUInt32)+-- throws : False+-- Skip return : False++foreign import ccall "g_convert_error_quark" g_convert_error_quark :: + IO Word32+++convertErrorQuark ::+ (MonadIO m) =>+ m Word32 -- result+convertErrorQuark = liftIO $ do+ result <- g_convert_error_quark+ return result+++-- function g_convert+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "to_codeset", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "from_codeset", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_read", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "bytes_written", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : True+-- Skip return : False++foreign import ccall "g_convert" g_convert :: + CString -> -- str : TBasicType TUTF8+ Int64 -> -- len : TBasicType TInt64+ CString -> -- to_codeset : TBasicType TUTF8+ CString -> -- from_codeset : TBasicType TUTF8+ Ptr Word64 -> -- bytes_read : TBasicType TUInt64+ Ptr Word64 -> -- bytes_written : TBasicType TUInt64+ Ptr (Ptr GError) -> -- error+ IO CString+++convert ::+ (MonadIO m) =>+ T.Text -- str+ -> Int64 -- len+ -> T.Text -- toCodeset+ -> T.Text -- fromCodeset+ -> m (T.Text,Word64,Word64) -- result+convert str len toCodeset fromCodeset = liftIO $ do+ str' <- textToCString str+ toCodeset' <- textToCString toCodeset+ fromCodeset' <- textToCString fromCodeset+ bytesRead <- allocMem :: IO (Ptr Word64)+ bytesWritten <- allocMem :: IO (Ptr Word64)+ onException (do+ result <- propagateGError $ g_convert str' len toCodeset' fromCodeset' bytesRead bytesWritten+ checkUnexpectedReturnNULL "g_convert" result+ result' <- cstringToText result+ freeMem result+ bytesRead' <- peek bytesRead+ bytesWritten' <- peek bytesWritten+ freeMem str'+ freeMem toCodeset'+ freeMem fromCodeset'+ freeMem bytesRead+ freeMem bytesWritten+ return (result', bytesRead', bytesWritten')+ ) (do+ freeMem str'+ freeMem toCodeset'+ freeMem fromCodeset'+ freeMem bytesRead+ freeMem bytesWritten+ )+++-- function g_compute_hmac_for_string+-- Args : [Arg {argCName = "digest_type", argType = TInterface "GLib" "ChecksumType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TCArray False (-1) 2 (TBasicType TUInt8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key_len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : [Arg {argCName = "key_len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_compute_hmac_for_string" g_compute_hmac_for_string :: + CUInt -> -- digest_type : TInterface "GLib" "ChecksumType"+ Ptr Word8 -> -- key : TCArray False (-1) 2 (TBasicType TUInt8)+ Word64 -> -- key_len : TBasicType TUInt64+ CString -> -- str : TBasicType TUTF8+ Int64 -> -- length : TBasicType TInt64+ IO CString+++computeHmacForString ::+ (MonadIO m) =>+ ChecksumType -- digestType+ -> ByteString -- key+ -> T.Text -- str+ -> Int64 -- length_+ -> m T.Text -- result+computeHmacForString digestType key str length_ = liftIO $ do+ let keyLen = fromIntegral $ B.length key+ let digestType' = (fromIntegral . fromEnum) digestType+ key' <- packByteString key+ str' <- textToCString str+ result <- g_compute_hmac_for_string digestType' key' keyLen str' length_+ checkUnexpectedReturnNULL "g_compute_hmac_for_string" result+ result' <- cstringToText result+ freeMem result+ freeMem key'+ freeMem str'+ return result'+++-- function g_compute_hmac_for_data+-- Args : [Arg {argCName = "digest_type", argType = TInterface "GLib" "ChecksumType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TCArray False (-1) 2 (TBasicType TUInt8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key_len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TUInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : [Arg {argCName = "key_len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_compute_hmac_for_data" g_compute_hmac_for_data :: + CUInt -> -- digest_type : TInterface "GLib" "ChecksumType"+ Ptr Word8 -> -- key : TCArray False (-1) 2 (TBasicType TUInt8)+ Word64 -> -- key_len : TBasicType TUInt64+ Word8 -> -- data : TBasicType TUInt8+ Word64 -> -- length : TBasicType TUInt64+ IO CString+++computeHmacForData ::+ (MonadIO m) =>+ ChecksumType -- digestType+ -> ByteString -- key+ -> Word8 -- data_+ -> Word64 -- length_+ -> m T.Text -- result+computeHmacForData digestType key data_ length_ = liftIO $ do+ let keyLen = fromIntegral $ B.length key+ let digestType' = (fromIntegral . fromEnum) digestType+ key' <- packByteString key+ result <- g_compute_hmac_for_data digestType' key' keyLen data_ length_+ checkUnexpectedReturnNULL "g_compute_hmac_for_data" result+ result' <- cstringToText result+ freeMem result+ freeMem key'+ return result'+++-- function g_compute_checksum_for_string+-- Args : [Arg {argCName = "checksum_type", argType = TInterface "GLib" "ChecksumType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_compute_checksum_for_string" g_compute_checksum_for_string :: + CUInt -> -- checksum_type : TInterface "GLib" "ChecksumType"+ CString -> -- str : TBasicType TUTF8+ Int64 -> -- length : TBasicType TInt64+ IO CString+++computeChecksumForString ::+ (MonadIO m) =>+ ChecksumType -- checksumType+ -> T.Text -- str+ -> Int64 -- length_+ -> m T.Text -- result+computeChecksumForString checksumType str length_ = liftIO $ do+ let checksumType' = (fromIntegral . fromEnum) checksumType+ str' <- textToCString str+ result <- g_compute_checksum_for_string checksumType' str' length_+ checkUnexpectedReturnNULL "g_compute_checksum_for_string" result+ result' <- cstringToText result+ freeMem result+ freeMem str'+ return result'+++-- function g_compute_checksum_for_data+-- Args : [Arg {argCName = "checksum_type", argType = TInterface "GLib" "ChecksumType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TCArray False (-1) 2 (TBasicType TUInt8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : [Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_compute_checksum_for_data" g_compute_checksum_for_data :: + CUInt -> -- checksum_type : TInterface "GLib" "ChecksumType"+ Ptr Word8 -> -- data : TCArray False (-1) 2 (TBasicType TUInt8)+ Word64 -> -- length : TBasicType TUInt64+ IO CString+++computeChecksumForData ::+ (MonadIO m) =>+ ChecksumType -- checksumType+ -> ByteString -- data_+ -> m T.Text -- result+computeChecksumForData checksumType data_ = liftIO $ do+ let length_ = fromIntegral $ B.length data_+ let checksumType' = (fromIntegral . fromEnum) checksumType+ data_' <- packByteString data_+ result <- g_compute_checksum_for_data checksumType' data_' length_+ checkUnexpectedReturnNULL "g_compute_checksum_for_data" result+ result' <- cstringToText result+ freeMem result+ freeMem data_'+ return result'+++-- function g_compute_checksum_for_bytes+-- Args : [Arg {argCName = "checksum_type", argType = TInterface "GLib" "ChecksumType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TInterface "GLib" "Bytes", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_compute_checksum_for_bytes" g_compute_checksum_for_bytes :: + CUInt -> -- checksum_type : TInterface "GLib" "ChecksumType"+ Ptr Bytes -> -- data : TInterface "GLib" "Bytes"+ IO CString+++computeChecksumForBytes ::+ (MonadIO m) =>+ ChecksumType -- checksumType+ -> Bytes -- data_+ -> m T.Text -- result+computeChecksumForBytes checksumType data_ = liftIO $ do+ let checksumType' = (fromIntegral . fromEnum) checksumType+ let data_' = unsafeManagedPtrGetPtr data_+ result <- g_compute_checksum_for_bytes checksumType' data_'+ checkUnexpectedReturnNULL "g_compute_checksum_for_bytes" result+ result' <- cstringToText result+ freeMem result+ touchManagedPtr data_+ return result'+++-- function g_close+-- Args : [Arg {argCName = "fd", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : True+-- Skip return : False++foreign import ccall "g_close" g_close :: + Int32 -> -- fd : TBasicType TInt+ Ptr (Ptr GError) -> -- error+ IO CInt+++close ::+ (MonadIO m) =>+ Int32 -- fd+ -> m () -- result+close fd = liftIO $ do+ onException (do+ _ <- propagateGError $ g_close fd+ return ()+ ) (do+ return ()+ )+++-- function g_clear_error+-- Args : []+-- Lengths : []+-- returnType : Nothing+-- throws : True+-- Skip return : False++foreign import ccall "g_clear_error" g_clear_error :: + Ptr (Ptr GError) -> -- error+ IO ()+++clearError ::+ (MonadIO m) =>+ m () -- result+clearError = liftIO $ do+ onException (do+ propagateGError $ g_clear_error+ return ()+ ) (do+ return ()+ )+++-- function g_child_watch_source_new+-- Args : [Arg {argCName = "pid", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TInterface "GLib" "Source")+-- throws : False+-- Skip return : False++foreign import ccall "g_child_watch_source_new" g_child_watch_source_new :: + Int32 -> -- pid : TBasicType TInt+ IO (Ptr Source)+++childWatchSourceNew ::+ (MonadIO m) =>+ Int32 -- pid+ -> m Source -- result+childWatchSourceNew pid = liftIO $ do+ result <- g_child_watch_source_new pid+ checkUnexpectedReturnNULL "g_child_watch_source_new" result+ result' <- (wrapBoxed Source) result+ return result'+++-- function g_child_watch_add_full+-- Args : [Arg {argCName = "priority", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pid", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "function", argType = TInterface "GLib" "ChildWatchFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeNotified, argClosure = 3, argDestroy = 4, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_child_watch_add_full" g_child_watch_add_full :: + Int32 -> -- priority : TBasicType TInt+ Int32 -> -- pid : TBasicType TInt+ FunPtr ChildWatchFuncC -> -- function : TInterface "GLib" "ChildWatchFunc"+ Ptr () -> -- data : TBasicType TPtr+ FunPtr DestroyNotifyC -> -- notify : TInterface "GLib" "DestroyNotify"+ IO Word32+++childWatchAdd ::+ (MonadIO m) =>+ Int32 -- priority+ -> Int32 -- pid+ -> ChildWatchFunc -- function+ -> m Word32 -- result+childWatchAdd priority pid function = liftIO $ do+ function' <- mkChildWatchFunc (childWatchFuncWrapper Nothing function)+ let data_ = castFunPtrToPtr function'+ let notify = safeFreeFunPtrPtr+ result <- g_child_watch_add_full priority pid function' data_ notify+ return result+++-- function glib_check_version+-- Args : [Arg {argCName = "required_major", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "required_minor", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "required_micro", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "glib_check_version" glib_check_version :: + Word32 -> -- required_major : TBasicType TUInt+ Word32 -> -- required_minor : TBasicType TUInt+ Word32 -> -- required_micro : TBasicType TUInt+ IO CString+++checkVersion ::+ (MonadIO m) =>+ Word32 -- requiredMajor+ -> Word32 -- requiredMinor+ -> Word32 -- requiredMicro+ -> m T.Text -- result+checkVersion requiredMajor requiredMinor requiredMicro = liftIO $ do+ result <- glib_check_version requiredMajor requiredMinor requiredMicro+ checkUnexpectedReturnNULL "glib_check_version" result+ result' <- cstringToText result+ return result'+++-- function g_chdir+-- Args : [Arg {argCName = "path", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_chdir" g_chdir :: + CString -> -- path : TBasicType TUTF8+ IO Int32+++chdir ::+ (MonadIO m) =>+ T.Text -- path+ -> m Int32 -- result+chdir path = liftIO $ do+ path' <- textToCString path+ result <- g_chdir path'+ freeMem path'+ return result+++-- function g_build_pathv+-- Args : [Arg {argCName = "separator", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "args", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_build_pathv" g_build_pathv :: + CString -> -- separator : TBasicType TUTF8+ Ptr CString -> -- args : TCArray True (-1) (-1) (TBasicType TUTF8)+ IO CString+++buildPathv ::+ (MonadIO m) =>+ T.Text -- separator+ -> [T.Text] -- args+ -> m T.Text -- result+buildPathv separator args = liftIO $ do+ separator' <- textToCString separator+ args' <- packZeroTerminatedUTF8CArray args+ result <- g_build_pathv separator' args'+ checkUnexpectedReturnNULL "g_build_pathv" result+ result' <- cstringToText result+ freeMem result+ freeMem separator'+ mapZeroTerminatedCArray freeMem args'+ freeMem args'+ return result'+++-- function g_build_filenamev+-- Args : [Arg {argCName = "args", argType = TCArray True (-1) (-1) (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_build_filenamev" g_build_filenamev :: + Ptr CString -> -- args : TCArray True (-1) (-1) (TBasicType TUTF8)+ IO CString+++buildFilenamev ::+ (MonadIO m) =>+ [T.Text] -- args+ -> m T.Text -- result+buildFilenamev args = liftIO $ do+ args' <- packZeroTerminatedUTF8CArray args+ result <- g_build_filenamev args'+ checkUnexpectedReturnNULL "g_build_filenamev" result+ result' <- cstringToText result+ freeMem result+ mapZeroTerminatedCArray freeMem args'+ freeMem args'+ return result'+++-- function g_bit_unlock+-- Args : [Arg {argCName = "address", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "lock_bit", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_bit_unlock" g_bit_unlock :: + Int32 -> -- address : TBasicType TInt+ Int32 -> -- lock_bit : TBasicType TInt+ IO ()+++bitUnlock ::+ (MonadIO m) =>+ Int32 -- address+ -> Int32 -- lockBit+ -> m () -- result+bitUnlock address lockBit = liftIO $ do+ g_bit_unlock address lockBit+ return ()+++-- function g_bit_trylock+-- Args : [Arg {argCName = "address", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "lock_bit", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_bit_trylock" g_bit_trylock :: + Int32 -> -- address : TBasicType TInt+ Int32 -> -- lock_bit : TBasicType TInt+ IO CInt+++bitTrylock ::+ (MonadIO m) =>+ Int32 -- address+ -> Int32 -- lockBit+ -> m Bool -- result+bitTrylock address lockBit = liftIO $ do+ result <- g_bit_trylock address lockBit+ let result' = (/= 0) result+ return result'+++-- function g_bit_storage+-- Args : [Arg {argCName = "number", argType = TBasicType TULong, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_bit_storage" g_bit_storage :: + CULong -> -- number : TBasicType TULong+ IO Word32+++bitStorage ::+ (MonadIO m) =>+ CULong -- number+ -> m Word32 -- result+bitStorage number = liftIO $ do+ result <- g_bit_storage number+ return result+++-- function g_bit_nth_msf+-- Args : [Arg {argCName = "mask", argType = TBasicType TULong, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "nth_bit", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_bit_nth_msf" g_bit_nth_msf :: + CULong -> -- mask : TBasicType TULong+ Int32 -> -- nth_bit : TBasicType TInt+ IO Int32+++bitNthMsf ::+ (MonadIO m) =>+ CULong -- mask+ -> Int32 -- nthBit+ -> m Int32 -- result+bitNthMsf mask nthBit = liftIO $ do+ result <- g_bit_nth_msf mask nthBit+ return result+++-- function g_bit_nth_lsf+-- Args : [Arg {argCName = "mask", argType = TBasicType TULong, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "nth_bit", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_bit_nth_lsf" g_bit_nth_lsf :: + CULong -> -- mask : TBasicType TULong+ Int32 -> -- nth_bit : TBasicType TInt+ IO Int32+++bitNthLsf ::+ (MonadIO m) =>+ CULong -- mask+ -> Int32 -- nthBit+ -> m Int32 -- result+bitNthLsf mask nthBit = liftIO $ do+ result <- g_bit_nth_lsf mask nthBit+ return result+++-- function g_bit_lock+-- Args : [Arg {argCName = "address", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "lock_bit", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_bit_lock" g_bit_lock :: + Int32 -> -- address : TBasicType TInt+ Int32 -> -- lock_bit : TBasicType TInt+ IO ()+++bitLock ::+ (MonadIO m) =>+ Int32 -- address+ -> Int32 -- lockBit+ -> m () -- result+bitLock address lockBit = liftIO $ do+ g_bit_lock address lockBit+ return ()+++-- function g_basename+-- Args : [Arg {argCName = "file_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_basename" g_basename :: + CString -> -- file_name : TBasicType TUTF8+ IO CString++{-# DEPRECATED basename ["(Since version 2.2)","Use g_path_get_basename() instead, but notice"," that g_path_get_basename() allocates new memory for the"," returned string, unlike this function which returns a pointer"," into the argument."]#-}+basename ::+ (MonadIO m) =>+ T.Text -- fileName+ -> m T.Text -- result+basename fileName = liftIO $ do+ fileName' <- textToCString fileName+ result <- g_basename fileName'+ checkUnexpectedReturnNULL "g_basename" result+ result' <- cstringToText result+ freeMem fileName'+ return result'+++-- function g_base64_encode+-- Args : [Arg {argCName = "data", argType = TCArray False (-1) 1 (TBasicType TUInt8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : [Arg {argCName = "len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_base64_encode" g_base64_encode :: + Ptr Word8 -> -- data : TCArray False (-1) 1 (TBasicType TUInt8)+ Word64 -> -- len : TBasicType TUInt64+ IO CString+++base64Encode ::+ (MonadIO m) =>+ ByteString -- data_+ -> m T.Text -- result+base64Encode data_ = liftIO $ do+ let len = fromIntegral $ B.length data_+ data_' <- packByteString data_+ result <- g_base64_encode data_' len+ checkUnexpectedReturnNULL "g_base64_encode" result+ result' <- cstringToText result+ freeMem result+ freeMem data_'+ return result'+++-- function g_base64_decode_inplace+-- Args : [Arg {argCName = "text", argType = TCArray False (-1) 1 (TBasicType TUInt8), direction = DirectionInout, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "out_len", argType = TBasicType TUInt64, direction = DirectionInout, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : [Arg {argCName = "out_len", argType = TBasicType TUInt64, direction = DirectionInout, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- returnType : Just (TBasicType TUInt8)+-- throws : False+-- Skip return : False++foreign import ccall "g_base64_decode_inplace" g_base64_decode_inplace :: + Ptr (Ptr Word8) -> -- text : TCArray False (-1) 1 (TBasicType TUInt8)+ Ptr Word64 -> -- out_len : TBasicType TUInt64+ IO Word8+++base64DecodeInplace ::+ (MonadIO m) =>+ ByteString -- text+ -> m (Word8,ByteString) -- result+base64DecodeInplace text = liftIO $ do+ let outLen = fromIntegral $ B.length text+ text' <- packByteString text+ text'' <- allocMem :: IO (Ptr (Ptr Word8))+ poke text'' text'+ outLen' <- allocMem :: IO (Ptr Word64)+ poke outLen' outLen+ result <- g_base64_decode_inplace text'' outLen'+ outLen'' <- peek outLen'+ text''' <- peek text''+ text'''' <- (unpackByteStringWithLength outLen'') text'''+ freeMem text'''+ freeMem text''+ freeMem outLen'+ return (result, text'''')+++-- function g_base64_decode+-- Args : [Arg {argCName = "text", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "out_len", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- Lengths : [Arg {argCName = "out_len", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- returnType : Just (TCArray False (-1) 1 (TBasicType TUInt8))+-- throws : False+-- Skip return : False++foreign import ccall "g_base64_decode" g_base64_decode :: + CString -> -- text : TBasicType TUTF8+ Ptr Word64 -> -- out_len : TBasicType TUInt64+ IO (Ptr Word8)+++base64Decode ::+ (MonadIO m) =>+ T.Text -- text+ -> m ByteString -- result+base64Decode text = liftIO $ do+ text' <- textToCString text+ outLen <- allocMem :: IO (Ptr Word64)+ result <- g_base64_decode text' outLen+ outLen' <- peek outLen+ checkUnexpectedReturnNULL "g_base64_decode" result+ result' <- (unpackByteStringWithLength outLen') result+ freeMem result+ freeMem text'+ freeMem outLen+ return result'+++-- function g_atomic_pointer_xor+-- Args : [Arg {argCName = "atomic", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt64)+-- throws : False+-- Skip return : False++foreign import ccall "g_atomic_pointer_xor" g_atomic_pointer_xor :: + Ptr () -> -- atomic : TBasicType TPtr+ Word64 -> -- val : TBasicType TUInt64+ IO Word64+++atomicPointerXor ::+ (MonadIO m) =>+ Ptr () -- atomic+ -> Word64 -- val+ -> m Word64 -- result+atomicPointerXor atomic val = liftIO $ do+ result <- g_atomic_pointer_xor atomic val+ return result+++-- function g_atomic_pointer_set+-- Args : [Arg {argCName = "atomic", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "newval", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_atomic_pointer_set" g_atomic_pointer_set :: + Ptr () -> -- atomic : TBasicType TPtr+ Ptr () -> -- newval : TBasicType TPtr+ IO ()+++atomicPointerSet ::+ (MonadIO m) =>+ Ptr () -- atomic+ -> Ptr () -- newval+ -> m () -- result+atomicPointerSet atomic newval = liftIO $ do+ g_atomic_pointer_set atomic newval+ return ()+++-- function g_atomic_pointer_or+-- Args : [Arg {argCName = "atomic", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt64)+-- throws : False+-- Skip return : False++foreign import ccall "g_atomic_pointer_or" g_atomic_pointer_or :: + Ptr () -> -- atomic : TBasicType TPtr+ Word64 -> -- val : TBasicType TUInt64+ IO Word64+++atomicPointerOr ::+ (MonadIO m) =>+ Ptr () -- atomic+ -> Word64 -- val+ -> m Word64 -- result+atomicPointerOr atomic val = liftIO $ do+ result <- g_atomic_pointer_or atomic val+ return result+++-- function g_atomic_pointer_compare_and_exchange+-- Args : [Arg {argCName = "atomic", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "oldval", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "newval", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_atomic_pointer_compare_and_exchange" g_atomic_pointer_compare_and_exchange :: + Ptr () -> -- atomic : TBasicType TPtr+ Ptr () -> -- oldval : TBasicType TPtr+ Ptr () -> -- newval : TBasicType TPtr+ IO CInt+++atomicPointerCompareAndExchange ::+ (MonadIO m) =>+ Ptr () -- atomic+ -> Ptr () -- oldval+ -> Ptr () -- newval+ -> m Bool -- result+atomicPointerCompareAndExchange atomic oldval newval = liftIO $ do+ result <- g_atomic_pointer_compare_and_exchange atomic oldval newval+ let result' = (/= 0) result+ return result'+++-- function g_atomic_pointer_and+-- Args : [Arg {argCName = "atomic", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt64)+-- throws : False+-- Skip return : False++foreign import ccall "g_atomic_pointer_and" g_atomic_pointer_and :: + Ptr () -> -- atomic : TBasicType TPtr+ Word64 -> -- val : TBasicType TUInt64+ IO Word64+++atomicPointerAnd ::+ (MonadIO m) =>+ Ptr () -- atomic+ -> Word64 -- val+ -> m Word64 -- result+atomicPointerAnd atomic val = liftIO $ do+ result <- g_atomic_pointer_and atomic val+ return result+++-- function g_atomic_pointer_add+-- Args : [Arg {argCName = "atomic", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt64)+-- throws : False+-- Skip return : False++foreign import ccall "g_atomic_pointer_add" g_atomic_pointer_add :: + Ptr () -> -- atomic : TBasicType TPtr+ Int64 -> -- val : TBasicType TInt64+ IO Int64+++atomicPointerAdd ::+ (MonadIO m) =>+ Ptr () -- atomic+ -> Int64 -- val+ -> m Int64 -- result+atomicPointerAdd atomic val = liftIO $ do+ result <- g_atomic_pointer_add atomic val+ return result+++-- function g_atomic_int_xor+-- Args : [Arg {argCName = "atomic", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_atomic_int_xor" g_atomic_int_xor :: + Word32 -> -- atomic : TBasicType TUInt+ Word32 -> -- val : TBasicType TUInt+ IO Word32+++atomicIntXor ::+ (MonadIO m) =>+ Word32 -- atomic+ -> Word32 -- val+ -> m Word32 -- result+atomicIntXor atomic val = liftIO $ do+ result <- g_atomic_int_xor atomic val+ return result+++-- function g_atomic_int_set+-- Args : [Arg {argCName = "atomic", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "newval", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_atomic_int_set" g_atomic_int_set :: + Int32 -> -- atomic : TBasicType TInt+ Int32 -> -- newval : TBasicType TInt+ IO ()+++atomicIntSet ::+ (MonadIO m) =>+ Int32 -- atomic+ -> Int32 -- newval+ -> m () -- result+atomicIntSet atomic newval = liftIO $ do+ g_atomic_int_set atomic newval+ return ()+++-- function g_atomic_int_or+-- Args : [Arg {argCName = "atomic", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_atomic_int_or" g_atomic_int_or :: + Word32 -> -- atomic : TBasicType TUInt+ Word32 -> -- val : TBasicType TUInt+ IO Word32+++atomicIntOr ::+ (MonadIO m) =>+ Word32 -- atomic+ -> Word32 -- val+ -> m Word32 -- result+atomicIntOr atomic val = liftIO $ do+ result <- g_atomic_int_or atomic val+ return result+++-- function g_atomic_int_inc+-- Args : [Arg {argCName = "atomic", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_atomic_int_inc" g_atomic_int_inc :: + Int32 -> -- atomic : TBasicType TInt+ IO ()+++atomicIntInc ::+ (MonadIO m) =>+ Int32 -- atomic+ -> m () -- result+atomicIntInc atomic = liftIO $ do+ g_atomic_int_inc atomic+ return ()+++-- function g_atomic_int_get+-- Args : [Arg {argCName = "atomic", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_atomic_int_get" g_atomic_int_get :: + Int32 -> -- atomic : TBasicType TInt+ IO Int32+++atomicIntGet ::+ (MonadIO m) =>+ Int32 -- atomic+ -> m Int32 -- result+atomicIntGet atomic = liftIO $ do+ result <- g_atomic_int_get atomic+ return result+++-- function g_atomic_int_exchange_and_add+-- Args : [Arg {argCName = "atomic", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_atomic_int_exchange_and_add" g_atomic_int_exchange_and_add :: + Int32 -> -- atomic : TBasicType TInt+ Int32 -> -- val : TBasicType TInt+ IO Int32++{-# DEPRECATED atomicIntExchangeAndAdd ["(Since version 2.30)","Use g_atomic_int_add() instead."]#-}+atomicIntExchangeAndAdd ::+ (MonadIO m) =>+ Int32 -- atomic+ -> Int32 -- val+ -> m Int32 -- result+atomicIntExchangeAndAdd atomic val = liftIO $ do+ result <- g_atomic_int_exchange_and_add atomic val+ return result+++-- function g_atomic_int_dec_and_test+-- Args : [Arg {argCName = "atomic", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_atomic_int_dec_and_test" g_atomic_int_dec_and_test :: + Int32 -> -- atomic : TBasicType TInt+ IO CInt+++atomicIntDecAndTest ::+ (MonadIO m) =>+ Int32 -- atomic+ -> m Bool -- result+atomicIntDecAndTest atomic = liftIO $ do+ result <- g_atomic_int_dec_and_test atomic+ let result' = (/= 0) result+ return result'+++-- function g_atomic_int_compare_and_exchange+-- Args : [Arg {argCName = "atomic", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "oldval", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "newval", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TBoolean)+-- throws : False+-- Skip return : False++foreign import ccall "g_atomic_int_compare_and_exchange" g_atomic_int_compare_and_exchange :: + Int32 -> -- atomic : TBasicType TInt+ Int32 -> -- oldval : TBasicType TInt+ Int32 -> -- newval : TBasicType TInt+ IO CInt+++atomicIntCompareAndExchange ::+ (MonadIO m) =>+ Int32 -- atomic+ -> Int32 -- oldval+ -> Int32 -- newval+ -> m Bool -- result+atomicIntCompareAndExchange atomic oldval newval = liftIO $ do+ result <- g_atomic_int_compare_and_exchange atomic oldval newval+ let result' = (/= 0) result+ return result'+++-- function g_atomic_int_and+-- Args : [Arg {argCName = "atomic", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_atomic_int_and" g_atomic_int_and :: + Word32 -> -- atomic : TBasicType TUInt+ Word32 -> -- val : TBasicType TUInt+ IO Word32+++atomicIntAnd ::+ (MonadIO m) =>+ Word32 -- atomic+ -> Word32 -- val+ -> m Word32 -- result+atomicIntAnd atomic val = liftIO $ do+ result <- g_atomic_int_and atomic val+ return result+++-- function g_atomic_int_add+-- Args : [Arg {argCName = "atomic", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_atomic_int_add" g_atomic_int_add :: + Int32 -> -- atomic : TBasicType TInt+ Int32 -> -- val : TBasicType TInt+ IO Int32+++atomicIntAdd ::+ (MonadIO m) =>+ Int32 -- atomic+ -> Int32 -- val+ -> m Int32 -- result+atomicIntAdd atomic val = liftIO $ do+ result <- g_atomic_int_add atomic val+ return result+++-- function g_atexit+-- Args : [Arg {argCName = "func", argType = TInterface "GLib" "VoidFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_atexit" g_atexit :: + FunPtr VoidFuncC -> -- func : TInterface "GLib" "VoidFunc"+ IO ()++{-# DEPRECATED atexit ["(Since version 2.32)","It is best to avoid g_atexit()."]#-}+atexit ::+ (MonadIO m) =>+ VoidFunc -- func+ -> m () -- result+atexit func = liftIO $ do+ ptrfunc <- callocMem :: IO (Ptr (FunPtr VoidFuncC))+ func' <- mkVoidFunc (voidFuncWrapper (Just ptrfunc) func)+ poke ptrfunc func'+ g_atexit func'+ return ()+++-- function g_assertion_message_expr+-- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "file", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "line", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "expr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_assertion_message_expr" g_assertion_message_expr :: + CString -> -- domain : TBasicType TUTF8+ CString -> -- file : TBasicType TUTF8+ Int32 -> -- line : TBasicType TInt+ CString -> -- func : TBasicType TUTF8+ CString -> -- expr : TBasicType TUTF8+ IO ()+++assertionMessageExpr ::+ (MonadIO m) =>+ T.Text -- domain+ -> T.Text -- file+ -> Int32 -- line+ -> T.Text -- func+ -> T.Text -- expr+ -> m () -- result+assertionMessageExpr domain file line func expr = liftIO $ do+ domain' <- textToCString domain+ file' <- textToCString file+ func' <- textToCString func+ expr' <- textToCString expr+ g_assertion_message_expr domain' file' line func' expr'+ freeMem domain'+ freeMem file'+ freeMem func'+ freeMem expr'+ return ()+++-- function g_assertion_message_error+-- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "file", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "line", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "expr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "error", argType = TError, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "error_domain", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "error_code", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_assertion_message_error" g_assertion_message_error :: + CString -> -- domain : TBasicType TUTF8+ CString -> -- file : TBasicType TUTF8+ Int32 -> -- line : TBasicType TInt+ CString -> -- func : TBasicType TUTF8+ CString -> -- expr : TBasicType TUTF8+ Ptr GError -> -- error : TError+ Word32 -> -- error_domain : TBasicType TUInt32+ Int32 -> -- error_code : TBasicType TInt+ IO ()+++assertionMessageError ::+ (MonadIO m) =>+ T.Text -- domain+ -> T.Text -- file+ -> Int32 -- line+ -> T.Text -- func+ -> T.Text -- expr+ -> GError -- error_+ -> Word32 -- errorDomain+ -> Int32 -- errorCode+ -> m () -- result+assertionMessageError domain file line func expr error_ errorDomain errorCode = liftIO $ do+ domain' <- textToCString domain+ file' <- textToCString file+ func' <- textToCString func+ expr' <- textToCString expr+ let error_' = unsafeManagedPtrGetPtr error_+ g_assertion_message_error domain' file' line func' expr' error_' errorDomain errorCode+ touchManagedPtr error_+ freeMem domain'+ freeMem file'+ freeMem func'+ freeMem expr'+ return ()+++-- function g_assertion_message_cmpstr+-- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "file", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "line", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "expr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "arg1", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "cmp", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "arg2", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_assertion_message_cmpstr" g_assertion_message_cmpstr :: + CString -> -- domain : TBasicType TUTF8+ CString -> -- file : TBasicType TUTF8+ Int32 -> -- line : TBasicType TInt+ CString -> -- func : TBasicType TUTF8+ CString -> -- expr : TBasicType TUTF8+ CString -> -- arg1 : TBasicType TUTF8+ CString -> -- cmp : TBasicType TUTF8+ CString -> -- arg2 : TBasicType TUTF8+ IO ()+++assertionMessageCmpstr ::+ (MonadIO m) =>+ T.Text -- domain+ -> T.Text -- file+ -> Int32 -- line+ -> T.Text -- func+ -> T.Text -- expr+ -> T.Text -- arg1+ -> T.Text -- cmp+ -> T.Text -- arg2+ -> m () -- result+assertionMessageCmpstr domain file line func expr arg1 cmp arg2 = liftIO $ do+ domain' <- textToCString domain+ file' <- textToCString file+ func' <- textToCString func+ expr' <- textToCString expr+ arg1' <- textToCString arg1+ cmp' <- textToCString cmp+ arg2' <- textToCString arg2+ g_assertion_message_cmpstr domain' file' line func' expr' arg1' cmp' arg2'+ freeMem domain'+ freeMem file'+ freeMem func'+ freeMem expr'+ freeMem arg1'+ freeMem cmp'+ freeMem arg2'+ return ()+++-- function g_assertion_message+-- Args : [Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "file", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "line", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "message", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_assertion_message" g_assertion_message :: + CString -> -- domain : TBasicType TUTF8+ CString -> -- file : TBasicType TUTF8+ Int32 -> -- line : TBasicType TInt+ CString -> -- func : TBasicType TUTF8+ CString -> -- message : TBasicType TUTF8+ IO ()+++assertionMessage ::+ (MonadIO m) =>+ T.Text -- domain+ -> T.Text -- file+ -> Int32 -- line+ -> T.Text -- func+ -> T.Text -- message+ -> m () -- result+assertionMessage domain file line func message = liftIO $ do+ domain' <- textToCString domain+ file' <- textToCString file+ func' <- textToCString func+ message' <- textToCString message+ g_assertion_message domain' file' line func' message'+ freeMem domain'+ freeMem file'+ freeMem func'+ freeMem message'+ return ()+++-- function g_assert_warning+-- Args : [Arg {argCName = "log_domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "file", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "line", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pretty_function", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "expression", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Nothing+-- throws : False+-- Skip return : False++foreign import ccall "g_assert_warning" g_assert_warning :: + CString -> -- log_domain : TBasicType TUTF8+ CString -> -- file : TBasicType TUTF8+ Int32 -> -- line : TBasicType TInt+ CString -> -- pretty_function : TBasicType TUTF8+ CString -> -- expression : TBasicType TUTF8+ IO ()+++assertWarning ::+ (MonadIO m) =>+ T.Text -- logDomain+ -> T.Text -- file+ -> Int32 -- line+ -> T.Text -- prettyFunction+ -> T.Text -- expression+ -> m () -- result+assertWarning logDomain file line prettyFunction expression = liftIO $ do+ logDomain' <- textToCString logDomain+ file' <- textToCString file+ prettyFunction' <- textToCString prettyFunction+ expression' <- textToCString expression+ g_assert_warning logDomain' file' line prettyFunction' expression'+ freeMem logDomain'+ freeMem file'+ freeMem prettyFunction'+ freeMem expression'+ return ()+++-- function g_ascii_xdigit_value+-- Args : [Arg {argCName = "c", argType = TBasicType TInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_ascii_xdigit_value" g_ascii_xdigit_value :: + Int8 -> -- c : TBasicType TInt8+ IO Int32+++asciiXdigitValue ::+ (MonadIO m) =>+ Int8 -- c+ -> m Int32 -- result+asciiXdigitValue c = liftIO $ do+ result <- g_ascii_xdigit_value c+ return result+++-- function g_ascii_toupper+-- Args : [Arg {argCName = "c", argType = TBasicType TInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt8)+-- throws : False+-- Skip return : False++foreign import ccall "g_ascii_toupper" g_ascii_toupper :: + Int8 -> -- c : TBasicType TInt8+ IO Int8+++asciiToupper ::+ (MonadIO m) =>+ Int8 -- c+ -> m Int8 -- result+asciiToupper c = liftIO $ do+ result <- g_ascii_toupper c+ return result+++-- function g_ascii_tolower+-- Args : [Arg {argCName = "c", argType = TBasicType TInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt8)+-- throws : False+-- Skip return : False++foreign import ccall "g_ascii_tolower" g_ascii_tolower :: + Int8 -> -- c : TBasicType TInt8+ IO Int8+++asciiTolower ::+ (MonadIO m) =>+ Int8 -- c+ -> m Int8 -- result+asciiTolower c = liftIO $ do+ result <- g_ascii_tolower c+ return result+++-- function g_ascii_strup+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_ascii_strup" g_ascii_strup :: + CString -> -- str : TBasicType TUTF8+ Int64 -> -- len : TBasicType TInt64+ IO CString+++asciiStrup ::+ (MonadIO m) =>+ T.Text -- str+ -> Int64 -- len+ -> m T.Text -- result+asciiStrup str len = liftIO $ do+ str' <- textToCString str+ result <- g_ascii_strup str' len+ checkUnexpectedReturnNULL "g_ascii_strup" result+ result' <- cstringToText result+ freeMem result+ freeMem str'+ return result'+++-- function g_ascii_strtoull+-- Args : [Arg {argCName = "nptr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "endptr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "base", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUInt64)+-- throws : False+-- Skip return : False++foreign import ccall "g_ascii_strtoull" g_ascii_strtoull :: + CString -> -- nptr : TBasicType TUTF8+ CString -> -- endptr : TBasicType TUTF8+ Word32 -> -- base : TBasicType TUInt+ IO Word64+++asciiStrtoull ::+ (MonadIO m) =>+ T.Text -- nptr+ -> T.Text -- endptr+ -> Word32 -- base+ -> m Word64 -- result+asciiStrtoull nptr endptr base = liftIO $ do+ nptr' <- textToCString nptr+ endptr' <- textToCString endptr+ result <- g_ascii_strtoull nptr' endptr' base+ freeMem nptr'+ freeMem endptr'+ return result+++-- function g_ascii_strtoll+-- Args : [Arg {argCName = "nptr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "endptr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "base", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt64)+-- throws : False+-- Skip return : False++foreign import ccall "g_ascii_strtoll" g_ascii_strtoll :: + CString -> -- nptr : TBasicType TUTF8+ CString -> -- endptr : TBasicType TUTF8+ Word32 -> -- base : TBasicType TUInt+ IO Int64+++asciiStrtoll ::+ (MonadIO m) =>+ T.Text -- nptr+ -> T.Text -- endptr+ -> Word32 -- base+ -> m Int64 -- result+asciiStrtoll nptr endptr base = liftIO $ do+ nptr' <- textToCString nptr+ endptr' <- textToCString endptr+ result <- g_ascii_strtoll nptr' endptr' base+ freeMem nptr'+ freeMem endptr'+ return result+++-- function g_ascii_strtod+-- Args : [Arg {argCName = "nptr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "endptr", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TDouble)+-- throws : False+-- Skip return : False++foreign import ccall "g_ascii_strtod" g_ascii_strtod :: + CString -> -- nptr : TBasicType TUTF8+ CString -> -- endptr : TBasicType TUTF8+ IO CDouble+++asciiStrtod ::+ (MonadIO m) =>+ T.Text -- nptr+ -> T.Text -- endptr+ -> m Double -- result+asciiStrtod nptr endptr = liftIO $ do+ nptr' <- textToCString nptr+ endptr' <- textToCString endptr+ result <- g_ascii_strtod nptr' endptr'+ let result' = realToFrac result+ freeMem nptr'+ freeMem endptr'+ return result'+++-- function g_ascii_strncasecmp+-- Args : [Arg {argCName = "s1", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "s2", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_ascii_strncasecmp" g_ascii_strncasecmp :: + CString -> -- s1 : TBasicType TUTF8+ CString -> -- s2 : TBasicType TUTF8+ Word64 -> -- n : TBasicType TUInt64+ IO Int32+++asciiStrncasecmp ::+ (MonadIO m) =>+ T.Text -- s1+ -> T.Text -- s2+ -> Word64 -- n+ -> m Int32 -- result+asciiStrncasecmp s1 s2 n = liftIO $ do+ s1' <- textToCString s1+ s2' <- textToCString s2+ result <- g_ascii_strncasecmp s1' s2' n+ freeMem s1'+ freeMem s2'+ return result+++-- function g_ascii_strdown+-- Args : [Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_ascii_strdown" g_ascii_strdown :: + CString -> -- str : TBasicType TUTF8+ Int64 -> -- len : TBasicType TInt64+ IO CString+++asciiStrdown ::+ (MonadIO m) =>+ T.Text -- str+ -> Int64 -- len+ -> m T.Text -- result+asciiStrdown str len = liftIO $ do+ str' <- textToCString str+ result <- g_ascii_strdown str' len+ checkUnexpectedReturnNULL "g_ascii_strdown" result+ result' <- cstringToText result+ freeMem result+ freeMem str'+ return result'+++-- function g_ascii_strcasecmp+-- Args : [Arg {argCName = "s1", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "s2", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_ascii_strcasecmp" g_ascii_strcasecmp :: + CString -> -- s1 : TBasicType TUTF8+ CString -> -- s2 : TBasicType TUTF8+ IO Int32+++asciiStrcasecmp ::+ (MonadIO m) =>+ T.Text -- s1+ -> T.Text -- s2+ -> m Int32 -- result+asciiStrcasecmp s1 s2 = liftIO $ do+ s1' <- textToCString s1+ s2' <- textToCString s2+ result <- g_ascii_strcasecmp s1' s2'+ freeMem s1'+ freeMem s2'+ return result+++-- function g_ascii_formatd+-- Args : [Arg {argCName = "buffer", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "buf_len", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "format", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "d", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_ascii_formatd" g_ascii_formatd :: + CString -> -- buffer : TBasicType TUTF8+ Int32 -> -- buf_len : TBasicType TInt+ CString -> -- format : TBasicType TUTF8+ CDouble -> -- d : TBasicType TDouble+ IO CString+++asciiFormatd ::+ (MonadIO m) =>+ T.Text -- buffer+ -> Int32 -- bufLen+ -> T.Text -- format+ -> Double -- d+ -> m T.Text -- result+asciiFormatd buffer bufLen format d = liftIO $ do+ buffer' <- textToCString buffer+ format' <- textToCString format+ let d' = realToFrac d+ result <- g_ascii_formatd buffer' bufLen format' d'+ checkUnexpectedReturnNULL "g_ascii_formatd" result+ result' <- cstringToText result+ freeMem result+ freeMem buffer'+ freeMem format'+ return result'+++-- function g_ascii_dtostr+-- Args : [Arg {argCName = "buffer", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "buf_len", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "d", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TUTF8)+-- throws : False+-- Skip return : False++foreign import ccall "g_ascii_dtostr" g_ascii_dtostr :: + CString -> -- buffer : TBasicType TUTF8+ Int32 -> -- buf_len : TBasicType TInt+ CDouble -> -- d : TBasicType TDouble+ IO CString+++asciiDtostr ::+ (MonadIO m) =>+ T.Text -- buffer+ -> Int32 -- bufLen+ -> Double -- d+ -> m T.Text -- result+asciiDtostr buffer bufLen d = liftIO $ do+ buffer' <- textToCString buffer+ let d' = realToFrac d+ result <- g_ascii_dtostr buffer' bufLen d'+ checkUnexpectedReturnNULL "g_ascii_dtostr" result+ result' <- cstringToText result+ freeMem result+ freeMem buffer'+ return result'+++-- function g_ascii_digit_value+-- Args : [Arg {argCName = "c", argType = TBasicType TInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_ascii_digit_value" g_ascii_digit_value :: + Int8 -> -- c : TBasicType TInt8+ IO Int32+++asciiDigitValue ::+ (MonadIO m) =>+ Int8 -- c+ -> m Int32 -- result+asciiDigitValue c = liftIO $ do+ result <- g_ascii_digit_value c+ return result+++-- function g_access+-- Args : [Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mode", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : []+-- returnType : Just (TBasicType TInt)+-- throws : False+-- Skip return : False++foreign import ccall "g_access" g_access :: + CString -> -- filename : TBasicType TUTF8+ Int32 -> -- mode : TBasicType TInt IO Int32
GI/GLib/Structs.hs view
@@ -140,9 +140,9 @@ import GI.GLib.Structs.VariantDict import GI.GLib.Structs.VariantType -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/AsyncQueue.hs view
@@ -88,9 +88,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -102,11 +102,15 @@ noAsyncQueue :: Maybe AsyncQueue noAsyncQueue = Nothing ++type instance AttributeList AsyncQueue = AsyncQueueAttributeList+type AsyncQueueAttributeList = ('[ ] :: [(Symbol, *)])+ -- method AsyncQueue::length -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "AsyncQueue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -133,7 +137,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "AsyncQueue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -160,7 +164,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "AsyncQueue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -185,15 +189,15 @@ -- method AsyncQueue::push -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "AsyncQueue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "AsyncQueue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_async_queue_push" g_async_queue_push :: Ptr AsyncQueue -> -- _obj : TInterface "GLib" "AsyncQueue"- Ptr () -> -- data : TBasicType TVoid+ Ptr () -> -- data : TBasicType TPtr IO () @@ -214,15 +218,15 @@ -- method AsyncQueue::push_front -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "AsyncQueue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "item", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "AsyncQueue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "item", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_async_queue_push_front" g_async_queue_push_front :: Ptr AsyncQueue -> -- _obj : TInterface "GLib" "AsyncQueue"- Ptr () -> -- item : TBasicType TVoid+ Ptr () -> -- item : TBasicType TPtr IO () @@ -243,15 +247,15 @@ -- method AsyncQueue::push_front_unlocked -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "AsyncQueue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "item", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "AsyncQueue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "item", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_async_queue_push_front_unlocked" g_async_queue_push_front_unlocked :: Ptr AsyncQueue -> -- _obj : TInterface "GLib" "AsyncQueue"- Ptr () -> -- item : TBasicType TVoid+ Ptr () -> -- item : TBasicType TPtr IO () @@ -272,15 +276,15 @@ -- method AsyncQueue::push_unlocked -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "AsyncQueue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "AsyncQueue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_async_queue_push_unlocked" g_async_queue_push_unlocked :: Ptr AsyncQueue -> -- _obj : TInterface "GLib" "AsyncQueue"- Ptr () -> -- data : TBasicType TVoid+ Ptr () -> -- data : TBasicType TPtr IO () @@ -303,7 +307,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "AsyncQueue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -328,15 +332,15 @@ -- method AsyncQueue::remove -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "AsyncQueue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "item", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "AsyncQueue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "item", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False foreign import ccall "g_async_queue_remove" g_async_queue_remove :: Ptr AsyncQueue -> -- _obj : TInterface "GLib" "AsyncQueue"- Ptr () -> -- item : TBasicType TVoid+ Ptr () -> -- item : TBasicType TPtr IO CInt @@ -358,15 +362,15 @@ -- method AsyncQueue::remove_unlocked -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "AsyncQueue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "item", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "AsyncQueue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "item", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False foreign import ccall "g_async_queue_remove_unlocked" g_async_queue_remove_unlocked :: Ptr AsyncQueue -> -- _obj : TInterface "GLib" "AsyncQueue"- Ptr () -> -- item : TBasicType TVoid+ Ptr () -> -- item : TBasicType TPtr IO CInt @@ -390,7 +394,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "AsyncQueue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -417,7 +421,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "AsyncQueue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -444,7 +448,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "AsyncQueue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/AsyncQueue.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.AsyncQueue where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/BookmarkFile.hs view
@@ -216,9 +216,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -230,11 +230,15 @@ noBookmarkFile :: Maybe BookmarkFile noBookmarkFile = Nothing ++type instance AttributeList BookmarkFile = BookmarkFileAttributeList+type BookmarkFileAttributeList = ('[ ] :: [(Symbol, *)])+ -- method BookmarkFile::add_application -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "exec", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -281,7 +285,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -316,7 +320,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -343,7 +347,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt64+-- returnType : Just (TBasicType TLong) -- throws : True -- Skip return : False @@ -351,14 +355,14 @@ Ptr BookmarkFile -> -- _obj : TInterface "GLib" "BookmarkFile" CString -> -- uri : TBasicType TUTF8 Ptr (Ptr GError) -> -- error- IO Int64+ IO CLong bookmarkFileGetAdded :: (MonadIO m) => BookmarkFile -- _obj -> T.Text -- uri- -> m Int64 -- result+ -> m CLong -- result bookmarkFileGetAdded _obj uri = liftIO $ do let _obj' = unsafeManagedPtrGetPtr _obj uri' <- textToCString uri@@ -372,14 +376,14 @@ ) data BookmarkFileGetAddedMethodInfo-instance (signature ~ (T.Text -> m Int64), MonadIO m) => MethodInfo BookmarkFileGetAddedMethodInfo BookmarkFile signature where+instance (signature ~ (T.Text -> m CLong), MonadIO m) => MethodInfo BookmarkFileGetAddedMethodInfo BookmarkFile signature where overloadedMethod _ = bookmarkFileGetAdded -- method BookmarkFile::get_app_info -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "exec", argType = TBasicType TUTF8, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "count", argType = TBasicType TUInt32, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "stamp", argType = TBasicType TInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "exec", argType = TBasicType TUTF8, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "count", argType = TBasicType TUInt, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "stamp", argType = TBasicType TLong, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -388,8 +392,8 @@ CString -> -- uri : TBasicType TUTF8 CString -> -- name : TBasicType TUTF8 Ptr CString -> -- exec : TBasicType TUTF8- Ptr Word32 -> -- count : TBasicType TUInt32- Ptr Int64 -> -- stamp : TBasicType TInt64+ Ptr Word32 -> -- count : TBasicType TUInt+ Ptr CLong -> -- stamp : TBasicType TLong Ptr (Ptr GError) -> -- error IO CInt @@ -399,14 +403,14 @@ BookmarkFile -- _obj -> T.Text -- uri -> T.Text -- name- -> m (T.Text,Word32,Int64) -- result+ -> m (T.Text,Word32,CLong) -- result bookmarkFileGetAppInfo _obj uri name = liftIO $ do let _obj' = unsafeManagedPtrGetPtr _obj uri' <- textToCString uri name' <- textToCString name exec <- allocMem :: IO (Ptr CString) count <- allocMem :: IO (Ptr Word32)- stamp <- allocMem :: IO (Ptr Int64)+ stamp <- allocMem :: IO (Ptr CLong) onException (do _ <- propagateGError $ g_bookmark_file_get_app_info _obj' uri' name' exec count stamp exec' <- peek exec@@ -430,14 +434,14 @@ ) data BookmarkFileGetAppInfoMethodInfo-instance (signature ~ (T.Text -> T.Text -> m (T.Text,Word32,Int64)), MonadIO m) => MethodInfo BookmarkFileGetAppInfoMethodInfo BookmarkFile signature where+instance (signature ~ (T.Text -> T.Text -> m (T.Text,Word32,CLong)), MonadIO m) => MethodInfo BookmarkFileGetAppInfoMethodInfo BookmarkFile signature where overloadedMethod _ = bookmarkFileGetAppInfo -- method BookmarkFile::get_applications -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : [Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- returnType : TCArray False (-1) 2 (TBasicType TUTF8)+-- returnType : Just (TCArray False (-1) 2 (TBasicType TUTF8)) -- throws : True -- Skip return : False @@ -482,7 +486,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : True -- Skip return : False @@ -521,7 +525,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : [Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- returnType : TCArray False (-1) 2 (TBasicType TUTF8)+-- returnType : Just (TCArray False (-1) 2 (TBasicType TUTF8)) -- throws : True -- Skip return : False @@ -566,7 +570,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "href", argType = TBasicType TUTF8, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "mime_type", argType = TBasicType TUTF8, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -616,7 +620,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -652,7 +656,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : True -- Skip return : False @@ -691,7 +695,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt64+-- returnType : Just (TBasicType TLong) -- throws : True -- Skip return : False @@ -699,14 +703,14 @@ Ptr BookmarkFile -> -- _obj : TInterface "GLib" "BookmarkFile" CString -> -- uri : TBasicType TUTF8 Ptr (Ptr GError) -> -- error- IO Int64+ IO CLong bookmarkFileGetModified :: (MonadIO m) => BookmarkFile -- _obj -> T.Text -- uri- -> m Int64 -- result+ -> m CLong -- result bookmarkFileGetModified _obj uri = liftIO $ do let _obj' = unsafeManagedPtrGetPtr _obj uri' <- textToCString uri@@ -720,14 +724,14 @@ ) data BookmarkFileGetModifiedMethodInfo-instance (signature ~ (T.Text -> m Int64), MonadIO m) => MethodInfo BookmarkFileGetModifiedMethodInfo BookmarkFile signature where+instance (signature ~ (T.Text -> m CLong), MonadIO m) => MethodInfo BookmarkFileGetModifiedMethodInfo BookmarkFile signature where overloadedMethod _ = bookmarkFileGetModified -- method BookmarkFile::get_size -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -754,7 +758,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : True -- Skip return : False @@ -797,7 +801,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : [Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- returnType : TCArray False (-1) 1 (TBasicType TUTF8)+-- returnType : Just (TCArray False (-1) 1 (TBasicType TUTF8)) -- throws : False -- Skip return : False @@ -832,7 +836,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt64+-- returnType : Just (TBasicType TLong) -- throws : True -- Skip return : False @@ -840,14 +844,14 @@ Ptr BookmarkFile -> -- _obj : TInterface "GLib" "BookmarkFile" CString -> -- uri : TBasicType TUTF8 Ptr (Ptr GError) -> -- error- IO Int64+ IO CLong bookmarkFileGetVisited :: (MonadIO m) => BookmarkFile -- _obj -> T.Text -- uri- -> m Int64 -- result+ -> m CLong -- result bookmarkFileGetVisited _obj uri = liftIO $ do let _obj' = unsafeManagedPtrGetPtr _obj uri' <- textToCString uri@@ -861,14 +865,14 @@ ) data BookmarkFileGetVisitedMethodInfo-instance (signature ~ (T.Text -> m Int64), MonadIO m) => MethodInfo BookmarkFileGetVisitedMethodInfo BookmarkFile signature where+instance (signature ~ (T.Text -> m CLong), MonadIO m) => MethodInfo BookmarkFileGetVisitedMethodInfo BookmarkFile signature where overloadedMethod _ = bookmarkFileGetVisited -- method BookmarkFile::has_application -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -909,7 +913,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -950,7 +954,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -982,7 +986,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -1020,7 +1024,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "file", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "full_path", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -1065,7 +1069,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -1101,7 +1105,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "old_uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "new_uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -1146,7 +1150,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -1187,7 +1191,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -1228,7 +1232,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -1262,16 +1266,16 @@ -- method BookmarkFile::set_added -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "added", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "added", argType = TBasicType TLong, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_bookmark_file_set_added" g_bookmark_file_set_added :: Ptr BookmarkFile -> -- _obj : TInterface "GLib" "BookmarkFile" CString -> -- uri : TBasicType TUTF8- Int64 -> -- added : TBasicType TInt64+ CLong -> -- added : TBasicType TLong IO () @@ -1279,7 +1283,7 @@ (MonadIO m) => BookmarkFile -- _obj -> T.Text -- uri- -> Int64 -- added+ -> CLong -- added -> m () -- result bookmarkFileSetAdded _obj uri added = liftIO $ do let _obj' = unsafeManagedPtrGetPtr _obj@@ -1290,14 +1294,14 @@ return () data BookmarkFileSetAddedMethodInfo-instance (signature ~ (T.Text -> Int64 -> m ()), MonadIO m) => MethodInfo BookmarkFileSetAddedMethodInfo BookmarkFile signature where+instance (signature ~ (T.Text -> CLong -> m ()), MonadIO m) => MethodInfo BookmarkFileSetAddedMethodInfo BookmarkFile signature where overloadedMethod _ = bookmarkFileSetAdded -- method BookmarkFile::set_app_info -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "exec", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "count", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "stamp", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "exec", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "count", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "stamp", argType = TBasicType TLong, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -1306,8 +1310,8 @@ CString -> -- uri : TBasicType TUTF8 CString -> -- name : TBasicType TUTF8 CString -> -- exec : TBasicType TUTF8- Int32 -> -- count : TBasicType TInt32- Int64 -> -- stamp : TBasicType TInt64+ Int32 -> -- count : TBasicType TInt+ CLong -> -- stamp : TBasicType TLong Ptr (Ptr GError) -> -- error IO CInt @@ -1319,7 +1323,7 @@ -> T.Text -- name -> T.Text -- exec -> Int32 -- count- -> Int64 -- stamp+ -> CLong -- stamp -> m () -- result bookmarkFileSetAppInfo _obj uri name exec count stamp = liftIO $ do let _obj' = unsafeManagedPtrGetPtr _obj@@ -1340,14 +1344,14 @@ ) data BookmarkFileSetAppInfoMethodInfo-instance (signature ~ (T.Text -> T.Text -> T.Text -> Int32 -> Int64 -> m ()), MonadIO m) => MethodInfo BookmarkFileSetAppInfoMethodInfo BookmarkFile signature where+instance (signature ~ (T.Text -> T.Text -> T.Text -> Int32 -> CLong -> m ()), MonadIO m) => MethodInfo BookmarkFileSetAppInfoMethodInfo BookmarkFile signature where overloadedMethod _ = bookmarkFileSetAppInfo -- method BookmarkFile::set_description -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "description", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1386,7 +1390,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "groups", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1427,7 +1431,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "href", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mime_type", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1470,7 +1474,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "is_private", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1504,7 +1508,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mime_type", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1537,16 +1541,16 @@ -- method BookmarkFile::set_modified -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "modified", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "modified", argType = TBasicType TLong, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_bookmark_file_set_modified" g_bookmark_file_set_modified :: Ptr BookmarkFile -> -- _obj : TInterface "GLib" "BookmarkFile" CString -> -- uri : TBasicType TUTF8- Int64 -> -- modified : TBasicType TInt64+ CLong -> -- modified : TBasicType TLong IO () @@ -1554,7 +1558,7 @@ (MonadIO m) => BookmarkFile -- _obj -> T.Text -- uri- -> Int64 -- modified+ -> CLong -- modified -> m () -- result bookmarkFileSetModified _obj uri modified = liftIO $ do let _obj' = unsafeManagedPtrGetPtr _obj@@ -1565,14 +1569,14 @@ return () data BookmarkFileSetModifiedMethodInfo-instance (signature ~ (T.Text -> Int64 -> m ()), MonadIO m) => MethodInfo BookmarkFileSetModifiedMethodInfo BookmarkFile signature where+instance (signature ~ (T.Text -> CLong -> m ()), MonadIO m) => MethodInfo BookmarkFileSetModifiedMethodInfo BookmarkFile signature where overloadedMethod _ = bookmarkFileSetModified -- method BookmarkFile::set_title -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "title", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1609,16 +1613,16 @@ -- method BookmarkFile::set_visited -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "visited", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "uri", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "visited", argType = TBasicType TLong, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_bookmark_file_set_visited" g_bookmark_file_set_visited :: Ptr BookmarkFile -> -- _obj : TInterface "GLib" "BookmarkFile" CString -> -- uri : TBasicType TUTF8- Int64 -> -- visited : TBasicType TInt64+ CLong -> -- visited : TBasicType TLong IO () @@ -1626,7 +1630,7 @@ (MonadIO m) => BookmarkFile -- _obj -> T.Text -- uri- -> Int64 -- visited+ -> CLong -- visited -> m () -- result bookmarkFileSetVisited _obj uri visited = liftIO $ do let _obj' = unsafeManagedPtrGetPtr _obj@@ -1637,14 +1641,14 @@ return () data BookmarkFileSetVisitedMethodInfo-instance (signature ~ (T.Text -> Int64 -> m ()), MonadIO m) => MethodInfo BookmarkFileSetVisitedMethodInfo BookmarkFile signature where+instance (signature ~ (T.Text -> CLong -> m ()), MonadIO m) => MethodInfo BookmarkFileSetVisitedMethodInfo BookmarkFile signature where overloadedMethod _ = bookmarkFileSetVisited -- method BookmarkFile::to_data -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : True -- Skip return : False @@ -1683,7 +1687,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "BookmarkFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -1719,7 +1723,7 @@ -- method type : MemberFunction -- Args : [] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt32) -- throws : False -- Skip return : False
GI/GLib/Structs/BookmarkFile.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.BookmarkFile where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/ByteArray.hs view
@@ -42,20 +42,24 @@ -- * Properties -- ** Data+ byteArrayData , byteArrayReadData ,+ byteArrayWriteData , -- ** Len+ byteArrayLen , byteArrayReadLen ,+ byteArrayWriteLen , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -74,24 +78,75 @@ newZeroByteArray :: MonadIO m => m ByteArray newZeroByteArray = liftIO $ callocBoxedBytes 16 >>= wrapBoxed ByteArray +instance tag ~ 'AttrSet => Constructible ByteArray tag where+ new _ attrs = do+ o <- newZeroByteArray+ GI.Attributes.set o attrs+ return o++ noByteArray :: Maybe ByteArray noByteArray = Nothing -byteArrayReadData :: ByteArray -> IO Word8-byteArrayReadData s = withManagedPtr s $ \ptr -> do+byteArrayReadData :: MonadIO m => ByteArray -> m Word8+byteArrayReadData s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO Word8 return val -byteArrayReadLen :: ByteArray -> IO Word32-byteArrayReadLen s = withManagedPtr s $ \ptr -> do+byteArrayWriteData :: MonadIO m => ByteArray -> Word8 -> m ()+byteArrayWriteData s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: Word8)++data ByteArrayDataFieldInfo+instance AttrInfo ByteArrayDataFieldInfo where+ type AttrAllowedOps ByteArrayDataFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ByteArrayDataFieldInfo = (~) Word8+ type AttrBaseTypeConstraint ByteArrayDataFieldInfo = (~) ByteArray+ type AttrGetType ByteArrayDataFieldInfo = Word8+ type AttrLabel ByteArrayDataFieldInfo = "data"+ attrGet _ = byteArrayReadData+ attrSet _ = byteArrayWriteData+ attrConstruct = undefined+ attrClear _ = undefined++byteArrayData :: AttrLabelProxy "data"+byteArrayData = AttrLabelProxy+++byteArrayReadLen :: MonadIO m => ByteArray -> m Word32+byteArrayReadLen s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 8) :: IO Word32 return val +byteArrayWriteLen :: MonadIO m => ByteArray -> Word32 -> m ()+byteArrayWriteLen s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (val :: Word32)++data ByteArrayLenFieldInfo+instance AttrInfo ByteArrayLenFieldInfo where+ type AttrAllowedOps ByteArrayLenFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ByteArrayLenFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ByteArrayLenFieldInfo = (~) ByteArray+ type AttrGetType ByteArrayLenFieldInfo = Word32+ type AttrLabel ByteArrayLenFieldInfo = "len"+ attrGet _ = byteArrayReadLen+ attrSet _ = byteArrayWriteLen+ attrConstruct = undefined+ attrClear _ = undefined++byteArrayLen :: AttrLabelProxy "len"+byteArrayLen = AttrLabelProxy++++type instance AttributeList ByteArray = ByteArrayAttributeList+type ByteArrayAttributeList = ('[ '("data", ByteArrayDataFieldInfo), '("len", ByteArrayLenFieldInfo)] :: [(Symbol, *)])+ -- method ByteArray::free -- method type : MemberFunction -- Args : [Arg {argCName = "array", argType = TByteArray, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "free_segment", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt8+-- returnType : Just (TBasicType TUInt8) -- throws : False -- Skip return : False @@ -117,7 +172,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "array", argType = TByteArray, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TInterface "GLib" "Bytes"+-- returnType : Just (TInterface "GLib" "Bytes") -- throws : False -- Skip return : False @@ -141,7 +196,7 @@ -- method type : MemberFunction -- Args : [] -- Lengths : []--- returnType : TByteArray+-- returnType : Just TByteArray -- throws : False -- Skip return : False @@ -163,7 +218,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "data", argType = TCArray False (-1) 1 (TBasicType TUInt8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : [Arg {argCName = "len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TByteArray+-- returnType : Just TByteArray -- throws : False -- Skip return : False @@ -190,7 +245,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "array", argType = TByteArray, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/ByteArray.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.ByteArray where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/Bytes.hs view
@@ -102,9 +102,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -122,11 +122,15 @@ noBytes :: Maybe Bytes noBytes = Nothing ++type instance AttributeList Bytes = BytesAttributeList+type BytesAttributeList = ('[ ] :: [(Symbol, *)])+ -- method Bytes::new -- method type : Constructor -- Args : [Arg {argCName = "data", argType = TCArray False (-1) 1 (TBasicType TUInt8), direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "size", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : [Arg {argCName = "size", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TInterface "GLib" "Bytes"+-- returnType : Just (TInterface "GLib" "Bytes") -- throws : False -- Skip return : False @@ -159,7 +163,7 @@ -- method type : Constructor -- Args : [Arg {argCName = "data", argType = TCArray False (-1) 1 (TBasicType TUInt8), direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "size", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : [Arg {argCName = "size", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TInterface "GLib" "Bytes"+-- returnType : Just (TInterface "GLib" "Bytes") -- throws : False -- Skip return : False @@ -191,7 +195,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Bytes", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes2", argType = TInterface "GLib" "Bytes", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -222,7 +226,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Bytes", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes2", argType = TInterface "GLib" "Bytes", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -254,7 +258,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Bytes", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "size", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : [Arg {argCName = "size", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- returnType : TCArray False (-1) 1 (TBasicType TUInt8)+-- returnType : Just (TCArray False (-1) 1 (TBasicType TUInt8)) -- throws : False -- Skip return : False @@ -287,7 +291,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Bytes", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt64+-- returnType : Just (TBasicType TUInt64) -- throws : False -- Skip return : False @@ -314,7 +318,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Bytes", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -341,7 +345,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Bytes", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "offset", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "Bytes"+-- returnType : Just (TInterface "GLib" "Bytes") -- throws : False -- Skip return : False @@ -374,7 +378,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Bytes", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "Bytes"+-- returnType : Just (TInterface "GLib" "Bytes") -- throws : False -- Skip return : False @@ -403,7 +407,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Bytes", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -430,7 +434,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Bytes", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TByteArray+-- returnType : Just TByteArray -- throws : False -- Skip return : False @@ -460,29 +464,29 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Bytes", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "size", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Just (TBasicType TPtr) -- throws : False -- Skip return : False foreign import ccall "g_bytes_unref_to_data" g_bytes_unref_to_data :: Ptr Bytes -> -- _obj : TInterface "GLib" "Bytes" Word64 -> -- size : TBasicType TUInt64- IO ()+ IO (Ptr ()) bytesUnrefToData :: (MonadIO m) => Bytes -- _obj -> Word64 -- size- -> m () -- result+ -> m (Ptr ()) -- result bytesUnrefToData _obj size = liftIO $ do let _obj' = unsafeManagedPtrGetPtr _obj- g_bytes_unref_to_data _obj' size+ result <- g_bytes_unref_to_data _obj' size touchManagedPtr _obj- return ()+ return result data BytesUnrefToDataMethodInfo-instance (signature ~ (Word64 -> m ()), MonadIO m) => MethodInfo BytesUnrefToDataMethodInfo Bytes signature where+instance (signature ~ (Word64 -> m (Ptr ())), MonadIO m) => MethodInfo BytesUnrefToDataMethodInfo Bytes signature where overloadedMethod _ = bytesUnrefToData type family ResolveBytesMethod (t :: Symbol) (o :: *) :: * where
GI/GLib/Structs/Bytes.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.Bytes where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/Checksum.hs view
@@ -56,9 +56,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -76,11 +76,15 @@ noChecksum :: Maybe Checksum noChecksum = Nothing ++type instance AttributeList Checksum = ChecksumAttributeList+type ChecksumAttributeList = ('[ ] :: [(Symbol, *)])+ -- method Checksum::new -- method type : Constructor -- Args : [Arg {argCName = "checksum_type", argType = TInterface "GLib" "ChecksumType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "Checksum"+-- returnType : Just (TInterface "GLib" "Checksum") -- throws : False -- Skip return : False @@ -104,7 +108,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Checksum", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "Checksum"+-- returnType : Just (TInterface "GLib" "Checksum") -- throws : False -- Skip return : False @@ -133,7 +137,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Checksum", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -160,7 +164,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Checksum", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -189,7 +193,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Checksum", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -216,7 +220,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Checksum", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TCArray False (-1) 2 (TBasicType TUInt8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : [Arg {argCName = "length", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -249,7 +253,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "checksum_type", argType = TInterface "GLib" "ChecksumType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt64+-- returnType : Just (TBasicType TInt64) -- throws : False -- Skip return : False
GI/GLib/Structs/Checksum.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.Checksum where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/Cond.hs view
@@ -116,9 +116,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -131,14 +131,25 @@ newZeroCond :: MonadIO m => m Cond newZeroCond = liftIO $ callocBytes 16 >>= wrapPtr Cond +instance tag ~ 'AttrSet => Constructible Cond tag where+ new _ attrs = do+ o <- newZeroCond+ GI.Attributes.set o attrs+ return o++ noCond :: Maybe Cond noCond = Nothing ++type instance AttributeList Cond = CondAttributeList+type CondAttributeList = ('[ ] :: [(Symbol, *)])+ -- method Cond::broadcast -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Cond", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -165,7 +176,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Cond", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -192,7 +203,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Cond", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -219,7 +230,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Cond", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -246,7 +257,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Cond", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mutex", argType = TInterface "GLib" "Mutex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -277,7 +288,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Cond", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mutex", argType = TInterface "GLib" "Mutex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "end_time", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False
GI/GLib/Structs/Cond.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.Cond where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/Data.hs view
@@ -20,9 +20,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -33,6 +33,10 @@ newtype Data = Data (ForeignPtr Data) noData :: Maybe Data noData = Nothing+++type instance AttributeList Data = DataAttributeList+type DataAttributeList = ('[ ] :: [(Symbol, *)]) type family ResolveDataMethod (t :: Symbol) (o :: *) :: * where ResolveDataMethod l o = MethodResolutionFailed l o
GI/GLib/Structs/Data.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.Data where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/Date.hs view
@@ -258,36 +258,48 @@ -- * Properties -- ** Day+ dateDay , dateReadDay ,+ dateWriteDay , -- ** Dmy+ dateDmy , dateReadDmy ,+ dateWriteDmy , -- ** Julian+ dateJulian , dateReadJulian ,+ dateWriteJulian , -- ** JulianDays+ dateJulianDays , dateReadJulianDays ,+ dateWriteJulianDays , -- ** Month+ dateMonth , dateReadMonth ,+ dateWriteMonth , -- ** Year dateReadYear ,+ dateWriteYear ,+ dateYear , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -306,44 +318,175 @@ newZeroDate :: MonadIO m => m Date newZeroDate = liftIO $ callocBoxedBytes 24 >>= wrapBoxed Date +instance tag ~ 'AttrSet => Constructible Date tag where+ new _ attrs = do+ o <- newZeroDate+ GI.Attributes.set o attrs+ return o++ noDate :: Maybe Date noDate = Nothing -dateReadJulianDays :: Date -> IO Word32-dateReadJulianDays s = withManagedPtr s $ \ptr -> do+dateReadJulianDays :: MonadIO m => Date -> m Word32+dateReadJulianDays s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO Word32 return val -dateReadJulian :: Date -> IO Word32-dateReadJulian s = withManagedPtr s $ \ptr -> do+dateWriteJulianDays :: MonadIO m => Date -> Word32 -> m ()+dateWriteJulianDays s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: Word32)++data DateJulianDaysFieldInfo+instance AttrInfo DateJulianDaysFieldInfo where+ type AttrAllowedOps DateJulianDaysFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint DateJulianDaysFieldInfo = (~) Word32+ type AttrBaseTypeConstraint DateJulianDaysFieldInfo = (~) Date+ type AttrGetType DateJulianDaysFieldInfo = Word32+ type AttrLabel DateJulianDaysFieldInfo = "julian_days"+ attrGet _ = dateReadJulianDays+ attrSet _ = dateWriteJulianDays+ attrConstruct = undefined+ attrClear _ = undefined++dateJulianDays :: AttrLabelProxy "julianDays"+dateJulianDays = AttrLabelProxy+++dateReadJulian :: MonadIO m => Date -> m Word32+dateReadJulian s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 4) :: IO Word32 return val -dateReadDmy :: Date -> IO Word32-dateReadDmy s = withManagedPtr s $ \ptr -> do+dateWriteJulian :: MonadIO m => Date -> Word32 -> m ()+dateWriteJulian s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 4) (val :: Word32)++data DateJulianFieldInfo+instance AttrInfo DateJulianFieldInfo where+ type AttrAllowedOps DateJulianFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint DateJulianFieldInfo = (~) Word32+ type AttrBaseTypeConstraint DateJulianFieldInfo = (~) Date+ type AttrGetType DateJulianFieldInfo = Word32+ type AttrLabel DateJulianFieldInfo = "julian"+ attrGet _ = dateReadJulian+ attrSet _ = dateWriteJulian+ attrConstruct = undefined+ attrClear _ = undefined++dateJulian :: AttrLabelProxy "julian"+dateJulian = AttrLabelProxy+++dateReadDmy :: MonadIO m => Date -> m Word32+dateReadDmy s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 8) :: IO Word32 return val -dateReadDay :: Date -> IO Word32-dateReadDay s = withManagedPtr s $ \ptr -> do+dateWriteDmy :: MonadIO m => Date -> Word32 -> m ()+dateWriteDmy s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (val :: Word32)++data DateDmyFieldInfo+instance AttrInfo DateDmyFieldInfo where+ type AttrAllowedOps DateDmyFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint DateDmyFieldInfo = (~) Word32+ type AttrBaseTypeConstraint DateDmyFieldInfo = (~) Date+ type AttrGetType DateDmyFieldInfo = Word32+ type AttrLabel DateDmyFieldInfo = "dmy"+ attrGet _ = dateReadDmy+ attrSet _ = dateWriteDmy+ attrConstruct = undefined+ attrClear _ = undefined++dateDmy :: AttrLabelProxy "dmy"+dateDmy = AttrLabelProxy+++dateReadDay :: MonadIO m => Date -> m Word32+dateReadDay s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 12) :: IO Word32 return val -dateReadMonth :: Date -> IO Word32-dateReadMonth s = withManagedPtr s $ \ptr -> do+dateWriteDay :: MonadIO m => Date -> Word32 -> m ()+dateWriteDay s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 12) (val :: Word32)++data DateDayFieldInfo+instance AttrInfo DateDayFieldInfo where+ type AttrAllowedOps DateDayFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint DateDayFieldInfo = (~) Word32+ type AttrBaseTypeConstraint DateDayFieldInfo = (~) Date+ type AttrGetType DateDayFieldInfo = Word32+ type AttrLabel DateDayFieldInfo = "day"+ attrGet _ = dateReadDay+ attrSet _ = dateWriteDay+ attrConstruct = undefined+ attrClear _ = undefined++dateDay :: AttrLabelProxy "day"+dateDay = AttrLabelProxy+++dateReadMonth :: MonadIO m => Date -> m Word32+dateReadMonth s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 16) :: IO Word32 return val -dateReadYear :: Date -> IO Word32-dateReadYear s = withManagedPtr s $ \ptr -> do+dateWriteMonth :: MonadIO m => Date -> Word32 -> m ()+dateWriteMonth s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 16) (val :: Word32)++data DateMonthFieldInfo+instance AttrInfo DateMonthFieldInfo where+ type AttrAllowedOps DateMonthFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint DateMonthFieldInfo = (~) Word32+ type AttrBaseTypeConstraint DateMonthFieldInfo = (~) Date+ type AttrGetType DateMonthFieldInfo = Word32+ type AttrLabel DateMonthFieldInfo = "month"+ attrGet _ = dateReadMonth+ attrSet _ = dateWriteMonth+ attrConstruct = undefined+ attrClear _ = undefined++dateMonth :: AttrLabelProxy "month"+dateMonth = AttrLabelProxy+++dateReadYear :: MonadIO m => Date -> m Word32+dateReadYear s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 20) :: IO Word32 return val +dateWriteYear :: MonadIO m => Date -> Word32 -> m ()+dateWriteYear s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 20) (val :: Word32)++data DateYearFieldInfo+instance AttrInfo DateYearFieldInfo where+ type AttrAllowedOps DateYearFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint DateYearFieldInfo = (~) Word32+ type AttrBaseTypeConstraint DateYearFieldInfo = (~) Date+ type AttrGetType DateYearFieldInfo = Word32+ type AttrLabel DateYearFieldInfo = "year"+ attrGet _ = dateReadYear+ attrSet _ = dateWriteYear+ attrConstruct = undefined+ attrClear _ = undefined++dateYear :: AttrLabelProxy "year"+dateYear = AttrLabelProxy++++type instance AttributeList Date = DateAttributeList+type DateAttributeList = ('[ '("julianDays", DateJulianDaysFieldInfo), '("julian", DateJulianFieldInfo), '("dmy", DateDmyFieldInfo), '("day", DateDayFieldInfo), '("month", DateMonthFieldInfo), '("year", DateYearFieldInfo)] :: [(Symbol, *)])+ -- method Date::new -- method type : Constructor -- Args : [] -- Lengths : []--- returnType : TInterface "GLib" "Date"+-- returnType : Just (TInterface "GLib" "Date") -- throws : False -- Skip return : False @@ -364,7 +507,7 @@ -- method type : Constructor -- Args : [Arg {argCName = "day", argType = TBasicType TUInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "month", argType = TInterface "GLib" "DateMonth", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "year", argType = TBasicType TUInt16, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "Date"+-- returnType : Just (TInterface "GLib" "Date") -- throws : False -- Skip return : False @@ -392,7 +535,7 @@ -- method type : Constructor -- Args : [Arg {argCName = "julian_day", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "Date"+-- returnType : Just (TInterface "GLib" "Date") -- throws : False -- Skip return : False @@ -413,15 +556,15 @@ -- method Date::add_days -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n_days", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n_days", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_date_add_days" g_date_add_days :: Ptr Date -> -- _obj : TInterface "GLib" "Date"- Word32 -> -- n_days : TBasicType TUInt32+ Word32 -> -- n_days : TBasicType TUInt IO () @@ -442,15 +585,15 @@ -- method Date::add_months -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n_months", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n_months", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_date_add_months" g_date_add_months :: Ptr Date -> -- _obj : TInterface "GLib" "Date"- Word32 -> -- n_months : TBasicType TUInt32+ Word32 -> -- n_months : TBasicType TUInt IO () @@ -471,15 +614,15 @@ -- method Date::add_years -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n_years", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n_years", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_date_add_years" g_date_add_years :: Ptr Date -> -- _obj : TInterface "GLib" "Date"- Word32 -> -- n_years : TBasicType TUInt32+ Word32 -> -- n_years : TBasicType TUInt IO () @@ -502,7 +645,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "min_date", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "max_date", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -535,15 +678,15 @@ -- method Date::clear -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n_dates", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n_dates", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_date_clear" g_date_clear :: Ptr Date -> -- _obj : TInterface "GLib" "Date"- Word32 -> -- n_dates : TBasicType TUInt32+ Word32 -> -- n_dates : TBasicType TUInt IO () @@ -566,7 +709,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "rhs", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -597,7 +740,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "date2", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -628,7 +771,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -655,7 +798,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt8+-- returnType : Just (TBasicType TUInt8) -- throws : False -- Skip return : False @@ -682,7 +825,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -709,7 +852,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -736,7 +879,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt32) -- throws : False -- Skip return : False @@ -763,7 +906,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -790,7 +933,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateMonth"+-- returnType : Just (TInterface "GLib" "DateMonth") -- throws : False -- Skip return : False @@ -818,7 +961,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -845,7 +988,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateWeekday"+-- returnType : Just (TInterface "GLib" "DateWeekday") -- throws : False -- Skip return : False @@ -873,7 +1016,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt16+-- returnType : Just (TBasicType TUInt16) -- throws : False -- Skip return : False @@ -900,7 +1043,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -928,7 +1071,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -956,7 +1099,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "date2", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -987,7 +1130,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "day", argType = TBasicType TUInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1016,7 +1159,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "day", argType = TBasicType TUInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "month", argType = TInterface "GLib" "DateMonth", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "y", argType = TBasicType TUInt16, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1050,7 +1193,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "julian_date", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1079,7 +1222,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "month", argType = TInterface "GLib" "DateMonth", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1109,7 +1252,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "str", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1140,7 +1283,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "time_", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1153,11 +1296,11 @@ dateSetTime :: (MonadIO m) => Date -- _obj- -> Int32 -- time+ -> Int32 -- time_ -> m () -- result-dateSetTime _obj time = liftIO $ do+dateSetTime _obj time_ = liftIO $ do let _obj' = unsafeManagedPtrGetPtr _obj- g_date_set_time _obj' time+ g_date_set_time _obj' time_ touchManagedPtr _obj return () @@ -1167,22 +1310,22 @@ -- method Date::set_time_t -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "timet", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "timet", argType = TBasicType TLong, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_date_set_time_t" g_date_set_time_t :: Ptr Date -> -- _obj : TInterface "GLib" "Date"- Int64 -> -- timet : TBasicType TInt64+ CLong -> -- timet : TBasicType TLong IO () dateSetTimeT :: (MonadIO m) => Date -- _obj- -> Int64 -- timet+ -> CLong -- timet -> m () -- result dateSetTimeT _obj timet = liftIO $ do let _obj' = unsafeManagedPtrGetPtr _obj@@ -1191,14 +1334,14 @@ return () data DateSetTimeTMethodInfo-instance (signature ~ (Int64 -> m ()), MonadIO m) => MethodInfo DateSetTimeTMethodInfo Date signature where+instance (signature ~ (CLong -> m ()), MonadIO m) => MethodInfo DateSetTimeTMethodInfo Date signature where overloadedMethod _ = dateSetTimeT -- method Date::set_time_val -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "timeval", argType = TInterface "GLib" "TimeVal", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1229,7 +1372,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "year", argType = TBasicType TUInt16, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1256,15 +1399,15 @@ -- method Date::subtract_days -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n_days", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n_days", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_date_subtract_days" g_date_subtract_days :: Ptr Date -> -- _obj : TInterface "GLib" "Date"- Word32 -> -- n_days : TBasicType TUInt32+ Word32 -> -- n_days : TBasicType TUInt IO () @@ -1285,15 +1428,15 @@ -- method Date::subtract_months -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n_months", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n_months", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_date_subtract_months" g_date_subtract_months :: Ptr Date -> -- _obj : TInterface "GLib" "Date"- Word32 -> -- n_months : TBasicType TUInt32+ Word32 -> -- n_months : TBasicType TUInt IO () @@ -1314,15 +1457,15 @@ -- method Date::subtract_years -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n_years", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n_years", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_date_subtract_years" g_date_subtract_years :: Ptr Date -> -- _obj : TInterface "GLib" "Date"- Word32 -> -- n_years : TBasicType TUInt32+ Word32 -> -- n_years : TBasicType TUInt IO () @@ -1343,15 +1486,15 @@ -- method Date::to_struct_tm -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "tm", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "tm", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_date_to_struct_tm" g_date_to_struct_tm :: Ptr Date -> -- _obj : TInterface "GLib" "Date"- Ptr () -> -- tm : TBasicType TVoid+ Ptr () -> -- tm : TBasicType TPtr IO () @@ -1374,7 +1517,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -1402,7 +1545,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "month", argType = TInterface "GLib" "DateMonth", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "year", argType = TBasicType TUInt16, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt8+-- returnType : Just (TBasicType TUInt8) -- throws : False -- Skip return : False @@ -1426,7 +1569,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "year", argType = TBasicType TUInt16, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt8+-- returnType : Just (TBasicType TUInt8) -- throws : False -- Skip return : False @@ -1447,7 +1590,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "year", argType = TBasicType TUInt16, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt8+-- returnType : Just (TBasicType TUInt8) -- throws : False -- Skip return : False @@ -1468,7 +1611,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "year", argType = TBasicType TUInt16, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -1490,7 +1633,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "s", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "slen", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "format", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "date", argType = TInterface "GLib" "Date", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt64+-- returnType : Just (TBasicType TUInt64) -- throws : False -- Skip return : False @@ -1523,7 +1666,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "day", argType = TBasicType TUInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -1545,7 +1688,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "day", argType = TBasicType TUInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "month", argType = TInterface "GLib" "DateMonth", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "year", argType = TBasicType TUInt16, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -1572,7 +1715,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "julian_date", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -1594,7 +1737,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "month", argType = TInterface "GLib" "DateMonth", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -1617,7 +1760,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "weekday", argType = TInterface "GLib" "DateWeekday", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -1640,7 +1783,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "year", argType = TBasicType TUInt16, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False
GI/GLib/Structs/Date.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.Date where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/DateTime.hs view
@@ -244,9 +244,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -264,21 +264,25 @@ noDateTime :: Maybe DateTime noDateTime = Nothing ++type instance AttributeList DateTime = DateTimeAttributeList+type DateTimeAttributeList = ('[ ] :: [(Symbol, *)])+ -- method DateTime::new -- method type : Constructor--- Args : [Arg {argCName = "tz", argType = TInterface "GLib" "TimeZone", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "year", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "month", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "day", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hour", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "minute", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "seconds", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "tz", argType = TInterface "GLib" "TimeZone", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "year", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "month", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "day", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hour", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "minute", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "seconds", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False foreign import ccall "g_date_time_new" g_date_time_new :: Ptr TimeZone -> -- tz : TInterface "GLib" "TimeZone"- Int32 -> -- year : TBasicType TInt32- Int32 -> -- month : TBasicType TInt32- Int32 -> -- day : TBasicType TInt32- Int32 -> -- hour : TBasicType TInt32- Int32 -> -- minute : TBasicType TInt32+ Int32 -> -- year : TBasicType TInt+ Int32 -> -- month : TBasicType TInt+ Int32 -> -- day : TBasicType TInt+ Int32 -> -- hour : TBasicType TInt+ Int32 -> -- minute : TBasicType TInt CDouble -> -- seconds : TBasicType TDouble IO (Ptr DateTime) @@ -306,7 +310,7 @@ -- method type : Constructor -- Args : [Arg {argCName = "tv", argType = TInterface "GLib" "TimeVal", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False @@ -331,7 +335,7 @@ -- method type : Constructor -- Args : [Arg {argCName = "tv", argType = TInterface "GLib" "TimeVal", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False @@ -356,7 +360,7 @@ -- method type : Constructor -- Args : [Arg {argCName = "t", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False @@ -379,7 +383,7 @@ -- method type : Constructor -- Args : [Arg {argCName = "t", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False @@ -400,18 +404,18 @@ -- method DateTime::new_local -- method type : Constructor--- Args : [Arg {argCName = "year", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "month", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "day", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hour", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "minute", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "seconds", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "year", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "month", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "day", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hour", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "minute", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "seconds", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False foreign import ccall "g_date_time_new_local" g_date_time_new_local :: - Int32 -> -- year : TBasicType TInt32- Int32 -> -- month : TBasicType TInt32- Int32 -> -- day : TBasicType TInt32- Int32 -> -- hour : TBasicType TInt32- Int32 -> -- minute : TBasicType TInt32+ Int32 -> -- year : TBasicType TInt+ Int32 -> -- month : TBasicType TInt+ Int32 -> -- day : TBasicType TInt+ Int32 -> -- hour : TBasicType TInt+ Int32 -> -- minute : TBasicType TInt CDouble -> -- seconds : TBasicType TDouble IO (Ptr DateTime) @@ -436,7 +440,7 @@ -- method type : Constructor -- Args : [Arg {argCName = "tz", argType = TInterface "GLib" "TimeZone", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False @@ -461,7 +465,7 @@ -- method type : Constructor -- Args : [] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False @@ -482,7 +486,7 @@ -- method type : Constructor -- Args : [] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False @@ -501,18 +505,18 @@ -- method DateTime::new_utc -- method type : Constructor--- Args : [Arg {argCName = "year", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "month", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "day", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hour", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "minute", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "seconds", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "year", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "month", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "day", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hour", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "minute", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "seconds", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False foreign import ccall "g_date_time_new_utc" g_date_time_new_utc :: - Int32 -> -- year : TBasicType TInt32- Int32 -> -- month : TBasicType TInt32- Int32 -> -- day : TBasicType TInt32- Int32 -> -- hour : TBasicType TInt32- Int32 -> -- minute : TBasicType TInt32+ Int32 -> -- year : TBasicType TInt+ Int32 -> -- month : TBasicType TInt+ Int32 -> -- day : TBasicType TInt+ Int32 -> -- hour : TBasicType TInt+ Int32 -> -- minute : TBasicType TInt CDouble -> -- seconds : TBasicType TDouble IO (Ptr DateTime) @@ -537,7 +541,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "timespan", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False @@ -566,15 +570,15 @@ -- method DateTime::add_days -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "days", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "days", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False foreign import ccall "g_date_time_add_days" g_date_time_add_days :: Ptr DateTime -> -- _obj : TInterface "GLib" "DateTime"- Int32 -> -- days : TBasicType TInt32+ Int32 -> -- days : TBasicType TInt IO (Ptr DateTime) @@ -597,19 +601,19 @@ -- method DateTime::add_full -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "years", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "months", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "days", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hours", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "minutes", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "seconds", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "years", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "months", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "days", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hours", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "minutes", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "seconds", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False foreign import ccall "g_date_time_add_full" g_date_time_add_full :: Ptr DateTime -> -- _obj : TInterface "GLib" "DateTime"- Int32 -> -- years : TBasicType TInt32- Int32 -> -- months : TBasicType TInt32- Int32 -> -- days : TBasicType TInt32- Int32 -> -- hours : TBasicType TInt32- Int32 -> -- minutes : TBasicType TInt32+ Int32 -> -- years : TBasicType TInt+ Int32 -> -- months : TBasicType TInt+ Int32 -> -- days : TBasicType TInt+ Int32 -> -- hours : TBasicType TInt+ Int32 -> -- minutes : TBasicType TInt CDouble -> -- seconds : TBasicType TDouble IO (Ptr DateTime) @@ -639,15 +643,15 @@ -- method DateTime::add_hours -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hours", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hours", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False foreign import ccall "g_date_time_add_hours" g_date_time_add_hours :: Ptr DateTime -> -- _obj : TInterface "GLib" "DateTime"- Int32 -> -- hours : TBasicType TInt32+ Int32 -> -- hours : TBasicType TInt IO (Ptr DateTime) @@ -670,15 +674,15 @@ -- method DateTime::add_minutes -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "minutes", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "minutes", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False foreign import ccall "g_date_time_add_minutes" g_date_time_add_minutes :: Ptr DateTime -> -- _obj : TInterface "GLib" "DateTime"- Int32 -> -- minutes : TBasicType TInt32+ Int32 -> -- minutes : TBasicType TInt IO (Ptr DateTime) @@ -701,15 +705,15 @@ -- method DateTime::add_months -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "months", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "months", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False foreign import ccall "g_date_time_add_months" g_date_time_add_months :: Ptr DateTime -> -- _obj : TInterface "GLib" "DateTime"- Int32 -> -- months : TBasicType TInt32+ Int32 -> -- months : TBasicType TInt IO (Ptr DateTime) @@ -734,7 +738,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "seconds", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False @@ -764,15 +768,15 @@ -- method DateTime::add_weeks -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "weeks", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "weeks", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False foreign import ccall "g_date_time_add_weeks" g_date_time_add_weeks :: Ptr DateTime -> -- _obj : TInterface "GLib" "DateTime"- Int32 -> -- weeks : TBasicType TInt32+ Int32 -> -- weeks : TBasicType TInt IO (Ptr DateTime) @@ -795,15 +799,15 @@ -- method DateTime::add_years -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "years", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "years", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False foreign import ccall "g_date_time_add_years" g_date_time_add_years :: Ptr DateTime -> -- _obj : TInterface "GLib" "DateTime"- Int32 -> -- years : TBasicType TInt32+ Int32 -> -- years : TBasicType TInt IO (Ptr DateTime) @@ -828,7 +832,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "begin", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt64+-- returnType : Just (TBasicType TInt64) -- throws : False -- Skip return : False @@ -859,7 +863,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "format", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -893,7 +897,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -920,7 +924,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -947,7 +951,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -974,7 +978,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -1001,7 +1005,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -1028,7 +1032,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -1055,7 +1059,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -1082,7 +1086,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -1109,7 +1113,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TDouble+-- returnType : Just (TBasicType TDouble) -- throws : False -- Skip return : False @@ -1137,7 +1141,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -1166,7 +1170,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt64+-- returnType : Just (TBasicType TInt64) -- throws : False -- Skip return : False @@ -1193,7 +1197,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -1220,7 +1224,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -1247,7 +1251,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -1272,17 +1276,17 @@ -- method DateTime::get_ymd -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "year", argType = TBasicType TInt32, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "month", argType = TBasicType TInt32, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "day", argType = TBasicType TInt32, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "year", argType = TBasicType TInt, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "month", argType = TBasicType TInt, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "day", argType = TBasicType TInt, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_date_time_get_ymd" g_date_time_get_ymd :: Ptr DateTime -> -- _obj : TInterface "GLib" "DateTime"- Ptr Int32 -> -- year : TBasicType TInt32- Ptr Int32 -> -- month : TBasicType TInt32- Ptr Int32 -> -- day : TBasicType TInt32+ Ptr Int32 -> -- year : TBasicType TInt+ Ptr Int32 -> -- month : TBasicType TInt+ Ptr Int32 -> -- day : TBasicType TInt IO () @@ -1313,7 +1317,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -1341,7 +1345,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False @@ -1370,7 +1374,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False @@ -1399,7 +1403,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "tv", argType = TInterface "GLib" "TimeVal", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -1431,7 +1435,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "tz", argType = TInterface "GLib" "TimeZone", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False @@ -1464,7 +1468,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt64+-- returnType : Just (TBasicType TInt64) -- throws : False -- Skip return : False @@ -1491,7 +1495,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "DateTime"+-- returnType : Just (TInterface "GLib" "DateTime") -- throws : False -- Skip return : False @@ -1520,7 +1524,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "DateTime", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1545,15 +1549,15 @@ -- method DateTime::compare -- method type : MemberFunction--- Args : [Arg {argCName = "dt1", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "dt2", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "dt1", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "dt2", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False foreign import ccall "g_date_time_compare" g_date_time_compare :: - Ptr () -> -- dt1 : TBasicType TVoid- Ptr () -> -- dt2 : TBasicType TVoid+ Ptr () -> -- dt1 : TBasicType TPtr+ Ptr () -> -- dt2 : TBasicType TPtr IO Int32 @@ -1568,15 +1572,15 @@ -- method DateTime::equal -- method type : MemberFunction--- Args : [Arg {argCName = "dt1", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "dt2", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "dt1", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "dt2", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False foreign import ccall "g_date_time_equal" g_date_time_equal :: - Ptr () -> -- dt1 : TBasicType TVoid- Ptr () -> -- dt2 : TBasicType TVoid+ Ptr () -> -- dt1 : TBasicType TPtr+ Ptr () -> -- dt2 : TBasicType TPtr IO CInt @@ -1592,14 +1596,14 @@ -- method DateTime::hash -- method type : MemberFunction--- Args : [Arg {argCName = "datetime", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "datetime", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False foreign import ccall "g_date_time_hash" g_date_time_hash :: - Ptr () -> -- datetime : TBasicType TVoid+ Ptr () -> -- datetime : TBasicType TPtr IO Word32
GI/GLib/Structs/DateTime.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.DateTime where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/DebugKey.hs view
@@ -20,20 +20,25 @@ -- * Properties -- ** Key+ debugKeyClearKey ,+ debugKeyKey , debugKeyReadKey ,+ debugKeyWriteKey , -- ** Value debugKeyReadValue ,+ debugKeyValue ,+ debugKeyWriteValue , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -46,19 +51,76 @@ newZeroDebugKey :: MonadIO m => m DebugKey newZeroDebugKey = liftIO $ callocBytes 16 >>= wrapPtr DebugKey +instance tag ~ 'AttrSet => Constructible DebugKey tag where+ new _ attrs = do+ o <- newZeroDebugKey+ GI.Attributes.set o attrs+ return o++ noDebugKey :: Maybe DebugKey noDebugKey = Nothing -debugKeyReadKey :: DebugKey -> IO T.Text-debugKeyReadKey s = withManagedPtr s $ \ptr -> do+debugKeyReadKey :: MonadIO m => DebugKey -> m (Maybe T.Text)+debugKeyReadKey s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO CString- val' <- cstringToText val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- cstringToText val'+ return val''+ return result -debugKeyReadValue :: DebugKey -> IO Word32-debugKeyReadValue s = withManagedPtr s $ \ptr -> do+debugKeyWriteKey :: MonadIO m => DebugKey -> CString -> m ()+debugKeyWriteKey s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: CString)++debugKeyClearKey :: MonadIO m => DebugKey -> m ()+debugKeyClearKey s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (nullPtr :: CString)++data DebugKeyKeyFieldInfo+instance AttrInfo DebugKeyKeyFieldInfo where+ type AttrAllowedOps DebugKeyKeyFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint DebugKeyKeyFieldInfo = (~) CString+ type AttrBaseTypeConstraint DebugKeyKeyFieldInfo = (~) DebugKey+ type AttrGetType DebugKeyKeyFieldInfo = Maybe T.Text+ type AttrLabel DebugKeyKeyFieldInfo = "key"+ attrGet _ = debugKeyReadKey+ attrSet _ = debugKeyWriteKey+ attrConstruct = undefined+ attrClear _ = debugKeyClearKey++debugKeyKey :: AttrLabelProxy "key"+debugKeyKey = AttrLabelProxy+++debugKeyReadValue :: MonadIO m => DebugKey -> m Word32+debugKeyReadValue s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 8) :: IO Word32 return val++debugKeyWriteValue :: MonadIO m => DebugKey -> Word32 -> m ()+debugKeyWriteValue s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (val :: Word32)++data DebugKeyValueFieldInfo+instance AttrInfo DebugKeyValueFieldInfo where+ type AttrAllowedOps DebugKeyValueFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint DebugKeyValueFieldInfo = (~) Word32+ type AttrBaseTypeConstraint DebugKeyValueFieldInfo = (~) DebugKey+ type AttrGetType DebugKeyValueFieldInfo = Word32+ type AttrLabel DebugKeyValueFieldInfo = "value"+ attrGet _ = debugKeyReadValue+ attrSet _ = debugKeyWriteValue+ attrConstruct = undefined+ attrClear _ = undefined++debugKeyValue :: AttrLabelProxy "value"+debugKeyValue = AttrLabelProxy++++type instance AttributeList DebugKey = DebugKeyAttributeList+type DebugKeyAttributeList = ('[ '("key", DebugKeyKeyFieldInfo), '("value", DebugKeyValueFieldInfo)] :: [(Symbol, *)]) type family ResolveDebugKeyMethod (t :: Symbol) (o :: *) :: * where ResolveDebugKeyMethod l o = MethodResolutionFailed l o
GI/GLib/Structs/DebugKey.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.DebugKey where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/Dir.hs view
@@ -40,9 +40,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -54,11 +54,15 @@ noDir :: Maybe Dir noDir = Nothing ++type instance AttributeList Dir = DirAttributeList+type DirAttributeList = ('[ ] :: [(Symbol, *)])+ -- method Dir::close -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Dir", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -85,7 +89,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Dir", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -114,7 +118,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Dir", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -141,7 +145,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "tmpl", argType = TBasicType TFileName, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TFileName+-- returnType : Just (TBasicType TFileName) -- throws : True -- Skip return : False
GI/GLib/Structs/Dir.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.Dir where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/HashTableIter.hs view
@@ -50,9 +50,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -65,20 +65,31 @@ newZeroHashTableIter :: MonadIO m => m HashTableIter newZeroHashTableIter = liftIO $ callocBytes 40 >>= wrapPtr HashTableIter +instance tag ~ 'AttrSet => Constructible HashTableIter tag where+ new _ attrs = do+ o <- newZeroHashTableIter+ GI.Attributes.set o attrs+ return o++ noHashTableIter :: Maybe HashTableIter noHashTableIter = Nothing ++type instance AttributeList HashTableIter = HashTableIterAttributeList+type HashTableIterAttributeList = ('[ ] :: [(Symbol, *)])+ -- method HashTableIter::init -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "HashTableIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hash_table", argType = TGHash (TBasicType TVoid) (TBasicType TVoid), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "HashTableIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hash_table", argType = TGHash (TBasicType TPtr) (TBasicType TPtr), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_hash_table_iter_init" g_hash_table_iter_init :: Ptr HashTableIter -> -- _obj : TInterface "GLib" "HashTableIter"- Ptr (GHashTable (Ptr ()) (Ptr ())) -> -- hash_table : TGHash (TBasicType TVoid) (TBasicType TVoid)+ Ptr (GHashTable (Ptr ()) (Ptr ())) -> -- hash_table : TGHash (TBasicType TPtr) (TBasicType TPtr) IO () @@ -104,49 +115,41 @@ -- method HashTableIter::next -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "HashTableIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "HashTableIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False foreign import ccall "g_hash_table_iter_next" g_hash_table_iter_next :: Ptr HashTableIter -> -- _obj : TInterface "GLib" "HashTableIter"- Ptr () -> -- key : TBasicType TVoid- Ptr () -> -- value : TBasicType TVoid+ Ptr () -> -- key : TBasicType TPtr+ Ptr () -> -- value : TBasicType TPtr IO CInt hashTableIterNext :: (MonadIO m) => HashTableIter -- _obj- -> Maybe (Ptr ()) -- key- -> Maybe (Ptr ()) -- value+ -> Ptr () -- key+ -> Ptr () -- value -> m Bool -- result hashTableIterNext _obj key value = liftIO $ do let _obj' = unsafeManagedPtrGetPtr _obj- maybeKey <- case key of- Nothing -> return nullPtr- Just jKey -> do- return jKey- maybeValue <- case value of- Nothing -> return nullPtr- Just jValue -> do- return jValue- result <- g_hash_table_iter_next _obj' maybeKey maybeValue+ result <- g_hash_table_iter_next _obj' key value let result' = (/= 0) result touchManagedPtr _obj return result' data HashTableIterNextMethodInfo-instance (signature ~ (Maybe (Ptr ()) -> Maybe (Ptr ()) -> m Bool), MonadIO m) => MethodInfo HashTableIterNextMethodInfo HashTableIter signature where+instance (signature ~ (Ptr () -> Ptr () -> m Bool), MonadIO m) => MethodInfo HashTableIterNextMethodInfo HashTableIter signature where overloadedMethod _ = hashTableIterNext -- method HashTableIter::remove -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "HashTableIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -171,15 +174,15 @@ -- method HashTableIter::replace -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "HashTableIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "HashTableIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_hash_table_iter_replace" g_hash_table_iter_replace :: Ptr HashTableIter -> -- _obj : TInterface "GLib" "HashTableIter"- Ptr () -> -- value : TBasicType TVoid+ Ptr () -> -- value : TBasicType TPtr IO () @@ -202,7 +205,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "HashTableIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/HashTableIter.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.HashTableIter where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/Hmac.hs view
@@ -43,9 +43,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -57,11 +57,15 @@ noHmac :: Maybe Hmac noHmac = Nothing ++type instance AttributeList Hmac = HmacAttributeList+type HmacAttributeList = ('[ ] :: [(Symbol, *)])+ -- method Hmac::get_digest -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Hmac", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "buffer", argType = TBasicType TUInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "digest_len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -92,7 +96,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Hmac", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -121,7 +125,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Hmac", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -148,7 +152,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Hmac", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TCArray False (-1) 2 (TBasicType TUInt8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : [Arg {argCName = "length", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/Hmac.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.Hmac where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/Hook.hs view
@@ -51,40 +51,58 @@ -- * Properties -- ** Data+ hookClearData ,+ hookData , hookReadData ,+ hookWriteData , -- ** Flags+ hookFlags , hookReadFlags ,+ hookWriteFlags , -- ** Func+ hookClearFunc ,+ hookFunc , hookReadFunc ,+ hookWriteFunc , -- ** HookId+ hookHookId , hookReadHookId ,+ hookWriteHookId , -- ** Next+ hookClearNext ,+ hookNext , hookReadNext ,+ hookWriteNext , -- ** Prev+ hookClearPrev ,+ hookPrev , hookReadPrev ,+ hookWritePrev , -- ** RefCount hookReadRefCount ,+ hookRefCount ,+ hookWriteRefCount , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -97,53 +115,223 @@ newZeroHook :: MonadIO m => m Hook newZeroHook = liftIO $ callocBytes 64 >>= wrapPtr Hook +instance tag ~ 'AttrSet => Constructible Hook tag where+ new _ attrs = do+ o <- newZeroHook+ GI.Attributes.set o attrs+ return o++ noHook :: Maybe Hook noHook = Nothing -hookReadData :: Hook -> IO (Ptr ())-hookReadData s = withManagedPtr s $ \ptr -> do+hookReadData :: MonadIO m => Hook -> m (Ptr ())+hookReadData s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO (Ptr ()) return val -hookReadNext :: Hook -> IO Hook-hookReadNext s = withManagedPtr s $ \ptr -> do+hookWriteData :: MonadIO m => Hook -> Ptr () -> m ()+hookWriteData s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: Ptr ())++hookClearData :: MonadIO m => Hook -> m ()+hookClearData s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (nullPtr :: Ptr ())++data HookDataFieldInfo+instance AttrInfo HookDataFieldInfo where+ type AttrAllowedOps HookDataFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint HookDataFieldInfo = (~) (Ptr ())+ type AttrBaseTypeConstraint HookDataFieldInfo = (~) Hook+ type AttrGetType HookDataFieldInfo = Ptr ()+ type AttrLabel HookDataFieldInfo = "data"+ attrGet _ = hookReadData+ attrSet _ = hookWriteData+ attrConstruct = undefined+ attrClear _ = hookClearData++hookData :: AttrLabelProxy "data"+hookData = AttrLabelProxy+++hookReadNext :: MonadIO m => Hook -> m (Maybe Hook)+hookReadNext s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 8) :: IO (Ptr Hook)- val' <- (newPtr 64 Hook) val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- (newPtr 64 Hook) val'+ return val''+ return result -hookReadPrev :: Hook -> IO Hook-hookReadPrev s = withManagedPtr s $ \ptr -> do+hookWriteNext :: MonadIO m => Hook -> Ptr Hook -> m ()+hookWriteNext s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (val :: Ptr Hook)++hookClearNext :: MonadIO m => Hook -> m ()+hookClearNext s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (nullPtr :: Ptr Hook)++data HookNextFieldInfo+instance AttrInfo HookNextFieldInfo where+ type AttrAllowedOps HookNextFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint HookNextFieldInfo = (~) (Ptr Hook)+ type AttrBaseTypeConstraint HookNextFieldInfo = (~) Hook+ type AttrGetType HookNextFieldInfo = Maybe Hook+ type AttrLabel HookNextFieldInfo = "next"+ attrGet _ = hookReadNext+ attrSet _ = hookWriteNext+ attrConstruct = undefined+ attrClear _ = hookClearNext++hookNext :: AttrLabelProxy "next"+hookNext = AttrLabelProxy+++hookReadPrev :: MonadIO m => Hook -> m (Maybe Hook)+hookReadPrev s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 16) :: IO (Ptr Hook)- val' <- (newPtr 64 Hook) val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- (newPtr 64 Hook) val'+ return val''+ return result -hookReadRefCount :: Hook -> IO Word32-hookReadRefCount s = withManagedPtr s $ \ptr -> do+hookWritePrev :: MonadIO m => Hook -> Ptr Hook -> m ()+hookWritePrev s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 16) (val :: Ptr Hook)++hookClearPrev :: MonadIO m => Hook -> m ()+hookClearPrev s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 16) (nullPtr :: Ptr Hook)++data HookPrevFieldInfo+instance AttrInfo HookPrevFieldInfo where+ type AttrAllowedOps HookPrevFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint HookPrevFieldInfo = (~) (Ptr Hook)+ type AttrBaseTypeConstraint HookPrevFieldInfo = (~) Hook+ type AttrGetType HookPrevFieldInfo = Maybe Hook+ type AttrLabel HookPrevFieldInfo = "prev"+ attrGet _ = hookReadPrev+ attrSet _ = hookWritePrev+ attrConstruct = undefined+ attrClear _ = hookClearPrev++hookPrev :: AttrLabelProxy "prev"+hookPrev = AttrLabelProxy+++hookReadRefCount :: MonadIO m => Hook -> m Word32+hookReadRefCount s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 24) :: IO Word32 return val -hookReadHookId :: Hook -> IO Word64-hookReadHookId s = withManagedPtr s $ \ptr -> do- val <- peek (ptr `plusPtr` 32) :: IO Word64+hookWriteRefCount :: MonadIO m => Hook -> Word32 -> m ()+hookWriteRefCount s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 24) (val :: Word32)++data HookRefCountFieldInfo+instance AttrInfo HookRefCountFieldInfo where+ type AttrAllowedOps HookRefCountFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint HookRefCountFieldInfo = (~) Word32+ type AttrBaseTypeConstraint HookRefCountFieldInfo = (~) Hook+ type AttrGetType HookRefCountFieldInfo = Word32+ type AttrLabel HookRefCountFieldInfo = "ref_count"+ attrGet _ = hookReadRefCount+ attrSet _ = hookWriteRefCount+ attrConstruct = undefined+ attrClear _ = undefined++hookRefCount :: AttrLabelProxy "refCount"+hookRefCount = AttrLabelProxy+++hookReadHookId :: MonadIO m => Hook -> m CULong+hookReadHookId s = liftIO $ withManagedPtr s $ \ptr -> do+ val <- peek (ptr `plusPtr` 32) :: IO CULong return val -hookReadFlags :: Hook -> IO Word32-hookReadFlags s = withManagedPtr s $ \ptr -> do+hookWriteHookId :: MonadIO m => Hook -> CULong -> m ()+hookWriteHookId s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 32) (val :: CULong)++data HookHookIdFieldInfo+instance AttrInfo HookHookIdFieldInfo where+ type AttrAllowedOps HookHookIdFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint HookHookIdFieldInfo = (~) CULong+ type AttrBaseTypeConstraint HookHookIdFieldInfo = (~) Hook+ type AttrGetType HookHookIdFieldInfo = CULong+ type AttrLabel HookHookIdFieldInfo = "hook_id"+ attrGet _ = hookReadHookId+ attrSet _ = hookWriteHookId+ attrConstruct = undefined+ attrClear _ = undefined++hookHookId :: AttrLabelProxy "hookId"+hookHookId = AttrLabelProxy+++hookReadFlags :: MonadIO m => Hook -> m Word32+hookReadFlags s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 40) :: IO Word32 return val -hookReadFunc :: Hook -> IO (Ptr ())-hookReadFunc s = withManagedPtr s $ \ptr -> do+hookWriteFlags :: MonadIO m => Hook -> Word32 -> m ()+hookWriteFlags s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 40) (val :: Word32)++data HookFlagsFieldInfo+instance AttrInfo HookFlagsFieldInfo where+ type AttrAllowedOps HookFlagsFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint HookFlagsFieldInfo = (~) Word32+ type AttrBaseTypeConstraint HookFlagsFieldInfo = (~) Hook+ type AttrGetType HookFlagsFieldInfo = Word32+ type AttrLabel HookFlagsFieldInfo = "flags"+ attrGet _ = hookReadFlags+ attrSet _ = hookWriteFlags+ attrConstruct = undefined+ attrClear _ = undefined++hookFlags :: AttrLabelProxy "flags"+hookFlags = AttrLabelProxy+++hookReadFunc :: MonadIO m => Hook -> m (Ptr ())+hookReadFunc s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 48) :: IO (Ptr ()) return val --- XXX Skipped getter for "Hook:destroy" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+hookWriteFunc :: MonadIO m => Hook -> Ptr () -> m ()+hookWriteFunc s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 48) (val :: Ptr ()) +hookClearFunc :: MonadIO m => Hook -> m ()+hookClearFunc s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 48) (nullPtr :: Ptr ())++data HookFuncFieldInfo+instance AttrInfo HookFuncFieldInfo where+ type AttrAllowedOps HookFuncFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint HookFuncFieldInfo = (~) (Ptr ())+ type AttrBaseTypeConstraint HookFuncFieldInfo = (~) Hook+ type AttrGetType HookFuncFieldInfo = Ptr ()+ type AttrLabel HookFuncFieldInfo = "func"+ attrGet _ = hookReadFunc+ attrSet _ = hookWriteFunc+ attrConstruct = undefined+ attrClear _ = hookClearFunc++hookFunc :: AttrLabelProxy "func"+hookFunc = AttrLabelProxy+++-- XXX Skipped attribute for "Hook:destroy" :: Not implemented: "Wrapping foreign callbacks is not supported yet"++type instance AttributeList Hook = HookAttributeList+type HookAttributeList = ('[ '("data", HookDataFieldInfo), '("next", HookNextFieldInfo), '("prev", HookPrevFieldInfo), '("refCount", HookRefCountFieldInfo), '("hookId", HookHookIdFieldInfo), '("flags", HookFlagsFieldInfo), '("func", HookFuncFieldInfo)] :: [(Symbol, *)])+ -- method Hook::compare_ids -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Hook", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "sibling", argType = TInterface "GLib" "Hook", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -172,22 +360,22 @@ -- method Hook::destroy -- method type : MemberFunction--- Args : [Arg {argCName = "hook_list", argType = TInterface "GLib" "HookList", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hook_id", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "hook_list", argType = TInterface "GLib" "HookList", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hook_id", argType = TBasicType TULong, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False foreign import ccall "g_hook_destroy" g_hook_destroy :: Ptr HookList -> -- hook_list : TInterface "GLib" "HookList"- Word64 -> -- hook_id : TBasicType TUInt64+ CULong -> -- hook_id : TBasicType TULong IO CInt hookDestroy :: (MonadIO m) => HookList -- hookList- -> Word64 -- hookId+ -> CULong -- hookId -> m Bool -- result hookDestroy hookList hookId = liftIO $ do let hookList' = unsafeManagedPtrGetPtr hookList@@ -200,7 +388,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "hook_list", argType = TInterface "GLib" "HookList", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hook", argType = TInterface "GLib" "Hook", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -227,7 +415,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "hook_list", argType = TInterface "GLib" "HookList", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hook", argType = TInterface "GLib" "Hook", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -254,7 +442,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "hook_list", argType = TInterface "GLib" "HookList", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "sibling", argType = TInterface "GLib" "Hook", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hook", argType = TInterface "GLib" "Hook", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -285,7 +473,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "hook_list", argType = TInterface "GLib" "HookList", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hook", argType = TInterface "GLib" "Hook", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -312,7 +500,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "hook_list", argType = TInterface "GLib" "HookList", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hook", argType = TInterface "GLib" "Hook", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/Hook.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.Hook where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/HookList.hs view
@@ -42,32 +42,44 @@ -- * Properties -- ** Dummy3+ hookListClearDummy3 ,+ hookListDummy3 , hookListReadDummy3 ,+ hookListWriteDummy3 , -- ** HookSize+ hookListHookSize , hookListReadHookSize ,+ hookListWriteHookSize , -- ** Hooks+ hookListClearHooks ,+ hookListHooks , hookListReadHooks ,+ hookListWriteHooks , -- ** IsSetup+ hookListIsSetup , hookListReadIsSetup ,+ hookListWriteIsSetup , -- ** SeqId hookListReadSeqId ,+ hookListSeqId ,+ hookListWriteSeqId , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -80,44 +92,163 @@ newZeroHookList :: MonadIO m => m HookList newZeroHookList = liftIO $ callocBytes 56 >>= wrapPtr HookList +instance tag ~ 'AttrSet => Constructible HookList tag where+ new _ attrs = do+ o <- newZeroHookList+ GI.Attributes.set o attrs+ return o++ noHookList :: Maybe HookList noHookList = Nothing -hookListReadSeqId :: HookList -> IO Word64-hookListReadSeqId s = withManagedPtr s $ \ptr -> do- val <- peek (ptr `plusPtr` 0) :: IO Word64+hookListReadSeqId :: MonadIO m => HookList -> m CULong+hookListReadSeqId s = liftIO $ withManagedPtr s $ \ptr -> do+ val <- peek (ptr `plusPtr` 0) :: IO CULong return val -hookListReadHookSize :: HookList -> IO Word32-hookListReadHookSize s = withManagedPtr s $ \ptr -> do+hookListWriteSeqId :: MonadIO m => HookList -> CULong -> m ()+hookListWriteSeqId s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: CULong)++data HookListSeqIdFieldInfo+instance AttrInfo HookListSeqIdFieldInfo where+ type AttrAllowedOps HookListSeqIdFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint HookListSeqIdFieldInfo = (~) CULong+ type AttrBaseTypeConstraint HookListSeqIdFieldInfo = (~) HookList+ type AttrGetType HookListSeqIdFieldInfo = CULong+ type AttrLabel HookListSeqIdFieldInfo = "seq_id"+ attrGet _ = hookListReadSeqId+ attrSet _ = hookListWriteSeqId+ attrConstruct = undefined+ attrClear _ = undefined++hookListSeqId :: AttrLabelProxy "seqId"+hookListSeqId = AttrLabelProxy+++hookListReadHookSize :: MonadIO m => HookList -> m Word32+hookListReadHookSize s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 8) :: IO Word32 return val -hookListReadIsSetup :: HookList -> IO Word32-hookListReadIsSetup s = withManagedPtr s $ \ptr -> do+hookListWriteHookSize :: MonadIO m => HookList -> Word32 -> m ()+hookListWriteHookSize s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (val :: Word32)++data HookListHookSizeFieldInfo+instance AttrInfo HookListHookSizeFieldInfo where+ type AttrAllowedOps HookListHookSizeFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint HookListHookSizeFieldInfo = (~) Word32+ type AttrBaseTypeConstraint HookListHookSizeFieldInfo = (~) HookList+ type AttrGetType HookListHookSizeFieldInfo = Word32+ type AttrLabel HookListHookSizeFieldInfo = "hook_size"+ attrGet _ = hookListReadHookSize+ attrSet _ = hookListWriteHookSize+ attrConstruct = undefined+ attrClear _ = undefined++hookListHookSize :: AttrLabelProxy "hookSize"+hookListHookSize = AttrLabelProxy+++hookListReadIsSetup :: MonadIO m => HookList -> m Word32+hookListReadIsSetup s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 12) :: IO Word32 return val -hookListReadHooks :: HookList -> IO Hook-hookListReadHooks s = withManagedPtr s $ \ptr -> do+hookListWriteIsSetup :: MonadIO m => HookList -> Word32 -> m ()+hookListWriteIsSetup s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 12) (val :: Word32)++data HookListIsSetupFieldInfo+instance AttrInfo HookListIsSetupFieldInfo where+ type AttrAllowedOps HookListIsSetupFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint HookListIsSetupFieldInfo = (~) Word32+ type AttrBaseTypeConstraint HookListIsSetupFieldInfo = (~) HookList+ type AttrGetType HookListIsSetupFieldInfo = Word32+ type AttrLabel HookListIsSetupFieldInfo = "is_setup"+ attrGet _ = hookListReadIsSetup+ attrSet _ = hookListWriteIsSetup+ attrConstruct = undefined+ attrClear _ = undefined++hookListIsSetup :: AttrLabelProxy "isSetup"+hookListIsSetup = AttrLabelProxy+++hookListReadHooks :: MonadIO m => HookList -> m (Maybe Hook)+hookListReadHooks s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 16) :: IO (Ptr Hook)- val' <- (newPtr 64 Hook) val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- (newPtr 64 Hook) val'+ return val''+ return result -hookListReadDummy3 :: HookList -> IO (Ptr ())-hookListReadDummy3 s = withManagedPtr s $ \ptr -> do+hookListWriteHooks :: MonadIO m => HookList -> Ptr Hook -> m ()+hookListWriteHooks s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 16) (val :: Ptr Hook)++hookListClearHooks :: MonadIO m => HookList -> m ()+hookListClearHooks s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 16) (nullPtr :: Ptr Hook)++data HookListHooksFieldInfo+instance AttrInfo HookListHooksFieldInfo where+ type AttrAllowedOps HookListHooksFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint HookListHooksFieldInfo = (~) (Ptr Hook)+ type AttrBaseTypeConstraint HookListHooksFieldInfo = (~) HookList+ type AttrGetType HookListHooksFieldInfo = Maybe Hook+ type AttrLabel HookListHooksFieldInfo = "hooks"+ attrGet _ = hookListReadHooks+ attrSet _ = hookListWriteHooks+ attrConstruct = undefined+ attrClear _ = hookListClearHooks++hookListHooks :: AttrLabelProxy "hooks"+hookListHooks = AttrLabelProxy+++hookListReadDummy3 :: MonadIO m => HookList -> m (Ptr ())+hookListReadDummy3 s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 24) :: IO (Ptr ()) return val --- XXX Skipped getter for "HookList:finalize_hook" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+hookListWriteDummy3 :: MonadIO m => HookList -> Ptr () -> m ()+hookListWriteDummy3 s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 24) (val :: Ptr ()) --- XXX Skipped getter for "HookList:dummy" :: Not implemented: "Don't know how to unpack C array of type TCArray False 2 (-1) (TBasicType TVoid)"+hookListClearDummy3 :: MonadIO m => HookList -> m ()+hookListClearDummy3 s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 24) (nullPtr :: Ptr ()) +data HookListDummy3FieldInfo+instance AttrInfo HookListDummy3FieldInfo where+ type AttrAllowedOps HookListDummy3FieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint HookListDummy3FieldInfo = (~) (Ptr ())+ type AttrBaseTypeConstraint HookListDummy3FieldInfo = (~) HookList+ type AttrGetType HookListDummy3FieldInfo = Ptr ()+ type AttrLabel HookListDummy3FieldInfo = "dummy3"+ attrGet _ = hookListReadDummy3+ attrSet _ = hookListWriteDummy3+ attrConstruct = undefined+ attrClear _ = hookListClearDummy3++hookListDummy3 :: AttrLabelProxy "dummy3"+hookListDummy3 = AttrLabelProxy+++-- XXX Skipped attribute for "HookList:finalize_hook" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+-- XXX Skipped attribute for "HookList:dummy" :: Not implemented: "Don't know how to unpack C array of type TCArray False 2 (-1) (TBasicType TPtr)"++type instance AttributeList HookList = HookListAttributeList+type HookListAttributeList = ('[ '("seqId", HookListSeqIdFieldInfo), '("hookSize", HookListHookSizeFieldInfo), '("isSetup", HookListIsSetupFieldInfo), '("hooks", HookListHooksFieldInfo), '("dummy3", HookListDummy3FieldInfo)] :: [(Symbol, *)])+ -- method HookList::clear -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "HookList", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -142,15 +273,15 @@ -- method HookList::init -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "HookList", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hook_size", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "HookList", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "hook_size", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_hook_list_init" g_hook_list_init :: Ptr HookList -> -- _obj : TInterface "GLib" "HookList"- Word32 -> -- hook_size : TBasicType TUInt32+ Word32 -> -- hook_size : TBasicType TUInt IO () @@ -173,7 +304,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "HookList", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "may_recurse", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -203,7 +334,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "HookList", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "may_recurse", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/HookList.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.HookList where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/IConv.hs view
@@ -27,9 +27,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -41,11 +41,15 @@ noIConv :: Maybe IConv noIConv = Nothing ++type instance AttributeList IConv = IConvAttributeList+type IConvAttributeList = ('[ ] :: [(Symbol, *)])+ -- method IConv::close -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IConv", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False
GI/GLib/Structs/IConv.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.IConv where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/IOChannel.hs view
@@ -190,9 +190,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -211,14 +211,25 @@ newZeroIOChannel :: MonadIO m => m IOChannel newZeroIOChannel = liftIO $ callocBoxedBytes 136 >>= wrapBoxed IOChannel +instance tag ~ 'AttrSet => Constructible IOChannel tag where+ new _ attrs = do+ o <- newZeroIOChannel+ GI.Attributes.set o attrs+ return o++ noIOChannel :: Maybe IOChannel noIOChannel = Nothing ++type instance AttributeList IOChannel = IOChannelAttributeList+type IOChannelAttributeList = ('[ ] :: [(Symbol, *)])+ -- method IOChannel::new_file -- method type : Constructor -- Args : [Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mode", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "IOChannel"+-- returnType : Just (TInterface "GLib" "IOChannel") -- throws : True -- Skip return : False @@ -251,14 +262,14 @@ -- method IOChannel::unix_new -- method type : Constructor--- Args : [Arg {argCName = "fd", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "fd", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "IOChannel"+-- returnType : Just (TInterface "GLib" "IOChannel") -- throws : False -- Skip return : False foreign import ccall "g_io_channel_unix_new" g_io_channel_unix_new :: - Int32 -> -- fd : TBasicType TInt32+ Int32 -> -- fd : TBasicType TInt IO (Ptr IOChannel) @@ -276,7 +287,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -303,7 +314,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "IOStatus"+-- returnType : Just (TInterface "GLib" "IOStatus") -- throws : True -- Skip return : False @@ -336,7 +347,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "IOCondition"+-- returnType : Just (TInterface "GLib" "IOCondition") -- throws : False -- Skip return : False @@ -364,7 +375,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt64+-- returnType : Just (TBasicType TUInt64) -- throws : False -- Skip return : False @@ -391,7 +402,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -419,7 +430,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -447,7 +458,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -476,7 +487,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "IOFlags"+-- returnType : Just (TInterface "GLib" "IOFlags") -- throws : False -- Skip return : False @@ -502,15 +513,15 @@ -- method IOChannel::get_line_term -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False foreign import ccall "g_io_channel_get_line_term" g_io_channel_get_line_term :: Ptr IOChannel -> -- _obj : TInterface "GLib" "IOChannel"- Int32 -> -- length : TBasicType TInt32+ Int32 -> -- length : TBasicType TInt IO CString @@ -535,7 +546,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -562,7 +573,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "buf", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "count", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_read", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "IOError"+-- returnType : Just (TInterface "GLib" "IOError") -- throws : False -- Skip return : False @@ -598,7 +609,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "buf", argType = TCArray False (-1) 2 (TBasicType TUInt8), direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = True, transfer = TransferNothing},Arg {argCName = "count", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_read", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : [Arg {argCName = "count", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TInterface "GLib" "IOStatus"+-- returnType : Just (TInterface "GLib" "IOStatus") -- throws : True -- Skip return : False @@ -643,7 +654,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "str_return", argType = TBasicType TUTF8, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "terminator_pos", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TInterface "GLib" "IOStatus"+-- returnType : Just (TInterface "GLib" "IOStatus") -- throws : True -- Skip return : False @@ -692,7 +703,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "str_return", argType = TCArray False (-1) 2 (TBasicType TUInt8), direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : [Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- returnType : TInterface "GLib" "IOStatus"+-- returnType : Just (TInterface "GLib" "IOStatus") -- throws : True -- Skip return : False @@ -736,7 +747,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "thechar", argType = TBasicType TUniChar, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TInterface "GLib" "IOStatus"+-- returnType : Just (TInterface "GLib" "IOStatus") -- throws : True -- Skip return : False @@ -774,7 +785,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "IOChannel"+-- returnType : Just (TInterface "GLib" "IOChannel") -- throws : False -- Skip return : False @@ -803,7 +814,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "offset", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "type", argType = TInterface "GLib" "SeekType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "IOError"+-- returnType : Just (TInterface "GLib" "IOError") -- throws : False -- Skip return : False @@ -836,7 +847,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "offset", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "type", argType = TInterface "GLib" "SeekType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "IOStatus"+-- returnType : Just (TInterface "GLib" "IOStatus") -- throws : True -- Skip return : False @@ -874,7 +885,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "size", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -903,7 +914,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "buffered", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -933,7 +944,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "do_close", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -963,7 +974,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "encoding", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "IOStatus"+-- returnType : Just (TInterface "GLib" "IOStatus") -- throws : True -- Skip return : False @@ -1004,7 +1015,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TInterface "GLib" "IOFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "IOStatus"+-- returnType : Just (TInterface "GLib" "IOStatus") -- throws : True -- Skip return : False @@ -1038,16 +1049,16 @@ -- method IOChannel::set_line_term -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "line_term", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "line_term", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_io_channel_set_line_term" g_io_channel_set_line_term :: Ptr IOChannel -> -- _obj : TInterface "GLib" "IOChannel" CString -> -- line_term : TBasicType TUTF8- Int32 -> -- length : TBasicType TInt32+ Int32 -> -- length : TBasicType TInt IO () @@ -1077,7 +1088,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flush", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "IOStatus"+-- returnType : Just (TInterface "GLib" "IOStatus") -- throws : True -- Skip return : False @@ -1113,7 +1124,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -1140,7 +1151,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1167,7 +1178,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "buf", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "count", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_written", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "IOError"+-- returnType : Just (TInterface "GLib" "IOError") -- throws : False -- Skip return : False @@ -1203,7 +1214,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "buf", argType = TCArray False (-1) (-1) (TBasicType TUInt8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "count", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes_written", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TInterface "GLib" "IOStatus"+-- returnType : Just (TInterface "GLib" "IOStatus") -- throws : True -- Skip return : False @@ -1244,7 +1255,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "IOChannel", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "thechar", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "IOStatus"+-- returnType : Just (TInterface "GLib" "IOStatus") -- throws : True -- Skip return : False @@ -1278,14 +1289,14 @@ -- method IOChannel::error_from_errno -- method type : MemberFunction--- Args : [Arg {argCName = "en", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "en", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "IOChannelError"+-- returnType : Just (TInterface "GLib" "IOChannelError") -- throws : False -- Skip return : False foreign import ccall "g_io_channel_error_from_errno" g_io_channel_error_from_errno :: - Int32 -> -- en : TBasicType TInt32+ Int32 -> -- en : TBasicType TInt IO CUInt @@ -1302,7 +1313,7 @@ -- method type : MemberFunction -- Args : [] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt32) -- throws : False -- Skip return : False
GI/GLib/Structs/IOChannel.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.IOChannel where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/IOFuncs.hs view
@@ -20,9 +20,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -35,24 +35,27 @@ newZeroIOFuncs :: MonadIO m => m IOFuncs newZeroIOFuncs = liftIO $ callocBytes 64 >>= wrapPtr IOFuncs -noIOFuncs :: Maybe IOFuncs-noIOFuncs = Nothing+instance tag ~ 'AttrSet => Constructible IOFuncs tag where+ new _ attrs = do+ o <- newZeroIOFuncs+ GI.Attributes.set o attrs+ return o --- XXX Skipped getter for "IOFuncs:io_read" :: Not implemented: "Wrapping foreign callbacks is not supported yet" --- XXX Skipped getter for "IOFuncs:io_write" :: Not implemented: "Wrapping foreign callbacks is not supported yet"---- XXX Skipped getter for "IOFuncs:io_seek" :: Not implemented: "Wrapping foreign callbacks is not supported yet"---- XXX Skipped getter for "IOFuncs:io_close" :: Not implemented: "Wrapping foreign callbacks is not supported yet"---- XXX Skipped getter for "IOFuncs:io_create_watch" :: Not implemented: "Wrapping foreign callbacks is not supported yet"---- XXX Skipped getter for "IOFuncs:io_free" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+noIOFuncs :: Maybe IOFuncs+noIOFuncs = Nothing --- XXX Skipped getter for "IOFuncs:io_set_flags" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+-- XXX Skipped attribute for "IOFuncs:io_read" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+-- XXX Skipped attribute for "IOFuncs:io_write" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+-- XXX Skipped attribute for "IOFuncs:io_seek" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+-- XXX Skipped attribute for "IOFuncs:io_close" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+-- XXX Skipped attribute for "IOFuncs:io_create_watch" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+-- XXX Skipped attribute for "IOFuncs:io_free" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+-- XXX Skipped attribute for "IOFuncs:io_set_flags" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+-- XXX Skipped attribute for "IOFuncs:io_get_flags" :: Not implemented: "Wrapping foreign callbacks is not supported yet" --- XXX Skipped getter for "IOFuncs:io_get_flags" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+type instance AttributeList IOFuncs = IOFuncsAttributeList+type IOFuncsAttributeList = ('[ ] :: [(Symbol, *)]) type family ResolveIOFuncsMethod (t :: Symbol) (o :: *) :: * where ResolveIOFuncsMethod l o = MethodResolutionFailed l o
GI/GLib/Structs/IOFuncs.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.IOFuncs where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/KeyFile.hs view
@@ -245,9 +245,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -265,11 +265,15 @@ noKeyFile :: Maybe KeyFile noKeyFile = Nothing ++type instance AttributeList KeyFile = KeyFileAttributeList+type KeyFileAttributeList = ('[ ] :: [(Symbol, *)])+ -- method KeyFile::new -- method type : Constructor -- Args : [] -- Lengths : []--- returnType : TInterface "GLib" "KeyFile"+-- returnType : Just (TInterface "GLib" "KeyFile") -- throws : False -- Skip return : False @@ -290,7 +294,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -331,7 +335,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : [Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- returnType : TCArray False (-1) 3 (TBasicType TBoolean)+-- returnType : Just (TCArray False (-1) 3 (TBasicType TBoolean)) -- throws : True -- Skip return : False @@ -380,7 +384,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : True -- Skip return : False @@ -428,7 +432,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TDouble+-- returnType : Just (TBasicType TDouble) -- throws : True -- Skip return : False @@ -470,7 +474,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : [Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- returnType : TCArray False (-1) 3 (TBasicType TDouble)+-- returnType : Just (TCArray False (-1) 3 (TBasicType TDouble)) -- throws : True -- Skip return : False @@ -519,7 +523,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TCArray True (-1) (-1) (TBasicType TUTF8)+-- returnType : Just (TCArray True (-1) (-1) (TBasicType TUTF8)) -- throws : False -- Skip return : False @@ -554,7 +558,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt64+-- returnType : Just (TBasicType TInt64) -- throws : True -- Skip return : False @@ -595,7 +599,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : True -- Skip return : False @@ -636,7 +640,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : [Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- returnType : TCArray False (-1) 3 (TBasicType TInt32)+-- returnType : Just (TCArray False (-1) 3 (TBasicType TInt)) -- throws : True -- Skip return : False @@ -685,7 +689,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TCArray True (-1) (-1) (TBasicType TUTF8)+-- returnType : Just (TCArray True (-1) (-1) (TBasicType TUTF8)) -- throws : True -- Skip return : False @@ -730,7 +734,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "locale", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : True -- Skip return : False @@ -783,7 +787,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "locale", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TCArray True (-1) 4 (TBasicType TUTF8)+-- returnType : Just (TCArray True (-1) 4 (TBasicType TUTF8)) -- throws : True -- Skip return : False @@ -842,7 +846,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -872,7 +876,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : True -- Skip return : False @@ -916,7 +920,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TCArray True (-1) 3 (TBasicType TUTF8)+-- returnType : Just (TCArray True (-1) 3 (TBasicType TUTF8)) -- throws : True -- Skip return : False @@ -966,7 +970,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt64+-- returnType : Just (TBasicType TUInt64) -- throws : True -- Skip return : False @@ -1007,7 +1011,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : True -- Skip return : False @@ -1051,7 +1055,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -1083,7 +1087,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TInterface "GLib" "KeyFileFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -1124,7 +1128,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "file", argType = TBasicType TFileName, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "full_path", argType = TBasicType TFileName, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "flags", argType = TInterface "GLib" "KeyFileFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -1170,7 +1174,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "file", argType = TBasicType TFileName, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "search_dirs", argType = TCArray True (-1) (-1) (TBasicType TFileName), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "full_path", argType = TBasicType TFileName, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "flags", argType = TInterface "GLib" "KeyFileFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -1223,7 +1227,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "file", argType = TBasicType TFileName, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TInterface "GLib" "KeyFileFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -1262,7 +1266,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -1311,7 +1315,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -1347,7 +1351,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -1388,7 +1392,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -1424,7 +1428,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1462,7 +1466,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "list", argType = TCArray False (-1) 4 (TBasicType TBoolean), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : [Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1503,7 +1507,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "comment", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -1557,7 +1561,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1595,7 +1599,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "list", argType = TCArray False (-1) 4 (TBasicType TDouble), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : [Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1636,7 +1640,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1671,9 +1675,9 @@ -- method KeyFile::set_integer -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1681,7 +1685,7 @@ Ptr KeyFile -> -- _obj : TInterface "GLib" "KeyFile" CString -> -- group_name : TBasicType TUTF8 CString -> -- key : TBasicType TUTF8- Int32 -> -- value : TBasicType TInt32+ Int32 -> -- value : TBasicType TInt IO () @@ -1708,9 +1712,9 @@ -- method KeyFile::set_integer_list -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "list", argType = TCArray False (-1) 4 (TBasicType TInt32), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "list", argType = TCArray False (-1) 4 (TBasicType TInt), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : [Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1718,7 +1722,7 @@ Ptr KeyFile -> -- _obj : TInterface "GLib" "KeyFile" CString -> -- group_name : TBasicType TUTF8 CString -> -- key : TBasicType TUTF8- Ptr Int32 -> -- list : TCArray False (-1) 4 (TBasicType TInt32)+ Ptr Int32 -> -- list : TCArray False (-1) 4 (TBasicType TInt) Word64 -> -- length : TBasicType TUInt64 IO () @@ -1751,7 +1755,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "separator", argType = TBasicType TInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1780,7 +1784,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "locale", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1823,7 +1827,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "locale", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "list", argType = TCArray True (-1) 5 (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1869,7 +1873,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1908,7 +1912,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "list", argType = TCArray True (-1) 4 (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1950,7 +1954,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1987,7 +1991,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -2026,7 +2030,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TUInt64, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : True -- Skip return : False @@ -2065,7 +2069,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "KeyFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -2092,7 +2096,7 @@ -- method type : MemberFunction -- Args : [] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt32) -- throws : False -- Skip return : False
GI/GLib/Structs/KeyFile.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.KeyFile where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/MainContext.hs view
@@ -143,9 +143,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -163,11 +163,15 @@ noMainContext :: Maybe MainContext noMainContext = Nothing ++type instance AttributeList MainContext = MainContextAttributeList+type MainContextAttributeList = ('[ ] :: [(Symbol, *)])+ -- method MainContext::new -- method type : Constructor -- Args : [] -- Lengths : []--- returnType : TInterface "GLib" "MainContext"+-- returnType : Just (TInterface "GLib" "MainContext") -- throws : False -- Skip return : False @@ -188,7 +192,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -214,16 +218,16 @@ -- method MainContext::add_poll -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "fd", argType = TInterface "GLib" "PollFD", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "priority", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "fd", argType = TInterface "GLib" "PollFD", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "priority", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_main_context_add_poll" g_main_context_add_poll :: Ptr MainContext -> -- _obj : TInterface "GLib" "MainContext" Ptr PollFD -> -- fd : TInterface "GLib" "PollFD"- Int32 -> -- priority : TBasicType TInt32+ Int32 -> -- priority : TBasicType TInt IO () @@ -247,17 +251,17 @@ -- method MainContext::check -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "max_priority", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "fds", argType = TCArray False (-1) 3 (TInterface "GLib" "PollFD"), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n_fds", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : [Arg {argCName = "n_fds", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TBasicType TInt32+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "max_priority", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "fds", argType = TCArray False (-1) 3 (TInterface "GLib" "PollFD"), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n_fds", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : [Arg {argCName = "n_fds", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False foreign import ccall "g_main_context_check" g_main_context_check :: Ptr MainContext -> -- _obj : TInterface "GLib" "MainContext"- Int32 -> -- max_priority : TBasicType TInt32+ Int32 -> -- max_priority : TBasicType TInt Ptr PollFD -> -- fds : TCArray False (-1) 3 (TInterface "GLib" "PollFD")- Int32 -> -- n_fds : TBasicType TInt32+ Int32 -> -- n_fds : TBasicType TInt IO Int32 @@ -286,7 +290,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -311,16 +315,16 @@ -- method MainContext::find_source_by_funcs_user_data -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "funcs", argType = TInterface "GLib" "SourceFuncs", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "funcs", argType = TInterface "GLib" "SourceFuncs", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "Source"+-- returnType : Just (TInterface "GLib" "Source") -- throws : False -- Skip return : False foreign import ccall "g_main_context_find_source_by_funcs_user_data" g_main_context_find_source_by_funcs_user_data :: Ptr MainContext -> -- _obj : TInterface "GLib" "MainContext" Ptr SourceFuncs -> -- funcs : TInterface "GLib" "SourceFuncs"- Ptr () -> -- user_data : TBasicType TVoid+ Ptr () -> -- user_data : TBasicType TPtr IO (Ptr Source) @@ -346,15 +350,15 @@ -- method MainContext::find_source_by_id -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "source_id", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "source_id", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "Source"+-- returnType : Just (TInterface "GLib" "Source") -- throws : False -- Skip return : False foreign import ccall "g_main_context_find_source_by_id" g_main_context_find_source_by_id :: Ptr MainContext -> -- _obj : TInterface "GLib" "MainContext"- Word32 -> -- source_id : TBasicType TUInt32+ Word32 -> -- source_id : TBasicType TUInt IO (Ptr Source) @@ -377,15 +381,15 @@ -- method MainContext::find_source_by_user_data -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "Source"+-- returnType : Just (TInterface "GLib" "Source") -- throws : False -- Skip return : False foreign import ccall "g_main_context_find_source_by_user_data" g_main_context_find_source_by_user_data :: Ptr MainContext -> -- _obj : TInterface "GLib" "MainContext"- Ptr () -> -- user_data : TBasicType TVoid+ Ptr () -> -- user_data : TBasicType TPtr IO (Ptr Source) @@ -408,17 +412,17 @@ -- method MainContext::invoke_full -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "priority", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "function", argType = TInterface "GLib" "SourceFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeNotified, argClosure = 3, argDestroy = 4, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "priority", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "function", argType = TInterface "GLib" "SourceFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeNotified, argClosure = 3, argDestroy = 4, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_main_context_invoke_full" g_main_context_invoke_full :: Ptr MainContext -> -- _obj : TInterface "GLib" "MainContext"- Int32 -> -- priority : TBasicType TInt32+ Int32 -> -- priority : TBasicType TInt FunPtr SourceFuncC -> -- function : TInterface "GLib" "SourceFunc"- Ptr () -> -- data : TBasicType TVoid+ Ptr () -> -- data : TBasicType TPtr FunPtr DestroyNotifyC -> -- notify : TInterface "GLib" "DestroyNotify" IO () @@ -446,7 +450,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -474,7 +478,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "may_block", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -505,7 +509,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -533,7 +537,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -558,15 +562,15 @@ -- method MainContext::prepare -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "priority", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "priority", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False foreign import ccall "g_main_context_prepare" g_main_context_prepare :: Ptr MainContext -> -- _obj : TInterface "GLib" "MainContext"- Int32 -> -- priority : TBasicType TInt32+ Int32 -> -- priority : TBasicType TInt IO CInt @@ -590,7 +594,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -615,18 +619,18 @@ -- method MainContext::query -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "max_priority", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "timeout_", argType = TBasicType TInt32, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "fds", argType = TCArray False (-1) 4 (TInterface "GLib" "PollFD"), direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = True, transfer = TransferNothing},Arg {argCName = "n_fds", argType = TBasicType TInt32, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- Lengths : [Arg {argCName = "n_fds", argType = TBasicType TInt32, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]--- returnType : TBasicType TInt32+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "max_priority", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "timeout_", argType = TBasicType TInt, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "fds", argType = TCArray False (-1) 4 (TInterface "GLib" "PollFD"), direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = True, transfer = TransferNothing},Arg {argCName = "n_fds", argType = TBasicType TInt, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- Lengths : [Arg {argCName = "n_fds", argType = TBasicType TInt, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False foreign import ccall "g_main_context_query" g_main_context_query :: Ptr MainContext -> -- _obj : TInterface "GLib" "MainContext"- Int32 -> -- max_priority : TBasicType TInt32- Ptr Int32 -> -- timeout_ : TBasicType TInt32+ Int32 -> -- max_priority : TBasicType TInt+ Ptr Int32 -> -- timeout_ : TBasicType TInt Ptr PollFD -> -- fds : TCArray False (-1) 4 (TInterface "GLib" "PollFD")- Int32 -> -- n_fds : TBasicType TInt32+ Int32 -> -- n_fds : TBasicType TInt IO Int32 @@ -639,18 +643,18 @@ mainContextQuery _obj maxPriority fds = liftIO $ do let nFds = fromIntegral $ length fds let _obj' = unsafeManagedPtrGetPtr _obj- timeout <- allocMem :: IO (Ptr Int32)+ timeout_ <- allocMem :: IO (Ptr Int32) let fds' = map unsafeManagedPtrGetPtr fds fds'' <- packBlockArray 8 fds'- result <- g_main_context_query _obj' maxPriority timeout fds'' nFds- timeout' <- peek timeout+ result <- g_main_context_query _obj' maxPriority timeout_ fds'' nFds+ timeout_' <- peek timeout_ fds''' <- (unpackBoxedArrayWithLength 8 nFds) fds'' fds'''' <- mapM (newBoxed PollFD) fds''' touchManagedPtr _obj mapM_ touchManagedPtr fds- freeMem timeout+ freeMem timeout_ freeMem fds''- return (result, timeout', fds'''')+ return (result, timeout_', fds'''') data MainContextQueryMethodInfo instance (signature ~ (Int32 -> [PollFD] -> m (Int32,Int32,[PollFD])), MonadIO m) => MethodInfo MainContextQueryMethodInfo MainContext signature where@@ -660,7 +664,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "MainContext"+-- returnType : Just (TInterface "GLib" "MainContext") -- throws : False -- Skip return : False @@ -689,7 +693,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -716,7 +720,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "fd", argType = TInterface "GLib" "PollFD", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -747,7 +751,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -774,7 +778,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "cond", argType = TInterface "GLib" "Cond", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "mutex", argType = TInterface "GLib" "Mutex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -810,7 +814,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -837,7 +841,7 @@ -- method type : MemberFunction -- Args : [] -- Lengths : []--- returnType : TInterface "GLib" "MainContext"+-- returnType : Just (TInterface "GLib" "MainContext") -- throws : False -- Skip return : False @@ -858,7 +862,7 @@ -- method type : MemberFunction -- Args : [] -- Lengths : []--- returnType : TInterface "GLib" "MainContext"+-- returnType : Just (TInterface "GLib" "MainContext") -- throws : False -- Skip return : False @@ -879,7 +883,7 @@ -- method type : MemberFunction -- Args : [] -- Lengths : []--- returnType : TInterface "GLib" "MainContext"+-- returnType : Just (TInterface "GLib" "MainContext") -- throws : False -- Skip return : False
GI/GLib/Structs/MainContext.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.MainContext where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/MainLoop.hs view
@@ -56,9 +56,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -76,11 +76,15 @@ noMainLoop :: Maybe MainLoop noMainLoop = Nothing ++type instance AttributeList MainLoop = MainLoopAttributeList+type MainLoopAttributeList = ('[ ] :: [(Symbol, *)])+ -- method MainLoop::new -- method type : Constructor -- Args : [Arg {argCName = "context", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "is_running", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "MainLoop"+-- returnType : Just (TInterface "GLib" "MainLoop") -- throws : False -- Skip return : False @@ -112,7 +116,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainLoop", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "MainContext"+-- returnType : Just (TInterface "GLib" "MainContext") -- throws : False -- Skip return : False @@ -141,7 +145,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainLoop", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -169,7 +173,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainLoop", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -196,7 +200,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainLoop", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "MainLoop"+-- returnType : Just (TInterface "GLib" "MainLoop") -- throws : False -- Skip return : False @@ -225,7 +229,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainLoop", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -252,7 +256,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MainLoop", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/MainLoop.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.MainLoop where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/MappedFile.hs view
@@ -61,9 +61,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -81,11 +81,15 @@ noMappedFile :: Maybe MappedFile noMappedFile = Nothing ++type instance AttributeList MappedFile = MappedFileAttributeList+type MappedFileAttributeList = ('[ ] :: [(Symbol, *)])+ -- method MappedFile::new -- method type : Constructor -- Args : [Arg {argCName = "filename", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "writable", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "MappedFile"+-- returnType : Just (TInterface "GLib" "MappedFile") -- throws : True -- Skip return : False @@ -116,14 +120,14 @@ -- method MappedFile::new_from_fd -- method type : Constructor--- Args : [Arg {argCName = "fd", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "writable", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "fd", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "writable", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "MappedFile"+-- returnType : Just (TInterface "GLib" "MappedFile") -- throws : True -- Skip return : False foreign import ccall "g_mapped_file_new_from_fd" g_mapped_file_new_from_fd :: - Int32 -> -- fd : TBasicType TInt32+ Int32 -> -- fd : TBasicType TInt CInt -> -- writable : TBasicType TBoolean Ptr (Ptr GError) -> -- error IO (Ptr MappedFile)@@ -149,7 +153,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MappedFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -176,7 +180,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MappedFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "Bytes"+-- returnType : Just (TInterface "GLib" "Bytes") -- throws : False -- Skip return : False @@ -205,7 +209,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MappedFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -235,7 +239,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MappedFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt64+-- returnType : Just (TBasicType TUInt64) -- throws : False -- Skip return : False @@ -262,7 +266,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MappedFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "MappedFile"+-- returnType : Just (TInterface "GLib" "MappedFile") -- throws : False -- Skip return : False @@ -291,7 +295,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MappedFile", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/MappedFile.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.MappedFile where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/MarkupParseContext.hs view
@@ -64,9 +64,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -84,18 +84,22 @@ noMarkupParseContext :: Maybe MarkupParseContext noMarkupParseContext = Nothing ++type instance AttributeList MarkupParseContext = MarkupParseContextAttributeList+type MarkupParseContextAttributeList = ('[ ] :: [(Symbol, *)])+ -- method MarkupParseContext::new -- method type : Constructor--- Args : [Arg {argCName = "parser", argType = TInterface "GLib" "MarkupParser", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TInterface "GLib" "MarkupParseFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data_dnotify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "parser", argType = TInterface "GLib" "MarkupParser", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TInterface "GLib" "MarkupParseFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data_dnotify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "MarkupParseContext"+-- returnType : Just (TInterface "GLib" "MarkupParseContext") -- throws : False -- Skip return : False foreign import ccall "g_markup_parse_context_new" g_markup_parse_context_new :: Ptr MarkupParser -> -- parser : TInterface "GLib" "MarkupParser" CUInt -> -- flags : TInterface "GLib" "MarkupParseFlags"- Ptr () -> -- user_data : TBasicType TVoid+ Ptr () -> -- user_data : TBasicType TPtr FunPtr DestroyNotifyC -> -- user_data_dnotify : TInterface "GLib" "DestroyNotify" IO (Ptr MarkupParseContext) @@ -123,7 +127,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MarkupParseContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -155,7 +159,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MarkupParseContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -182,7 +186,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MarkupParseContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -211,7 +215,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MarkupParseContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "text", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "text_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -247,16 +251,16 @@ -- method MarkupParseContext::push -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MarkupParseContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "parser", argType = TInterface "GLib" "MarkupParser", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MarkupParseContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "parser", argType = TInterface "GLib" "MarkupParser", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_markup_parse_context_push" g_markup_parse_context_push :: Ptr MarkupParseContext -> -- _obj : TInterface "GLib" "MarkupParseContext" Ptr MarkupParser -> -- parser : TInterface "GLib" "MarkupParser"- Ptr () -> -- user_data : TBasicType TVoid+ Ptr () -> -- user_data : TBasicType TPtr IO () @@ -282,7 +286,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MarkupParseContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "MarkupParseContext"+-- returnType : Just (TInterface "GLib" "MarkupParseContext") -- throws : False -- Skip return : False @@ -311,7 +315,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MarkupParseContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/MarkupParseContext.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.MarkupParseContext where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/MarkupParser.hs view
@@ -25,9 +25,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -40,18 +40,24 @@ newZeroMarkupParser :: MonadIO m => m MarkupParser newZeroMarkupParser = liftIO $ callocBytes 40 >>= wrapPtr MarkupParser -noMarkupParser :: Maybe MarkupParser-noMarkupParser = Nothing+instance tag ~ 'AttrSet => Constructible MarkupParser tag where+ new _ attrs = do+ o <- newZeroMarkupParser+ GI.Attributes.set o attrs+ return o --- XXX Skipped getter for "MarkupParser:start_element" :: Not implemented: "Wrapping foreign callbacks is not supported yet" --- XXX Skipped getter for "MarkupParser:end_element" :: Not implemented: "Wrapping foreign callbacks is not supported yet"---- XXX Skipped getter for "MarkupParser:text" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+noMarkupParser :: Maybe MarkupParser+noMarkupParser = Nothing --- XXX Skipped getter for "MarkupParser:passthrough" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+-- XXX Skipped attribute for "MarkupParser:start_element" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+-- XXX Skipped attribute for "MarkupParser:end_element" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+-- XXX Skipped attribute for "MarkupParser:text" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+-- XXX Skipped attribute for "MarkupParser:passthrough" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+-- XXX Skipped attribute for "MarkupParser:error" :: Not implemented: "Wrapping foreign callbacks is not supported yet" --- XXX Skipped getter for "MarkupParser:error" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+type instance AttributeList MarkupParser = MarkupParserAttributeList+type MarkupParserAttributeList = ('[ ] :: [(Symbol, *)]) type family ResolveMarkupParserMethod (t :: Symbol) (o :: *) :: * where ResolveMarkupParserMethod l o = MethodResolutionFailed l o
GI/GLib/Structs/MarkupParser.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.MarkupParser where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/MatchInfo.hs view
@@ -97,9 +97,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -117,11 +117,15 @@ noMatchInfo :: Maybe MatchInfo noMatchInfo = Nothing ++type instance AttributeList MatchInfo = MatchInfoAttributeList+type MatchInfoAttributeList = ('[ ] :: [(Symbol, *)])+ -- method MatchInfo::expand_references -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MatchInfo", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string_to_expand", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : True -- Skip return : False @@ -158,15 +162,15 @@ -- method MatchInfo::fetch -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MatchInfo", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_num", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MatchInfo", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_num", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False foreign import ccall "g_match_info_fetch" g_match_info_fetch :: Ptr MatchInfo -> -- _obj : TInterface "GLib" "MatchInfo"- Int32 -> -- match_num : TBasicType TInt32+ Int32 -> -- match_num : TBasicType TInt IO CString @@ -192,7 +196,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MatchInfo", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TCArray True (-1) (-1) (TBasicType TUTF8)+-- returnType : Just (TCArray True (-1) (-1) (TBasicType TUTF8)) -- throws : False -- Skip return : False @@ -223,7 +227,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MatchInfo", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -255,17 +259,17 @@ -- method MatchInfo::fetch_named_pos -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MatchInfo", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "start_pos", argType = TBasicType TInt32, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "end_pos", argType = TBasicType TInt32, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MatchInfo", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "start_pos", argType = TBasicType TInt, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "end_pos", argType = TBasicType TInt, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False foreign import ccall "g_match_info_fetch_named_pos" g_match_info_fetch_named_pos :: Ptr MatchInfo -> -- _obj : TInterface "GLib" "MatchInfo" CString -> -- name : TBasicType TUTF8- Ptr Int32 -> -- start_pos : TBasicType TInt32- Ptr Int32 -> -- end_pos : TBasicType TInt32+ Ptr Int32 -> -- start_pos : TBasicType TInt+ Ptr Int32 -> -- end_pos : TBasicType TInt IO CInt @@ -295,17 +299,17 @@ -- method MatchInfo::fetch_pos -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MatchInfo", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_num", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "start_pos", argType = TBasicType TInt32, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "end_pos", argType = TBasicType TInt32, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MatchInfo", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_num", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "start_pos", argType = TBasicType TInt, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "end_pos", argType = TBasicType TInt, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False foreign import ccall "g_match_info_fetch_pos" g_match_info_fetch_pos :: Ptr MatchInfo -> -- _obj : TInterface "GLib" "MatchInfo"- Int32 -> -- match_num : TBasicType TInt32- Ptr Int32 -> -- start_pos : TBasicType TInt32- Ptr Int32 -> -- end_pos : TBasicType TInt32+ Int32 -> -- match_num : TBasicType TInt+ Ptr Int32 -> -- start_pos : TBasicType TInt+ Ptr Int32 -> -- end_pos : TBasicType TInt IO CInt @@ -335,7 +339,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MatchInfo", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -362,7 +366,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MatchInfo", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -389,7 +393,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MatchInfo", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "Regex"+-- returnType : Just (TInterface "GLib" "Regex") -- throws : False -- Skip return : False @@ -418,7 +422,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MatchInfo", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -447,7 +451,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MatchInfo", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -475,7 +479,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MatchInfo", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -503,7 +507,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MatchInfo", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -535,7 +539,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MatchInfo", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "MatchInfo"+-- returnType : Just (TInterface "GLib" "MatchInfo") -- throws : False -- Skip return : False @@ -564,7 +568,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "MatchInfo", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/MatchInfo.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.MatchInfo where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/MemVTable.hs view
@@ -23,9 +23,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -38,10 +38,20 @@ newZeroMemVTable :: MonadIO m => m MemVTable newZeroMemVTable = liftIO $ callocBytes 48 >>= wrapPtr MemVTable +instance tag ~ 'AttrSet => Constructible MemVTable tag where+ new _ attrs = do+ o <- newZeroMemVTable+ GI.Attributes.set o attrs+ return o++ noMemVTable :: Maybe MemVTable noMemVTable = Nothing --- XXX Skipped getter for "MemVTable:free" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+-- XXX Skipped attribute for "MemVTable:free" :: Not implemented: "Wrapping foreign callbacks is not supported yet"++type instance AttributeList MemVTable = MemVTableAttributeList+type MemVTableAttributeList = ('[ ] :: [(Symbol, *)]) type family ResolveMemVTableMethod (t :: Symbol) (o :: *) :: * where ResolveMemVTableMethod l o = MethodResolutionFailed l o
GI/GLib/Structs/MemVTable.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.MemVTable where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/Node.hs view
@@ -72,32 +72,47 @@ -- * Properties -- ** Children+ nodeChildren ,+ nodeClearChildren , nodeReadChildren ,+ nodeWriteChildren , -- ** Data+ nodeClearData ,+ nodeData , nodeReadData ,+ nodeWriteData , -- ** Next+ nodeClearNext ,+ nodeNext , nodeReadNext ,+ nodeWriteNext , -- ** Parent+ nodeClearParent ,+ nodeParent , nodeReadParent ,+ nodeWriteParent , -- ** Prev+ nodeClearPrev ,+ nodePrev , nodeReadPrev ,+ nodeWritePrev , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -110,49 +125,188 @@ newZeroNode :: MonadIO m => m Node newZeroNode = liftIO $ callocBytes 40 >>= wrapPtr Node +instance tag ~ 'AttrSet => Constructible Node tag where+ new _ attrs = do+ o <- newZeroNode+ GI.Attributes.set o attrs+ return o++ noNode :: Maybe Node noNode = Nothing -nodeReadData :: Node -> IO (Ptr ())-nodeReadData s = withManagedPtr s $ \ptr -> do+nodeReadData :: MonadIO m => Node -> m (Ptr ())+nodeReadData s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO (Ptr ()) return val -nodeReadNext :: Node -> IO Node-nodeReadNext s = withManagedPtr s $ \ptr -> do+nodeWriteData :: MonadIO m => Node -> Ptr () -> m ()+nodeWriteData s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: Ptr ())++nodeClearData :: MonadIO m => Node -> m ()+nodeClearData s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (nullPtr :: Ptr ())++data NodeDataFieldInfo+instance AttrInfo NodeDataFieldInfo where+ type AttrAllowedOps NodeDataFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint NodeDataFieldInfo = (~) (Ptr ())+ type AttrBaseTypeConstraint NodeDataFieldInfo = (~) Node+ type AttrGetType NodeDataFieldInfo = Ptr ()+ type AttrLabel NodeDataFieldInfo = "data"+ attrGet _ = nodeReadData+ attrSet _ = nodeWriteData+ attrConstruct = undefined+ attrClear _ = nodeClearData++nodeData :: AttrLabelProxy "data"+nodeData = AttrLabelProxy+++nodeReadNext :: MonadIO m => Node -> m (Maybe Node)+nodeReadNext s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 8) :: IO (Ptr Node)- val' <- (newPtr 40 Node) val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- (newPtr 40 Node) val'+ return val''+ return result -nodeReadPrev :: Node -> IO Node-nodeReadPrev s = withManagedPtr s $ \ptr -> do+nodeWriteNext :: MonadIO m => Node -> Ptr Node -> m ()+nodeWriteNext s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (val :: Ptr Node)++nodeClearNext :: MonadIO m => Node -> m ()+nodeClearNext s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (nullPtr :: Ptr Node)++data NodeNextFieldInfo+instance AttrInfo NodeNextFieldInfo where+ type AttrAllowedOps NodeNextFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint NodeNextFieldInfo = (~) (Ptr Node)+ type AttrBaseTypeConstraint NodeNextFieldInfo = (~) Node+ type AttrGetType NodeNextFieldInfo = Maybe Node+ type AttrLabel NodeNextFieldInfo = "next"+ attrGet _ = nodeReadNext+ attrSet _ = nodeWriteNext+ attrConstruct = undefined+ attrClear _ = nodeClearNext++nodeNext :: AttrLabelProxy "next"+nodeNext = AttrLabelProxy+++nodeReadPrev :: MonadIO m => Node -> m (Maybe Node)+nodeReadPrev s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 16) :: IO (Ptr Node)- val' <- (newPtr 40 Node) val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- (newPtr 40 Node) val'+ return val''+ return result -nodeReadParent :: Node -> IO Node-nodeReadParent s = withManagedPtr s $ \ptr -> do+nodeWritePrev :: MonadIO m => Node -> Ptr Node -> m ()+nodeWritePrev s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 16) (val :: Ptr Node)++nodeClearPrev :: MonadIO m => Node -> m ()+nodeClearPrev s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 16) (nullPtr :: Ptr Node)++data NodePrevFieldInfo+instance AttrInfo NodePrevFieldInfo where+ type AttrAllowedOps NodePrevFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint NodePrevFieldInfo = (~) (Ptr Node)+ type AttrBaseTypeConstraint NodePrevFieldInfo = (~) Node+ type AttrGetType NodePrevFieldInfo = Maybe Node+ type AttrLabel NodePrevFieldInfo = "prev"+ attrGet _ = nodeReadPrev+ attrSet _ = nodeWritePrev+ attrConstruct = undefined+ attrClear _ = nodeClearPrev++nodePrev :: AttrLabelProxy "prev"+nodePrev = AttrLabelProxy+++nodeReadParent :: MonadIO m => Node -> m (Maybe Node)+nodeReadParent s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 24) :: IO (Ptr Node)- val' <- (newPtr 40 Node) val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- (newPtr 40 Node) val'+ return val''+ return result -nodeReadChildren :: Node -> IO Node-nodeReadChildren s = withManagedPtr s $ \ptr -> do+nodeWriteParent :: MonadIO m => Node -> Ptr Node -> m ()+nodeWriteParent s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 24) (val :: Ptr Node)++nodeClearParent :: MonadIO m => Node -> m ()+nodeClearParent s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 24) (nullPtr :: Ptr Node)++data NodeParentFieldInfo+instance AttrInfo NodeParentFieldInfo where+ type AttrAllowedOps NodeParentFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint NodeParentFieldInfo = (~) (Ptr Node)+ type AttrBaseTypeConstraint NodeParentFieldInfo = (~) Node+ type AttrGetType NodeParentFieldInfo = Maybe Node+ type AttrLabel NodeParentFieldInfo = "parent"+ attrGet _ = nodeReadParent+ attrSet _ = nodeWriteParent+ attrConstruct = undefined+ attrClear _ = nodeClearParent++nodeParent :: AttrLabelProxy "parent"+nodeParent = AttrLabelProxy+++nodeReadChildren :: MonadIO m => Node -> m (Maybe Node)+nodeReadChildren s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 32) :: IO (Ptr Node)- val' <- (newPtr 40 Node) val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- (newPtr 40 Node) val'+ return val''+ return result +nodeWriteChildren :: MonadIO m => Node -> Ptr Node -> m ()+nodeWriteChildren s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 32) (val :: Ptr Node)++nodeClearChildren :: MonadIO m => Node -> m ()+nodeClearChildren s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 32) (nullPtr :: Ptr Node)++data NodeChildrenFieldInfo+instance AttrInfo NodeChildrenFieldInfo where+ type AttrAllowedOps NodeChildrenFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint NodeChildrenFieldInfo = (~) (Ptr Node)+ type AttrBaseTypeConstraint NodeChildrenFieldInfo = (~) Node+ type AttrGetType NodeChildrenFieldInfo = Maybe Node+ type AttrLabel NodeChildrenFieldInfo = "children"+ attrGet _ = nodeReadChildren+ attrSet _ = nodeWriteChildren+ attrConstruct = undefined+ attrClear _ = nodeClearChildren++nodeChildren :: AttrLabelProxy "children"+nodeChildren = AttrLabelProxy++++type instance AttributeList Node = NodeAttributeList+type NodeAttributeList = ('[ '("data", NodeDataFieldInfo), '("next", NodeNextFieldInfo), '("prev", NodePrevFieldInfo), '("parent", NodeParentFieldInfo), '("children", NodeChildrenFieldInfo)] :: [(Symbol, *)])+ -- method Node::child_index -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Node", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Node", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False foreign import ccall "g_node_child_index" g_node_child_index :: Ptr Node -> -- _obj : TInterface "GLib" "Node"- Ptr () -> -- data : TBasicType TVoid+ Ptr () -> -- data : TBasicType TPtr IO Int32 @@ -175,7 +329,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Node", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "child", argType = TInterface "GLib" "Node", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -206,7 +360,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Node", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -233,7 +387,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Node", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -260,7 +414,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Node", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "descendant", argType = TInterface "GLib" "Node", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -292,7 +446,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Node", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -319,7 +473,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Node", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -346,7 +500,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Node", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "flags", argType = TInterface "GLib" "TraverseFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -376,7 +530,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Node", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -403,7 +557,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Node", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/Node.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.Node where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/Once.hs view
@@ -32,20 +32,25 @@ -- * Properties -- ** Retval+ onceClearRetval , onceReadRetval ,+ onceRetval ,+ onceWriteRetval , -- ** Status onceReadStatus ,+ onceStatus ,+ onceWriteStatus , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -58,30 +63,86 @@ newZeroOnce :: MonadIO m => m Once newZeroOnce = liftIO $ callocBytes 16 >>= wrapPtr Once +instance tag ~ 'AttrSet => Constructible Once tag where+ new _ attrs = do+ o <- newZeroOnce+ GI.Attributes.set o attrs+ return o++ noOnce :: Maybe Once noOnce = Nothing -onceReadStatus :: Once -> IO OnceStatus-onceReadStatus s = withManagedPtr s $ \ptr -> do+onceReadStatus :: MonadIO m => Once -> m OnceStatus+onceReadStatus s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO CUInt let val' = (toEnum . fromIntegral) val return val' -onceReadRetval :: Once -> IO (Ptr ())-onceReadRetval s = withManagedPtr s $ \ptr -> do+onceWriteStatus :: MonadIO m => Once -> OnceStatus -> m ()+onceWriteStatus s val = liftIO $ withManagedPtr s $ \ptr -> do+ let val' = (fromIntegral . fromEnum) val+ poke (ptr `plusPtr` 0) (val' :: CUInt)++data OnceStatusFieldInfo+instance AttrInfo OnceStatusFieldInfo where+ type AttrAllowedOps OnceStatusFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint OnceStatusFieldInfo = (~) OnceStatus+ type AttrBaseTypeConstraint OnceStatusFieldInfo = (~) Once+ type AttrGetType OnceStatusFieldInfo = OnceStatus+ type AttrLabel OnceStatusFieldInfo = "status"+ attrGet _ = onceReadStatus+ attrSet _ = onceWriteStatus+ attrConstruct = undefined+ attrClear _ = undefined++onceStatus :: AttrLabelProxy "status"+onceStatus = AttrLabelProxy+++onceReadRetval :: MonadIO m => Once -> m (Ptr ())+onceReadRetval s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 8) :: IO (Ptr ()) return val +onceWriteRetval :: MonadIO m => Once -> Ptr () -> m ()+onceWriteRetval s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (val :: Ptr ())++onceClearRetval :: MonadIO m => Once -> m ()+onceClearRetval s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (nullPtr :: Ptr ())++data OnceRetvalFieldInfo+instance AttrInfo OnceRetvalFieldInfo where+ type AttrAllowedOps OnceRetvalFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint OnceRetvalFieldInfo = (~) (Ptr ())+ type AttrBaseTypeConstraint OnceRetvalFieldInfo = (~) Once+ type AttrGetType OnceRetvalFieldInfo = Ptr ()+ type AttrLabel OnceRetvalFieldInfo = "retval"+ attrGet _ = onceReadRetval+ attrSet _ = onceWriteRetval+ attrConstruct = undefined+ attrClear _ = onceClearRetval++onceRetval :: AttrLabelProxy "retval"+onceRetval = AttrLabelProxy++++type instance AttributeList Once = OnceAttributeList+type OnceAttributeList = ('[ '("status", OnceStatusFieldInfo), '("retval", OnceRetvalFieldInfo)] :: [(Symbol, *)])+ -- method Once::init_enter -- method type : MemberFunction--- Args : [Arg {argCName = "location", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "location", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False foreign import ccall "g_once_init_enter" g_once_init_enter :: - Ptr () -> -- location : TBasicType TVoid+ Ptr () -> -- location : TBasicType TPtr IO CInt @@ -96,14 +157,14 @@ -- method Once::init_leave -- method type : MemberFunction--- Args : [Arg {argCName = "location", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "result", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "location", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "result", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_once_init_leave" g_once_init_leave :: - Ptr () -> -- location : TBasicType TVoid+ Ptr () -> -- location : TBasicType TPtr Word64 -> -- result : TBasicType TUInt64 IO ()
GI/GLib/Structs/Once.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.Once where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/OptionContext.hs view
@@ -69,6 +69,11 @@ optionContextGetSummary , +-- ** optionContextParse+ OptionContextParseMethodInfo ,+ optionContextParse ,++ -- ** optionContextParseStrv OptionContextParseStrvMethodInfo , optionContextParseStrv ,@@ -118,9 +123,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -132,11 +137,15 @@ noOptionContext :: Maybe OptionContext noOptionContext = Nothing ++type instance AttributeList OptionContext = OptionContextAttributeList+type OptionContextAttributeList = ('[ ] :: [(Symbol, *)])+ -- method OptionContext::add_group -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group", argType = TInterface "GLib" "OptionGroup", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -167,7 +176,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "entries", argType = TInterface "GLib" "OptionEntry", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "translation_domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -206,7 +215,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -233,7 +242,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -262,7 +271,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "main_help", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group", argType = TInterface "GLib" "OptionGroup", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -303,7 +312,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -331,7 +340,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -359,7 +368,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "OptionGroup"+-- returnType : Just (TInterface "GLib" "OptionGroup") -- throws : False -- Skip return : False @@ -388,7 +397,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -416,7 +425,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -441,13 +450,68 @@ instance (signature ~ (m T.Text), MonadIO m) => MethodInfo OptionContextGetSummaryMethodInfo OptionContext signature where overloadedMethod _ = optionContextGetSummary --- XXX Could not generate method OptionContext::parse--- Error was : Bad introspection data: "argument \"argc\" is not of nullable type (TBasicType TInt32), but it is marked as such."+-- method OptionContext::parse+-- method type : OrdinaryMethod+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "argc", argType = TBasicType TInt, direction = DirectionInout, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything},Arg {argCName = "argv", argType = TCArray False (-1) 1 (TBasicType TUTF8), direction = DirectionInout, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- Lengths : [Arg {argCName = "argc", argType = TBasicType TInt, direction = DirectionInout, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- returnType : Just (TBasicType TBoolean)+-- throws : True+-- Skip return : False++foreign import ccall "g_option_context_parse" g_option_context_parse :: + Ptr OptionContext -> -- _obj : TInterface "GLib" "OptionContext"+ Ptr Int32 -> -- argc : TBasicType TInt+ Ptr (Ptr CString) -> -- argv : TCArray False (-1) 1 (TBasicType TUTF8)+ Ptr (Ptr GError) -> -- error+ IO CInt+++optionContextParse ::+ (MonadIO m) =>+ OptionContext -- _obj+ -> Maybe ([T.Text]) -- argv+ -> m ((Maybe [T.Text])) -- result+optionContextParse _obj argv = liftIO $ do+ let argc = case argv of+ Nothing -> 0+ Just jArgv -> fromIntegral $ length jArgv+ let _obj' = unsafeManagedPtrGetPtr _obj+ argc' <- allocMem :: IO (Ptr Int32)+ poke argc' argc+ maybeArgv <- case argv of+ Nothing -> return nullPtr+ Just jArgv -> do+ jArgv' <- packUTF8CArray jArgv+ return jArgv'+ maybeArgv' <- allocMem :: IO (Ptr (Ptr CString))+ poke maybeArgv' maybeArgv+ onException (do+ _ <- propagateGError $ g_option_context_parse _obj' argc' maybeArgv'+ argc'' <- peek argc'+ maybeArgv'' <- peek maybeArgv'+ maybeMaybeArgv'' <- convertIfNonNull maybeArgv'' $ \maybeArgv''' -> do+ maybeArgv'''' <- (unpackUTF8CArrayWithLength argc'') maybeArgv'''+ (mapCArrayWithLength argc'') freeMem maybeArgv'''+ freeMem maybeArgv'''+ return maybeArgv''''+ touchManagedPtr _obj+ freeMem argc'+ freeMem maybeArgv'+ return maybeMaybeArgv''+ ) (do+ freeMem argc'+ freeMem maybeArgv'+ )++data OptionContextParseMethodInfo+instance (signature ~ (Maybe ([T.Text]) -> m ((Maybe [T.Text]))), MonadIO m) => MethodInfo OptionContextParseMethodInfo OptionContext signature where+ overloadedMethod _ = optionContextParse+ -- method OptionContext::parse_strv -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "arguments", argType = TCArray False (-1) (-1) (TBasicType TUTF8), direction = DirectionInout, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -485,7 +549,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "description", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -520,7 +584,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "help_enabled", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -550,7 +614,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "ignore_unknown", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -580,7 +644,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "group", argType = TInterface "GLib" "OptionGroup", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -611,7 +675,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "strict_posix", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -641,7 +705,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "summary", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -674,16 +738,16 @@ -- method OptionContext::set_translate_func -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TInterface "GLib" "TranslateFunc", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeNotified, argClosure = 2, argDestroy = 3, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "destroy_notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TInterface "GLib" "TranslateFunc", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeNotified, argClosure = 2, argDestroy = 3, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "destroy_notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_option_context_set_translate_func" g_option_context_set_translate_func :: Ptr OptionContext -> -- _obj : TInterface "GLib" "OptionContext" FunPtr TranslateFuncC -> -- func : TInterface "GLib" "TranslateFunc"- Ptr () -> -- data : TBasicType TVoid+ Ptr () -> -- data : TBasicType TPtr FunPtr DestroyNotifyC -> -- destroy_notify : TInterface "GLib" "DestroyNotify" IO () @@ -714,7 +778,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionContext", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -745,6 +809,7 @@ ResolveOptionContextMethod "addGroup" o = OptionContextAddGroupMethodInfo ResolveOptionContextMethod "addMainEntries" o = OptionContextAddMainEntriesMethodInfo ResolveOptionContextMethod "free" o = OptionContextFreeMethodInfo+ ResolveOptionContextMethod "parse" o = OptionContextParseMethodInfo ResolveOptionContextMethod "parseStrv" o = OptionContextParseStrvMethodInfo ResolveOptionContextMethod "getDescription" o = OptionContextGetDescriptionMethodInfo ResolveOptionContextMethod "getHelp" o = OptionContextGetHelpMethodInfo
GI/GLib/Structs/OptionContext.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.OptionContext where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -18,6 +18,7 @@ data OptionContextGetMainGroupMethodInfo data OptionContextGetStrictPosixMethodInfo data OptionContextGetSummaryMethodInfo+data OptionContextParseMethodInfo data OptionContextParseStrvMethodInfo data OptionContextSetDescriptionMethodInfo data OptionContextSetHelpEnabledMethodInfo
GI/GLib/Structs/OptionEntry.hs view
@@ -21,40 +21,58 @@ -- * Properties -- ** Arg+ optionEntryArg , optionEntryReadArg ,+ optionEntryWriteArg , -- ** ArgData+ optionEntryArgData ,+ optionEntryClearArgData , optionEntryReadArgData ,+ optionEntryWriteArgData , -- ** ArgDescription+ optionEntryArgDescription ,+ optionEntryClearArgDescription , optionEntryReadArgDescription ,+ optionEntryWriteArgDescription , -- ** Description+ optionEntryClearDescription ,+ optionEntryDescription , optionEntryReadDescription ,+ optionEntryWriteDescription , -- ** Flags+ optionEntryFlags , optionEntryReadFlags ,+ optionEntryWriteFlags , -- ** LongName+ optionEntryClearLongName ,+ optionEntryLongName , optionEntryReadLongName ,+ optionEntryWriteLongName , -- ** ShortName optionEntryReadShortName ,+ optionEntryShortName ,+ optionEntryWriteShortName , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -67,47 +85,221 @@ newZeroOptionEntry :: MonadIO m => m OptionEntry newZeroOptionEntry = liftIO $ callocBytes 48 >>= wrapPtr OptionEntry +instance tag ~ 'AttrSet => Constructible OptionEntry tag where+ new _ attrs = do+ o <- newZeroOptionEntry+ GI.Attributes.set o attrs+ return o++ noOptionEntry :: Maybe OptionEntry noOptionEntry = Nothing -optionEntryReadLongName :: OptionEntry -> IO T.Text-optionEntryReadLongName s = withManagedPtr s $ \ptr -> do+optionEntryReadLongName :: MonadIO m => OptionEntry -> m (Maybe T.Text)+optionEntryReadLongName s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO CString- val' <- cstringToText val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- cstringToText val'+ return val''+ return result -optionEntryReadShortName :: OptionEntry -> IO Int8-optionEntryReadShortName s = withManagedPtr s $ \ptr -> do+optionEntryWriteLongName :: MonadIO m => OptionEntry -> CString -> m ()+optionEntryWriteLongName s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: CString)++optionEntryClearLongName :: MonadIO m => OptionEntry -> m ()+optionEntryClearLongName s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (nullPtr :: CString)++data OptionEntryLongNameFieldInfo+instance AttrInfo OptionEntryLongNameFieldInfo where+ type AttrAllowedOps OptionEntryLongNameFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint OptionEntryLongNameFieldInfo = (~) CString+ type AttrBaseTypeConstraint OptionEntryLongNameFieldInfo = (~) OptionEntry+ type AttrGetType OptionEntryLongNameFieldInfo = Maybe T.Text+ type AttrLabel OptionEntryLongNameFieldInfo = "long_name"+ attrGet _ = optionEntryReadLongName+ attrSet _ = optionEntryWriteLongName+ attrConstruct = undefined+ attrClear _ = optionEntryClearLongName++optionEntryLongName :: AttrLabelProxy "longName"+optionEntryLongName = AttrLabelProxy+++optionEntryReadShortName :: MonadIO m => OptionEntry -> m Int8+optionEntryReadShortName s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 8) :: IO Int8 return val -optionEntryReadFlags :: OptionEntry -> IO Int32-optionEntryReadFlags s = withManagedPtr s $ \ptr -> do+optionEntryWriteShortName :: MonadIO m => OptionEntry -> Int8 -> m ()+optionEntryWriteShortName s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (val :: Int8)++data OptionEntryShortNameFieldInfo+instance AttrInfo OptionEntryShortNameFieldInfo where+ type AttrAllowedOps OptionEntryShortNameFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint OptionEntryShortNameFieldInfo = (~) Int8+ type AttrBaseTypeConstraint OptionEntryShortNameFieldInfo = (~) OptionEntry+ type AttrGetType OptionEntryShortNameFieldInfo = Int8+ type AttrLabel OptionEntryShortNameFieldInfo = "short_name"+ attrGet _ = optionEntryReadShortName+ attrSet _ = optionEntryWriteShortName+ attrConstruct = undefined+ attrClear _ = undefined++optionEntryShortName :: AttrLabelProxy "shortName"+optionEntryShortName = AttrLabelProxy+++optionEntryReadFlags :: MonadIO m => OptionEntry -> m Int32+optionEntryReadFlags s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 12) :: IO Int32 return val -optionEntryReadArg :: OptionEntry -> IO OptionArg-optionEntryReadArg s = withManagedPtr s $ \ptr -> do+optionEntryWriteFlags :: MonadIO m => OptionEntry -> Int32 -> m ()+optionEntryWriteFlags s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 12) (val :: Int32)++data OptionEntryFlagsFieldInfo+instance AttrInfo OptionEntryFlagsFieldInfo where+ type AttrAllowedOps OptionEntryFlagsFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint OptionEntryFlagsFieldInfo = (~) Int32+ type AttrBaseTypeConstraint OptionEntryFlagsFieldInfo = (~) OptionEntry+ type AttrGetType OptionEntryFlagsFieldInfo = Int32+ type AttrLabel OptionEntryFlagsFieldInfo = "flags"+ attrGet _ = optionEntryReadFlags+ attrSet _ = optionEntryWriteFlags+ attrConstruct = undefined+ attrClear _ = undefined++optionEntryFlags :: AttrLabelProxy "flags"+optionEntryFlags = AttrLabelProxy+++optionEntryReadArg :: MonadIO m => OptionEntry -> m OptionArg+optionEntryReadArg s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 16) :: IO CUInt let val' = (toEnum . fromIntegral) val return val' -optionEntryReadArgData :: OptionEntry -> IO (Ptr ())-optionEntryReadArgData s = withManagedPtr s $ \ptr -> do+optionEntryWriteArg :: MonadIO m => OptionEntry -> OptionArg -> m ()+optionEntryWriteArg s val = liftIO $ withManagedPtr s $ \ptr -> do+ let val' = (fromIntegral . fromEnum) val+ poke (ptr `plusPtr` 16) (val' :: CUInt)++data OptionEntryArgFieldInfo+instance AttrInfo OptionEntryArgFieldInfo where+ type AttrAllowedOps OptionEntryArgFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint OptionEntryArgFieldInfo = (~) OptionArg+ type AttrBaseTypeConstraint OptionEntryArgFieldInfo = (~) OptionEntry+ type AttrGetType OptionEntryArgFieldInfo = OptionArg+ type AttrLabel OptionEntryArgFieldInfo = "arg"+ attrGet _ = optionEntryReadArg+ attrSet _ = optionEntryWriteArg+ attrConstruct = undefined+ attrClear _ = undefined++optionEntryArg :: AttrLabelProxy "arg"+optionEntryArg = AttrLabelProxy+++optionEntryReadArgData :: MonadIO m => OptionEntry -> m (Ptr ())+optionEntryReadArgData s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 24) :: IO (Ptr ()) return val -optionEntryReadDescription :: OptionEntry -> IO T.Text-optionEntryReadDescription s = withManagedPtr s $ \ptr -> do+optionEntryWriteArgData :: MonadIO m => OptionEntry -> Ptr () -> m ()+optionEntryWriteArgData s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 24) (val :: Ptr ())++optionEntryClearArgData :: MonadIO m => OptionEntry -> m ()+optionEntryClearArgData s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 24) (nullPtr :: Ptr ())++data OptionEntryArgDataFieldInfo+instance AttrInfo OptionEntryArgDataFieldInfo where+ type AttrAllowedOps OptionEntryArgDataFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint OptionEntryArgDataFieldInfo = (~) (Ptr ())+ type AttrBaseTypeConstraint OptionEntryArgDataFieldInfo = (~) OptionEntry+ type AttrGetType OptionEntryArgDataFieldInfo = Ptr ()+ type AttrLabel OptionEntryArgDataFieldInfo = "arg_data"+ attrGet _ = optionEntryReadArgData+ attrSet _ = optionEntryWriteArgData+ attrConstruct = undefined+ attrClear _ = optionEntryClearArgData++optionEntryArgData :: AttrLabelProxy "argData"+optionEntryArgData = AttrLabelProxy+++optionEntryReadDescription :: MonadIO m => OptionEntry -> m (Maybe T.Text)+optionEntryReadDescription s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 32) :: IO CString- val' <- cstringToText val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- cstringToText val'+ return val''+ return result -optionEntryReadArgDescription :: OptionEntry -> IO T.Text-optionEntryReadArgDescription s = withManagedPtr s $ \ptr -> do+optionEntryWriteDescription :: MonadIO m => OptionEntry -> CString -> m ()+optionEntryWriteDescription s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 32) (val :: CString)++optionEntryClearDescription :: MonadIO m => OptionEntry -> m ()+optionEntryClearDescription s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 32) (nullPtr :: CString)++data OptionEntryDescriptionFieldInfo+instance AttrInfo OptionEntryDescriptionFieldInfo where+ type AttrAllowedOps OptionEntryDescriptionFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint OptionEntryDescriptionFieldInfo = (~) CString+ type AttrBaseTypeConstraint OptionEntryDescriptionFieldInfo = (~) OptionEntry+ type AttrGetType OptionEntryDescriptionFieldInfo = Maybe T.Text+ type AttrLabel OptionEntryDescriptionFieldInfo = "description"+ attrGet _ = optionEntryReadDescription+ attrSet _ = optionEntryWriteDescription+ attrConstruct = undefined+ attrClear _ = optionEntryClearDescription++optionEntryDescription :: AttrLabelProxy "description"+optionEntryDescription = AttrLabelProxy+++optionEntryReadArgDescription :: MonadIO m => OptionEntry -> m (Maybe T.Text)+optionEntryReadArgDescription s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 40) :: IO CString- val' <- cstringToText val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- cstringToText val'+ return val''+ return result++optionEntryWriteArgDescription :: MonadIO m => OptionEntry -> CString -> m ()+optionEntryWriteArgDescription s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 40) (val :: CString)++optionEntryClearArgDescription :: MonadIO m => OptionEntry -> m ()+optionEntryClearArgDescription s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 40) (nullPtr :: CString)++data OptionEntryArgDescriptionFieldInfo+instance AttrInfo OptionEntryArgDescriptionFieldInfo where+ type AttrAllowedOps OptionEntryArgDescriptionFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint OptionEntryArgDescriptionFieldInfo = (~) CString+ type AttrBaseTypeConstraint OptionEntryArgDescriptionFieldInfo = (~) OptionEntry+ type AttrGetType OptionEntryArgDescriptionFieldInfo = Maybe T.Text+ type AttrLabel OptionEntryArgDescriptionFieldInfo = "arg_description"+ attrGet _ = optionEntryReadArgDescription+ attrSet _ = optionEntryWriteArgDescription+ attrConstruct = undefined+ attrClear _ = optionEntryClearArgDescription++optionEntryArgDescription :: AttrLabelProxy "argDescription"+optionEntryArgDescription = AttrLabelProxy++++type instance AttributeList OptionEntry = OptionEntryAttributeList+type OptionEntryAttributeList = ('[ '("longName", OptionEntryLongNameFieldInfo), '("shortName", OptionEntryShortNameFieldInfo), '("flags", OptionEntryFlagsFieldInfo), '("arg", OptionEntryArgFieldInfo), '("argData", OptionEntryArgDataFieldInfo), '("description", OptionEntryDescriptionFieldInfo), '("argDescription", OptionEntryArgDescriptionFieldInfo)] :: [(Symbol, *)]) type family ResolveOptionEntryMethod (t :: Symbol) (o :: *) :: * where ResolveOptionEntryMethod l o = MethodResolutionFailed l o
GI/GLib/Structs/OptionEntry.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.OptionEntry where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/OptionGroup.hs view
@@ -61,9 +61,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -81,11 +81,15 @@ noOptionGroup :: Maybe OptionGroup noOptionGroup = Nothing ++type instance AttributeList OptionGroup = OptionGroupAttributeList+type OptionGroupAttributeList = ('[ ] :: [(Symbol, *)])+ -- method OptionGroup::new -- method type : Constructor--- Args : [Arg {argCName = "name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "description", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "help_description", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "destroy", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "description", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "help_description", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "destroy", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "OptionGroup"+-- returnType : Just (TInterface "GLib" "OptionGroup") -- throws : False -- Skip return : False @@ -93,7 +97,7 @@ CString -> -- name : TBasicType TUTF8 CString -> -- description : TBasicType TUTF8 CString -> -- help_description : TBasicType TUTF8- Ptr () -> -- user_data : TBasicType TVoid+ Ptr () -> -- user_data : TBasicType TPtr FunPtr DestroyNotifyC -> -- destroy : TInterface "GLib" "DestroyNotify" IO (Ptr OptionGroup) @@ -103,17 +107,13 @@ T.Text -- name -> T.Text -- description -> T.Text -- helpDescription- -> Maybe (Ptr ()) -- userData+ -> Ptr () -- userData -> Maybe (DestroyNotify) -- destroy -> m OptionGroup -- result optionGroupNew name description helpDescription userData destroy = liftIO $ do name' <- textToCString name description' <- textToCString description helpDescription' <- textToCString helpDescription- maybeUserData <- case userData of- Nothing -> return nullPtr- Just jUserData -> do- return jUserData ptrdestroy <- callocMem :: IO (Ptr (FunPtr DestroyNotifyC)) maybeDestroy <- case destroy of Nothing -> return (castPtrToFunPtr nullPtr)@@ -121,7 +121,7 @@ jDestroy' <- mkDestroyNotify (destroyNotifyWrapper (Just ptrdestroy) jDestroy) poke ptrdestroy jDestroy' return jDestroy'- result <- g_option_group_new name' description' helpDescription' maybeUserData maybeDestroy+ result <- g_option_group_new name' description' helpDescription' userData maybeDestroy checkUnexpectedReturnNULL "g_option_group_new" result result' <- (wrapBoxed OptionGroup) result freeMem name'@@ -133,7 +133,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionGroup", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "entries", argType = TInterface "GLib" "OptionEntry", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -164,7 +164,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionGroup", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -191,7 +191,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionGroup", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "OptionGroup"+-- returnType : Just (TInterface "GLib" "OptionGroup") -- throws : False -- Skip return : False @@ -218,16 +218,16 @@ -- method OptionGroup::set_translate_func -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionGroup", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TInterface "GLib" "TranslateFunc", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeNotified, argClosure = 2, argDestroy = 3, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "destroy_notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionGroup", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TInterface "GLib" "TranslateFunc", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeNotified, argClosure = 2, argDestroy = 3, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "destroy_notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_option_group_set_translate_func" g_option_group_set_translate_func :: Ptr OptionGroup -> -- _obj : TInterface "GLib" "OptionGroup" FunPtr TranslateFuncC -> -- func : TInterface "GLib" "TranslateFunc"- Ptr () -> -- data : TBasicType TVoid+ Ptr () -> -- data : TBasicType TPtr FunPtr DestroyNotifyC -> -- destroy_notify : TInterface "GLib" "DestroyNotify" IO () @@ -258,7 +258,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionGroup", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "domain", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -289,7 +289,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "OptionGroup", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/OptionGroup.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.OptionGroup where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/PatternSpec.hs view
@@ -32,9 +32,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -46,11 +46,15 @@ noPatternSpec :: Maybe PatternSpec noPatternSpec = Nothing ++type instance AttributeList PatternSpec = PatternSpecAttributeList+type PatternSpecAttributeList = ('[ ] :: [(Symbol, *)])+ -- method PatternSpec::equal -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "PatternSpec", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pspec2", argType = TInterface "GLib" "PatternSpec", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -82,7 +86,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "PatternSpec", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/PatternSpec.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.PatternSpec where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/PollFD.hs view
@@ -20,24 +20,30 @@ -- * Properties -- ** Events+ pollFDEvents , pollFDReadEvents ,+ pollFDWriteEvents , -- ** Fd+ pollFDFd , pollFDReadFd ,+ pollFDWriteFd , -- ** Revents pollFDReadRevents ,+ pollFDRevents ,+ pollFDWriteRevents , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -56,23 +62,94 @@ newZeroPollFD :: MonadIO m => m PollFD newZeroPollFD = liftIO $ callocBoxedBytes 8 >>= wrapBoxed PollFD +instance tag ~ 'AttrSet => Constructible PollFD tag where+ new _ attrs = do+ o <- newZeroPollFD+ GI.Attributes.set o attrs+ return o++ noPollFD :: Maybe PollFD noPollFD = Nothing -pollFDReadFd :: PollFD -> IO Int32-pollFDReadFd s = withManagedPtr s $ \ptr -> do+pollFDReadFd :: MonadIO m => PollFD -> m Int32+pollFDReadFd s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO Int32 return val -pollFDReadEvents :: PollFD -> IO Word16-pollFDReadEvents s = withManagedPtr s $ \ptr -> do+pollFDWriteFd :: MonadIO m => PollFD -> Int32 -> m ()+pollFDWriteFd s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: Int32)++data PollFDFdFieldInfo+instance AttrInfo PollFDFdFieldInfo where+ type AttrAllowedOps PollFDFdFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint PollFDFdFieldInfo = (~) Int32+ type AttrBaseTypeConstraint PollFDFdFieldInfo = (~) PollFD+ type AttrGetType PollFDFdFieldInfo = Int32+ type AttrLabel PollFDFdFieldInfo = "fd"+ attrGet _ = pollFDReadFd+ attrSet _ = pollFDWriteFd+ attrConstruct = undefined+ attrClear _ = undefined++pollFDFd :: AttrLabelProxy "fd"+pollFDFd = AttrLabelProxy+++pollFDReadEvents :: MonadIO m => PollFD -> m Word16+pollFDReadEvents s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 4) :: IO Word16 return val -pollFDReadRevents :: PollFD -> IO Word16-pollFDReadRevents s = withManagedPtr s $ \ptr -> do+pollFDWriteEvents :: MonadIO m => PollFD -> Word16 -> m ()+pollFDWriteEvents s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 4) (val :: Word16)++data PollFDEventsFieldInfo+instance AttrInfo PollFDEventsFieldInfo where+ type AttrAllowedOps PollFDEventsFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint PollFDEventsFieldInfo = (~) Word16+ type AttrBaseTypeConstraint PollFDEventsFieldInfo = (~) PollFD+ type AttrGetType PollFDEventsFieldInfo = Word16+ type AttrLabel PollFDEventsFieldInfo = "events"+ attrGet _ = pollFDReadEvents+ attrSet _ = pollFDWriteEvents+ attrConstruct = undefined+ attrClear _ = undefined++pollFDEvents :: AttrLabelProxy "events"+pollFDEvents = AttrLabelProxy+++pollFDReadRevents :: MonadIO m => PollFD -> m Word16+pollFDReadRevents s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 6) :: IO Word16 return val++pollFDWriteRevents :: MonadIO m => PollFD -> Word16 -> m ()+pollFDWriteRevents s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 6) (val :: Word16)++data PollFDReventsFieldInfo+instance AttrInfo PollFDReventsFieldInfo where+ type AttrAllowedOps PollFDReventsFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint PollFDReventsFieldInfo = (~) Word16+ type AttrBaseTypeConstraint PollFDReventsFieldInfo = (~) PollFD+ type AttrGetType PollFDReventsFieldInfo = Word16+ type AttrLabel PollFDReventsFieldInfo = "revents"+ attrGet _ = pollFDReadRevents+ attrSet _ = pollFDWriteRevents+ attrConstruct = undefined+ attrClear _ = undefined++pollFDRevents :: AttrLabelProxy "revents"+pollFDRevents = AttrLabelProxy++++type instance AttributeList PollFD = PollFDAttributeList+type PollFDAttributeList = ('[ '("fd", PollFDFdFieldInfo), '("events", PollFDEventsFieldInfo), '("revents", PollFDReventsFieldInfo)] :: [(Symbol, *)]) type family ResolvePollFDMethod (t :: Symbol) (o :: *) :: * where ResolvePollFDMethod l o = MethodResolutionFailed l o
GI/GLib/Structs/PollFD.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.PollFD where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/PtrArray.hs view
@@ -19,20 +19,25 @@ -- * Properties -- ** Len+ ptrArrayLen , ptrArrayReadLen ,+ ptrArrayWriteLen , -- ** Pdata+ ptrArrayClearPdata ,+ ptrArrayPdata , ptrArrayReadPdata ,+ ptrArrayWritePdata , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -51,18 +56,73 @@ newZeroPtrArray :: MonadIO m => m PtrArray newZeroPtrArray = liftIO $ callocBoxedBytes 16 >>= wrapBoxed PtrArray +instance tag ~ 'AttrSet => Constructible PtrArray tag where+ new _ attrs = do+ o <- newZeroPtrArray+ GI.Attributes.set o attrs+ return o++ noPtrArray :: Maybe PtrArray noPtrArray = Nothing -ptrArrayReadPdata :: PtrArray -> IO (Ptr ())-ptrArrayReadPdata s = withManagedPtr s $ \ptr -> do+ptrArrayReadPdata :: MonadIO m => PtrArray -> m (Ptr ())+ptrArrayReadPdata s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO (Ptr ()) return val -ptrArrayReadLen :: PtrArray -> IO Word32-ptrArrayReadLen s = withManagedPtr s $ \ptr -> do+ptrArrayWritePdata :: MonadIO m => PtrArray -> Ptr () -> m ()+ptrArrayWritePdata s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: Ptr ())++ptrArrayClearPdata :: MonadIO m => PtrArray -> m ()+ptrArrayClearPdata s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (nullPtr :: Ptr ())++data PtrArrayPdataFieldInfo+instance AttrInfo PtrArrayPdataFieldInfo where+ type AttrAllowedOps PtrArrayPdataFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint PtrArrayPdataFieldInfo = (~) (Ptr ())+ type AttrBaseTypeConstraint PtrArrayPdataFieldInfo = (~) PtrArray+ type AttrGetType PtrArrayPdataFieldInfo = Ptr ()+ type AttrLabel PtrArrayPdataFieldInfo = "pdata"+ attrGet _ = ptrArrayReadPdata+ attrSet _ = ptrArrayWritePdata+ attrConstruct = undefined+ attrClear _ = ptrArrayClearPdata++ptrArrayPdata :: AttrLabelProxy "pdata"+ptrArrayPdata = AttrLabelProxy+++ptrArrayReadLen :: MonadIO m => PtrArray -> m Word32+ptrArrayReadLen s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 8) :: IO Word32 return val++ptrArrayWriteLen :: MonadIO m => PtrArray -> Word32 -> m ()+ptrArrayWriteLen s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (val :: Word32)++data PtrArrayLenFieldInfo+instance AttrInfo PtrArrayLenFieldInfo where+ type AttrAllowedOps PtrArrayLenFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint PtrArrayLenFieldInfo = (~) Word32+ type AttrBaseTypeConstraint PtrArrayLenFieldInfo = (~) PtrArray+ type AttrGetType PtrArrayLenFieldInfo = Word32+ type AttrLabel PtrArrayLenFieldInfo = "len"+ attrGet _ = ptrArrayReadLen+ attrSet _ = ptrArrayWriteLen+ attrConstruct = undefined+ attrClear _ = undefined++ptrArrayLen :: AttrLabelProxy "len"+ptrArrayLen = AttrLabelProxy++++type instance AttributeList PtrArray = PtrArrayAttributeList+type PtrArrayAttributeList = ('[ '("pdata", PtrArrayPdataFieldInfo), '("len", PtrArrayLenFieldInfo)] :: [(Symbol, *)]) type family ResolvePtrArrayMethod (t :: Symbol) (o :: *) :: * where ResolvePtrArrayMethod l o = MethodResolutionFailed l o
GI/GLib/Structs/PtrArray.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.PtrArray where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/Queue.hs view
@@ -88,24 +88,32 @@ -- * Properties -- ** Head+ queueClearHead ,+ queueHead , queueReadHead ,+ queueWriteHead , -- ** Length+ queueLength , queueReadLength ,+ queueWriteLength , -- ** Tail+ queueClearTail , queueReadTail ,+ queueTail ,+ queueWriteTail , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -118,31 +126,110 @@ newZeroQueue :: MonadIO m => m Queue newZeroQueue = liftIO $ callocBytes 24 >>= wrapPtr Queue +instance tag ~ 'AttrSet => Constructible Queue tag where+ new _ attrs = do+ o <- newZeroQueue+ GI.Attributes.set o attrs+ return o++ noQueue :: Maybe Queue noQueue = Nothing -queueReadHead :: Queue -> IO ([Ptr ()])-queueReadHead s = withManagedPtr s $ \ptr -> do+queueReadHead :: MonadIO m => Queue -> m ([Ptr ()])+queueReadHead s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO (Ptr (GList (Ptr ()))) val' <- unpackGList val return val' -queueReadTail :: Queue -> IO ([Ptr ()])-queueReadTail s = withManagedPtr s $ \ptr -> do+queueWriteHead :: MonadIO m => Queue -> Ptr (GList (Ptr ())) -> m ()+queueWriteHead s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: Ptr (GList (Ptr ())))++queueClearHead :: MonadIO m => Queue -> m ()+queueClearHead s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (nullPtr :: Ptr (GList (Ptr ())))++data QueueHeadFieldInfo+instance AttrInfo QueueHeadFieldInfo where+ type AttrAllowedOps QueueHeadFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint QueueHeadFieldInfo = (~) (Ptr (GList (Ptr ())))+ type AttrBaseTypeConstraint QueueHeadFieldInfo = (~) Queue+ type AttrGetType QueueHeadFieldInfo = [Ptr ()]+ type AttrLabel QueueHeadFieldInfo = "head"+ attrGet _ = queueReadHead+ attrSet _ = queueWriteHead+ attrConstruct = undefined+ attrClear _ = queueClearHead++queueHead :: AttrLabelProxy "head"+queueHead = AttrLabelProxy+++queueReadTail :: MonadIO m => Queue -> m ([Ptr ()])+queueReadTail s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 8) :: IO (Ptr (GList (Ptr ()))) val' <- unpackGList val return val' -queueReadLength :: Queue -> IO Word32-queueReadLength s = withManagedPtr s $ \ptr -> do+queueWriteTail :: MonadIO m => Queue -> Ptr (GList (Ptr ())) -> m ()+queueWriteTail s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (val :: Ptr (GList (Ptr ())))++queueClearTail :: MonadIO m => Queue -> m ()+queueClearTail s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (nullPtr :: Ptr (GList (Ptr ())))++data QueueTailFieldInfo+instance AttrInfo QueueTailFieldInfo where+ type AttrAllowedOps QueueTailFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint QueueTailFieldInfo = (~) (Ptr (GList (Ptr ())))+ type AttrBaseTypeConstraint QueueTailFieldInfo = (~) Queue+ type AttrGetType QueueTailFieldInfo = [Ptr ()]+ type AttrLabel QueueTailFieldInfo = "tail"+ attrGet _ = queueReadTail+ attrSet _ = queueWriteTail+ attrConstruct = undefined+ attrClear _ = queueClearTail++queueTail :: AttrLabelProxy "tail"+queueTail = AttrLabelProxy+++queueReadLength :: MonadIO m => Queue -> m Word32+queueReadLength s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 16) :: IO Word32 return val +queueWriteLength :: MonadIO m => Queue -> Word32 -> m ()+queueWriteLength s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 16) (val :: Word32)++data QueueLengthFieldInfo+instance AttrInfo QueueLengthFieldInfo where+ type AttrAllowedOps QueueLengthFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint QueueLengthFieldInfo = (~) Word32+ type AttrBaseTypeConstraint QueueLengthFieldInfo = (~) Queue+ type AttrGetType QueueLengthFieldInfo = Word32+ type AttrLabel QueueLengthFieldInfo = "length"+ attrGet _ = queueReadLength+ attrSet _ = queueWriteLength+ attrConstruct = undefined+ attrClear _ = undefined++queueLength :: AttrLabelProxy "length"+queueLength = AttrLabelProxy++++type instance AttributeList Queue = QueueAttributeList+type QueueAttributeList = ('[ '("head", QueueHeadFieldInfo), '("tail", QueueTailFieldInfo), '("length", QueueLengthFieldInfo)] :: [(Symbol, *)])+ -- method Queue::clear -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Queue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -169,7 +256,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Queue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -196,7 +283,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Queue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "free_func", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -228,7 +315,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Queue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -253,15 +340,15 @@ -- method Queue::index -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Queue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Queue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False foreign import ccall "g_queue_index" g_queue_index :: Ptr Queue -> -- _obj : TInterface "GLib" "Queue"- Ptr () -> -- data : TBasicType TVoid+ Ptr () -> -- data : TBasicType TPtr IO Int32 @@ -284,7 +371,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Queue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -311,7 +398,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Queue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -337,15 +424,15 @@ -- method Queue::push_head -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Queue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Queue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_queue_push_head" g_queue_push_head :: Ptr Queue -> -- _obj : TInterface "GLib" "Queue"- Ptr () -> -- data : TBasicType TVoid+ Ptr () -> -- data : TBasicType TPtr IO () @@ -366,16 +453,16 @@ -- method Queue::push_nth -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Queue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Queue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_queue_push_nth" g_queue_push_nth :: Ptr Queue -> -- _obj : TInterface "GLib" "Queue"- Ptr () -> -- data : TBasicType TVoid- Int32 -> -- n : TBasicType TInt32+ Ptr () -> -- data : TBasicType TPtr+ Int32 -> -- n : TBasicType TInt IO () @@ -397,15 +484,15 @@ -- method Queue::push_tail -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Queue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Queue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_queue_push_tail" g_queue_push_tail :: Ptr Queue -> -- _obj : TInterface "GLib" "Queue"- Ptr () -> -- data : TBasicType TVoid+ Ptr () -> -- data : TBasicType TPtr IO () @@ -426,15 +513,15 @@ -- method Queue::remove -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Queue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Queue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False foreign import ccall "g_queue_remove" g_queue_remove :: Ptr Queue -> -- _obj : TInterface "GLib" "Queue"- Ptr () -> -- data : TBasicType TVoid+ Ptr () -> -- data : TBasicType TPtr IO CInt @@ -456,15 +543,15 @@ -- method Queue::remove_all -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Queue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Queue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False foreign import ccall "g_queue_remove_all" g_queue_remove_all :: Ptr Queue -> -- _obj : TInterface "GLib" "Queue"- Ptr () -> -- data : TBasicType TVoid+ Ptr () -> -- data : TBasicType TPtr IO Word32 @@ -487,7 +574,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Queue", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/Queue.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.Queue where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/RWLock.hs view
@@ -120,9 +120,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -135,14 +135,25 @@ newZeroRWLock :: MonadIO m => m RWLock newZeroRWLock = liftIO $ callocBytes 16 >>= wrapPtr RWLock +instance tag ~ 'AttrSet => Constructible RWLock tag where+ new _ attrs = do+ o <- newZeroRWLock+ GI.Attributes.set o attrs+ return o++ noRWLock :: Maybe RWLock noRWLock = Nothing ++type instance AttributeList RWLock = RWLockAttributeList+type RWLockAttributeList = ('[ ] :: [(Symbol, *)])+ -- method RWLock::clear -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "RWLock", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -169,7 +180,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "RWLock", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -196,7 +207,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "RWLock", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -223,7 +234,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "RWLock", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -251,7 +262,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "RWLock", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -278,7 +289,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "RWLock", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -305,7 +316,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "RWLock", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -333,7 +344,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "RWLock", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/RWLock.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.RWLock where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/Rand.hs view
@@ -57,9 +57,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -71,11 +71,15 @@ noRand :: Maybe Rand noRand = Nothing ++type instance AttributeList Rand = RandAttributeList+type RandAttributeList = ('[ ] :: [(Symbol, *)])+ -- method Rand::double -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Rand", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TDouble+-- returnType : Just (TBasicType TDouble) -- throws : False -- Skip return : False @@ -103,7 +107,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Rand", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "begin", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "end", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TDouble+-- returnType : Just (TBasicType TDouble) -- throws : False -- Skip return : False @@ -137,7 +141,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Rand", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -164,7 +168,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Rand", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt32) -- throws : False -- Skip return : False @@ -191,7 +195,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Rand", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "begin", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "end", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt32) -- throws : False -- Skip return : False @@ -222,7 +226,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Rand", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "seed", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -249,16 +253,16 @@ -- method Rand::set_seed_array -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Rand", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "seed", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "seed_length", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Rand", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "seed", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "seed_length", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_rand_set_seed_array" g_rand_set_seed_array :: Ptr Rand -> -- _obj : TInterface "GLib" "Rand" Word32 -> -- seed : TBasicType TUInt32- Word32 -> -- seed_length : TBasicType TUInt32+ Word32 -> -- seed_length : TBasicType TUInt IO ()
GI/GLib/Structs/Rand.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.Rand where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/RecMutex.hs view
@@ -58,9 +58,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -73,14 +73,25 @@ newZeroRecMutex :: MonadIO m => m RecMutex newZeroRecMutex = liftIO $ callocBytes 16 >>= wrapPtr RecMutex +instance tag ~ 'AttrSet => Constructible RecMutex tag where+ new _ attrs = do+ o <- newZeroRecMutex+ GI.Attributes.set o attrs+ return o++ noRecMutex :: Maybe RecMutex noRecMutex = Nothing ++type instance AttributeList RecMutex = RecMutexAttributeList+type RecMutexAttributeList = ('[ ] :: [(Symbol, *)])+ -- method RecMutex::clear -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "RecMutex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -107,7 +118,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "RecMutex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -134,7 +145,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "RecMutex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -161,7 +172,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "RecMutex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -189,7 +200,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "RecMutex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/RecMutex.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.RecMutex where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/Regex.hs view
@@ -203,9 +203,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -223,11 +223,15 @@ noRegex :: Maybe Regex noRegex = Nothing ++type instance AttributeList Regex = RegexAttributeList+type RegexAttributeList = ('[ ] :: [(Symbol, *)])+ -- method Regex::new -- method type : Constructor -- Args : [Arg {argCName = "pattern", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "compile_options", argType = TInterface "GLib" "RegexCompileFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_options", argType = TInterface "GLib" "RegexMatchFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "Regex"+-- returnType : Just (TInterface "GLib" "Regex") -- throws : True -- Skip return : False @@ -263,7 +267,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -290,7 +294,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "RegexCompileFlags"+-- returnType : Just (TInterface "GLib" "RegexCompileFlags") -- throws : False -- Skip return : False @@ -318,7 +322,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -346,7 +350,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "RegexMatchFlags"+-- returnType : Just (TInterface "GLib" "RegexMatchFlags") -- throws : False -- Skip return : False @@ -374,7 +378,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -401,7 +405,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -428,7 +432,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -457,7 +461,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -488,7 +492,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_options", argType = TInterface "GLib" "RegexMatchFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_info", argType = TInterface "GLib" "MatchInfo", direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -528,7 +532,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_options", argType = TInterface "GLib" "RegexMatchFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_info", argType = TInterface "GLib" "MatchInfo", direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -566,9 +570,9 @@ -- method Regex::match_all_full -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TCArray False (-1) 2 (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "start_position", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_options", argType = TInterface "GLib" "RegexMatchFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_info", argType = TInterface "GLib" "MatchInfo", direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TCArray False (-1) 2 (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "start_position", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_options", argType = TInterface "GLib" "RegexMatchFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_info", argType = TInterface "GLib" "MatchInfo", direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : [Arg {argCName = "string_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -576,7 +580,7 @@ Ptr Regex -> -- _obj : TInterface "GLib" "Regex" Ptr CString -> -- string : TCArray False (-1) 2 (TBasicType TUTF8) Int64 -> -- string_len : TBasicType TInt64- Int32 -> -- start_position : TBasicType TInt32+ Int32 -> -- start_position : TBasicType TInt CUInt -> -- match_options : TInterface "GLib" "RegexMatchFlags" Ptr (Ptr MatchInfo) -> -- match_info : TInterface "GLib" "MatchInfo" Ptr (Ptr GError) -> -- error@@ -617,9 +621,9 @@ -- method Regex::match_full -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TCArray False (-1) 2 (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "start_position", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_options", argType = TInterface "GLib" "RegexMatchFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_info", argType = TInterface "GLib" "MatchInfo", direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TCArray False (-1) 2 (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "start_position", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_options", argType = TInterface "GLib" "RegexMatchFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_info", argType = TInterface "GLib" "MatchInfo", direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : [Arg {argCName = "string_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -627,7 +631,7 @@ Ptr Regex -> -- _obj : TInterface "GLib" "Regex" Ptr CString -> -- string : TCArray False (-1) 2 (TBasicType TUTF8) Int64 -> -- string_len : TBasicType TInt64- Int32 -> -- start_position : TBasicType TInt32+ Int32 -> -- start_position : TBasicType TInt CUInt -> -- match_options : TInterface "GLib" "RegexMatchFlags" Ptr (Ptr MatchInfo) -> -- match_info : TInterface "GLib" "MatchInfo" Ptr (Ptr GError) -> -- error@@ -670,7 +674,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "Regex"+-- returnType : Just (TInterface "GLib" "Regex") -- throws : False -- Skip return : False @@ -697,9 +701,9 @@ -- method Regex::replace -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TCArray False (-1) 2 (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "start_position", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "replacement", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_options", argType = TInterface "GLib" "RegexMatchFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TCArray False (-1) 2 (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "start_position", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "replacement", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_options", argType = TInterface "GLib" "RegexMatchFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : [Arg {argCName = "string_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : True -- Skip return : False @@ -707,7 +711,7 @@ Ptr Regex -> -- _obj : TInterface "GLib" "Regex" Ptr CString -> -- string : TCArray False (-1) 2 (TBasicType TUTF8) Int64 -> -- string_len : TBasicType TInt64- Int32 -> -- start_position : TBasicType TInt32+ Int32 -> -- start_position : TBasicType TInt CString -> -- replacement : TBasicType TUTF8 CUInt -> -- match_options : TInterface "GLib" "RegexMatchFlags" Ptr (Ptr GError) -> -- error@@ -750,9 +754,9 @@ -- method Regex::replace_literal -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TCArray False (-1) 2 (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "start_position", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "replacement", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_options", argType = TInterface "GLib" "RegexMatchFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TCArray False (-1) 2 (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "start_position", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "replacement", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_options", argType = TInterface "GLib" "RegexMatchFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : [Arg {argCName = "string_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : True -- Skip return : False @@ -760,7 +764,7 @@ Ptr Regex -> -- _obj : TInterface "GLib" "Regex" Ptr CString -> -- string : TCArray False (-1) 2 (TBasicType TUTF8) Int64 -> -- string_len : TBasicType TInt64- Int32 -> -- start_position : TBasicType TInt32+ Int32 -> -- start_position : TBasicType TInt CString -> -- replacement : TBasicType TUTF8 CUInt -> -- match_options : TInterface "GLib" "RegexMatchFlags" Ptr (Ptr GError) -> -- error@@ -805,7 +809,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_options", argType = TInterface "GLib" "RegexMatchFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TCArray True (-1) (-1) (TBasicType TUTF8)+-- returnType : Just (TCArray True (-1) (-1) (TBasicType TUTF8)) -- throws : False -- Skip return : False @@ -841,9 +845,9 @@ -- method Regex::split_full -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TCArray False (-1) 2 (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "start_position", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_options", argType = TInterface "GLib" "RegexMatchFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "max_tokens", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TCArray False (-1) 2 (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "start_position", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_options", argType = TInterface "GLib" "RegexMatchFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "max_tokens", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : [Arg {argCName = "string_len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TCArray True (-1) (-1) (TBasicType TUTF8)+-- returnType : Just (TCArray True (-1) (-1) (TBasicType TUTF8)) -- throws : True -- Skip return : False @@ -851,9 +855,9 @@ Ptr Regex -> -- _obj : TInterface "GLib" "Regex" Ptr CString -> -- string : TCArray False (-1) 2 (TBasicType TUTF8) Int64 -> -- string_len : TBasicType TInt64- Int32 -> -- start_position : TBasicType TInt32+ Int32 -> -- start_position : TBasicType TInt CUInt -> -- match_options : TInterface "GLib" "RegexMatchFlags"- Int32 -> -- max_tokens : TBasicType TInt32+ Int32 -> -- max_tokens : TBasicType TInt Ptr (Ptr GError) -> -- error IO (Ptr CString) @@ -894,7 +898,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Regex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -921,7 +925,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "replacement", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "has_references", argType = TBasicType TBoolean, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False @@ -955,7 +959,7 @@ -- method type : MemberFunction -- Args : [] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt32) -- throws : False -- Skip return : False @@ -972,15 +976,15 @@ -- method Regex::escape_nul -- method type : MemberFunction--- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False foreign import ccall "g_regex_escape_nul" g_regex_escape_nul :: CString -> -- string : TBasicType TUTF8- Int32 -> -- length : TBasicType TInt32+ Int32 -> -- length : TBasicType TInt IO CString @@ -1000,15 +1004,15 @@ -- method Regex::escape_string -- method type : MemberFunction--- Args : [Arg {argCName = "string", argType = TCArray False (-1) 1 (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : [Arg {argCName = "length", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TBasicType TUTF8+-- Args : [Arg {argCName = "string", argType = TCArray False (-1) 1 (TBasicType TUTF8), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : [Arg {argCName = "length", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False foreign import ccall "g_regex_escape_string" g_regex_escape_string :: Ptr CString -> -- string : TCArray False (-1) 1 (TBasicType TUTF8)- Int32 -> -- length : TBasicType TInt32+ Int32 -> -- length : TBasicType TInt IO CString @@ -1031,7 +1035,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "pattern", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "compile_options", argType = TInterface "GLib" "RegexCompileFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_options", argType = TInterface "GLib" "RegexMatchFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -1065,7 +1069,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "pattern", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "compile_options", argType = TInterface "GLib" "RegexCompileFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "match_options", argType = TInterface "GLib" "RegexMatchFlags", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TCArray True (-1) (-1) (TBasicType TUTF8)+-- returnType : Just (TCArray True (-1) (-1) (TBasicType TUTF8)) -- throws : False -- Skip return : False
GI/GLib/Structs/Regex.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.Regex where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/Scanner.hs view
@@ -105,68 +105,102 @@ -- * Properties -- ** Config+ scannerClearConfig ,+ scannerConfig , scannerReadConfig ,+ scannerWriteConfig , -- ** InputName+ scannerClearInputName ,+ scannerInputName , scannerReadInputName ,+ scannerWriteInputName , -- ** Line+ scannerLine , scannerReadLine ,+ scannerWriteLine , -- ** MaxParseErrors+ scannerMaxParseErrors , scannerReadMaxParseErrors ,+ scannerWriteMaxParseErrors , -- ** NextLine+ scannerNextLine , scannerReadNextLine ,+ scannerWriteNextLine , -- ** NextPosition+ scannerNextPosition , scannerReadNextPosition ,+ scannerWriteNextPosition , -- ** NextToken+ scannerNextToken , scannerReadNextToken ,+ scannerWriteNextToken , -- ** NextValue+ scannerClearNextValue ,+ scannerNextValue , scannerReadNextValue ,+ scannerWriteNextValue , -- ** ParseErrors+ scannerParseErrors , scannerReadParseErrors ,+ scannerWriteParseErrors , -- ** Position+ scannerPosition , scannerReadPosition ,+ scannerWritePosition , -- ** Qdata+ scannerClearQdata ,+ scannerQdata , scannerReadQdata ,+ scannerWriteQdata , -- ** Token scannerReadToken ,+ scannerToken ,+ scannerWriteToken , -- ** UserData+ scannerClearUserData , scannerReadUserData ,+ scannerUserData ,+ scannerWriteUserData , -- ** Value+ scannerClearValue , scannerReadValue ,+ scannerValue ,+ scannerWriteValue , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -179,94 +213,420 @@ newZeroScanner :: MonadIO m => m Scanner newZeroScanner = liftIO $ callocBytes 144 >>= wrapPtr Scanner +instance tag ~ 'AttrSet => Constructible Scanner tag where+ new _ attrs = do+ o <- newZeroScanner+ GI.Attributes.set o attrs+ return o++ noScanner :: Maybe Scanner noScanner = Nothing -scannerReadUserData :: Scanner -> IO (Ptr ())-scannerReadUserData s = withManagedPtr s $ \ptr -> do+scannerReadUserData :: MonadIO m => Scanner -> m (Ptr ())+scannerReadUserData s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO (Ptr ()) return val -scannerReadMaxParseErrors :: Scanner -> IO Word32-scannerReadMaxParseErrors s = withManagedPtr s $ \ptr -> do+scannerWriteUserData :: MonadIO m => Scanner -> Ptr () -> m ()+scannerWriteUserData s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: Ptr ())++scannerClearUserData :: MonadIO m => Scanner -> m ()+scannerClearUserData s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (nullPtr :: Ptr ())++data ScannerUserDataFieldInfo+instance AttrInfo ScannerUserDataFieldInfo where+ type AttrAllowedOps ScannerUserDataFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint ScannerUserDataFieldInfo = (~) (Ptr ())+ type AttrBaseTypeConstraint ScannerUserDataFieldInfo = (~) Scanner+ type AttrGetType ScannerUserDataFieldInfo = Ptr ()+ type AttrLabel ScannerUserDataFieldInfo = "user_data"+ attrGet _ = scannerReadUserData+ attrSet _ = scannerWriteUserData+ attrConstruct = undefined+ attrClear _ = scannerClearUserData++scannerUserData :: AttrLabelProxy "userData"+scannerUserData = AttrLabelProxy+++scannerReadMaxParseErrors :: MonadIO m => Scanner -> m Word32+scannerReadMaxParseErrors s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 8) :: IO Word32 return val -scannerReadParseErrors :: Scanner -> IO Word32-scannerReadParseErrors s = withManagedPtr s $ \ptr -> do+scannerWriteMaxParseErrors :: MonadIO m => Scanner -> Word32 -> m ()+scannerWriteMaxParseErrors s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (val :: Word32)++data ScannerMaxParseErrorsFieldInfo+instance AttrInfo ScannerMaxParseErrorsFieldInfo where+ type AttrAllowedOps ScannerMaxParseErrorsFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerMaxParseErrorsFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerMaxParseErrorsFieldInfo = (~) Scanner+ type AttrGetType ScannerMaxParseErrorsFieldInfo = Word32+ type AttrLabel ScannerMaxParseErrorsFieldInfo = "max_parse_errors"+ attrGet _ = scannerReadMaxParseErrors+ attrSet _ = scannerWriteMaxParseErrors+ attrConstruct = undefined+ attrClear _ = undefined++scannerMaxParseErrors :: AttrLabelProxy "maxParseErrors"+scannerMaxParseErrors = AttrLabelProxy+++scannerReadParseErrors :: MonadIO m => Scanner -> m Word32+scannerReadParseErrors s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 12) :: IO Word32 return val -scannerReadInputName :: Scanner -> IO T.Text-scannerReadInputName s = withManagedPtr s $ \ptr -> do+scannerWriteParseErrors :: MonadIO m => Scanner -> Word32 -> m ()+scannerWriteParseErrors s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 12) (val :: Word32)++data ScannerParseErrorsFieldInfo+instance AttrInfo ScannerParseErrorsFieldInfo where+ type AttrAllowedOps ScannerParseErrorsFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerParseErrorsFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerParseErrorsFieldInfo = (~) Scanner+ type AttrGetType ScannerParseErrorsFieldInfo = Word32+ type AttrLabel ScannerParseErrorsFieldInfo = "parse_errors"+ attrGet _ = scannerReadParseErrors+ attrSet _ = scannerWriteParseErrors+ attrConstruct = undefined+ attrClear _ = undefined++scannerParseErrors :: AttrLabelProxy "parseErrors"+scannerParseErrors = AttrLabelProxy+++scannerReadInputName :: MonadIO m => Scanner -> m (Maybe T.Text)+scannerReadInputName s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 16) :: IO CString- val' <- cstringToText val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- cstringToText val'+ return val''+ return result -scannerReadQdata :: Scanner -> IO Data-scannerReadQdata s = withManagedPtr s $ \ptr -> do+scannerWriteInputName :: MonadIO m => Scanner -> CString -> m ()+scannerWriteInputName s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 16) (val :: CString)++scannerClearInputName :: MonadIO m => Scanner -> m ()+scannerClearInputName s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 16) (nullPtr :: CString)++data ScannerInputNameFieldInfo+instance AttrInfo ScannerInputNameFieldInfo where+ type AttrAllowedOps ScannerInputNameFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint ScannerInputNameFieldInfo = (~) CString+ type AttrBaseTypeConstraint ScannerInputNameFieldInfo = (~) Scanner+ type AttrGetType ScannerInputNameFieldInfo = Maybe T.Text+ type AttrLabel ScannerInputNameFieldInfo = "input_name"+ attrGet _ = scannerReadInputName+ attrSet _ = scannerWriteInputName+ attrConstruct = undefined+ attrClear _ = scannerClearInputName++scannerInputName :: AttrLabelProxy "inputName"+scannerInputName = AttrLabelProxy+++scannerReadQdata :: MonadIO m => Scanner -> m (Maybe Data)+scannerReadQdata s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 24) :: IO (Ptr Data)- -- XXX Wrapping a foreign struct/union with no known destructor, leak?- val' <- (\x -> Data <$> newForeignPtr_ x) val- return val'+ result <- convertIfNonNull val $ \val' -> do+ -- XXX Wrapping a foreign struct/union with no known destructor, leak?+ val'' <- (\x -> Data <$> newForeignPtr_ x) val'+ return val''+ return result -scannerReadConfig :: Scanner -> IO ScannerConfig-scannerReadConfig s = withManagedPtr s $ \ptr -> do+scannerWriteQdata :: MonadIO m => Scanner -> Ptr Data -> m ()+scannerWriteQdata s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 24) (val :: Ptr Data)++scannerClearQdata :: MonadIO m => Scanner -> m ()+scannerClearQdata s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 24) (nullPtr :: Ptr Data)++data ScannerQdataFieldInfo+instance AttrInfo ScannerQdataFieldInfo where+ type AttrAllowedOps ScannerQdataFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint ScannerQdataFieldInfo = (~) (Ptr Data)+ type AttrBaseTypeConstraint ScannerQdataFieldInfo = (~) Scanner+ type AttrGetType ScannerQdataFieldInfo = Maybe Data+ type AttrLabel ScannerQdataFieldInfo = "qdata"+ attrGet _ = scannerReadQdata+ attrSet _ = scannerWriteQdata+ attrConstruct = undefined+ attrClear _ = scannerClearQdata++scannerQdata :: AttrLabelProxy "qdata"+scannerQdata = AttrLabelProxy+++scannerReadConfig :: MonadIO m => Scanner -> m (Maybe ScannerConfig)+scannerReadConfig s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 32) :: IO (Ptr ScannerConfig)- val' <- (newPtr 128 ScannerConfig) val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- (newPtr 128 ScannerConfig) val'+ return val''+ return result -scannerReadToken :: Scanner -> IO TokenType-scannerReadToken s = withManagedPtr s $ \ptr -> do+scannerWriteConfig :: MonadIO m => Scanner -> Ptr ScannerConfig -> m ()+scannerWriteConfig s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 32) (val :: Ptr ScannerConfig)++scannerClearConfig :: MonadIO m => Scanner -> m ()+scannerClearConfig s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 32) (nullPtr :: Ptr ScannerConfig)++data ScannerConfigFieldInfo+instance AttrInfo ScannerConfigFieldInfo where+ type AttrAllowedOps ScannerConfigFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint ScannerConfigFieldInfo = (~) (Ptr ScannerConfig)+ type AttrBaseTypeConstraint ScannerConfigFieldInfo = (~) Scanner+ type AttrGetType ScannerConfigFieldInfo = Maybe ScannerConfig+ type AttrLabel ScannerConfigFieldInfo = "config"+ attrGet _ = scannerReadConfig+ attrSet _ = scannerWriteConfig+ attrConstruct = undefined+ attrClear _ = scannerClearConfig++scannerConfig :: AttrLabelProxy "config"+scannerConfig = AttrLabelProxy+++scannerReadToken :: MonadIO m => Scanner -> m TokenType+scannerReadToken s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 40) :: IO CUInt let val' = (toEnum . fromIntegral) val return val' -scannerReadValue :: Scanner -> IO TokenValue-scannerReadValue s = withManagedPtr s $ \ptr -> do+scannerWriteToken :: MonadIO m => Scanner -> TokenType -> m ()+scannerWriteToken s val = liftIO $ withManagedPtr s $ \ptr -> do+ let val' = (fromIntegral . fromEnum) val+ poke (ptr `plusPtr` 40) (val' :: CUInt)++data ScannerTokenFieldInfo+instance AttrInfo ScannerTokenFieldInfo where+ type AttrAllowedOps ScannerTokenFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerTokenFieldInfo = (~) TokenType+ type AttrBaseTypeConstraint ScannerTokenFieldInfo = (~) Scanner+ type AttrGetType ScannerTokenFieldInfo = TokenType+ type AttrLabel ScannerTokenFieldInfo = "token"+ attrGet _ = scannerReadToken+ attrSet _ = scannerWriteToken+ attrConstruct = undefined+ attrClear _ = undefined++scannerToken :: AttrLabelProxy "token"+scannerToken = AttrLabelProxy+++scannerReadValue :: MonadIO m => Scanner -> m (Maybe TokenValue)+scannerReadValue s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 48) :: IO (Ptr TokenValue)- val' <- (newPtr 8 TokenValue) val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- (newPtr 8 TokenValue) val'+ return val''+ return result -scannerReadLine :: Scanner -> IO Word32-scannerReadLine s = withManagedPtr s $ \ptr -> do+scannerWriteValue :: MonadIO m => Scanner -> Ptr TokenValue -> m ()+scannerWriteValue s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 48) (val :: Ptr TokenValue)++scannerClearValue :: MonadIO m => Scanner -> m ()+scannerClearValue s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 48) (nullPtr :: Ptr TokenValue)++data ScannerValueFieldInfo+instance AttrInfo ScannerValueFieldInfo where+ type AttrAllowedOps ScannerValueFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint ScannerValueFieldInfo = (~) (Ptr TokenValue)+ type AttrBaseTypeConstraint ScannerValueFieldInfo = (~) Scanner+ type AttrGetType ScannerValueFieldInfo = Maybe TokenValue+ type AttrLabel ScannerValueFieldInfo = "value"+ attrGet _ = scannerReadValue+ attrSet _ = scannerWriteValue+ attrConstruct = undefined+ attrClear _ = scannerClearValue++scannerValue :: AttrLabelProxy "value"+scannerValue = AttrLabelProxy+++scannerReadLine :: MonadIO m => Scanner -> m Word32+scannerReadLine s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 56) :: IO Word32 return val -scannerReadPosition :: Scanner -> IO Word32-scannerReadPosition s = withManagedPtr s $ \ptr -> do+scannerWriteLine :: MonadIO m => Scanner -> Word32 -> m ()+scannerWriteLine s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 56) (val :: Word32)++data ScannerLineFieldInfo+instance AttrInfo ScannerLineFieldInfo where+ type AttrAllowedOps ScannerLineFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerLineFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerLineFieldInfo = (~) Scanner+ type AttrGetType ScannerLineFieldInfo = Word32+ type AttrLabel ScannerLineFieldInfo = "line"+ attrGet _ = scannerReadLine+ attrSet _ = scannerWriteLine+ attrConstruct = undefined+ attrClear _ = undefined++scannerLine :: AttrLabelProxy "line"+scannerLine = AttrLabelProxy+++scannerReadPosition :: MonadIO m => Scanner -> m Word32+scannerReadPosition s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 60) :: IO Word32 return val -scannerReadNextToken :: Scanner -> IO TokenType-scannerReadNextToken s = withManagedPtr s $ \ptr -> do+scannerWritePosition :: MonadIO m => Scanner -> Word32 -> m ()+scannerWritePosition s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 60) (val :: Word32)++data ScannerPositionFieldInfo+instance AttrInfo ScannerPositionFieldInfo where+ type AttrAllowedOps ScannerPositionFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerPositionFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerPositionFieldInfo = (~) Scanner+ type AttrGetType ScannerPositionFieldInfo = Word32+ type AttrLabel ScannerPositionFieldInfo = "position"+ attrGet _ = scannerReadPosition+ attrSet _ = scannerWritePosition+ attrConstruct = undefined+ attrClear _ = undefined++scannerPosition :: AttrLabelProxy "position"+scannerPosition = AttrLabelProxy+++scannerReadNextToken :: MonadIO m => Scanner -> m TokenType+scannerReadNextToken s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 64) :: IO CUInt let val' = (toEnum . fromIntegral) val return val' -scannerReadNextValue :: Scanner -> IO TokenValue-scannerReadNextValue s = withManagedPtr s $ \ptr -> do+scannerWriteNextToken :: MonadIO m => Scanner -> TokenType -> m ()+scannerWriteNextToken s val = liftIO $ withManagedPtr s $ \ptr -> do+ let val' = (fromIntegral . fromEnum) val+ poke (ptr `plusPtr` 64) (val' :: CUInt)++data ScannerNextTokenFieldInfo+instance AttrInfo ScannerNextTokenFieldInfo where+ type AttrAllowedOps ScannerNextTokenFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerNextTokenFieldInfo = (~) TokenType+ type AttrBaseTypeConstraint ScannerNextTokenFieldInfo = (~) Scanner+ type AttrGetType ScannerNextTokenFieldInfo = TokenType+ type AttrLabel ScannerNextTokenFieldInfo = "next_token"+ attrGet _ = scannerReadNextToken+ attrSet _ = scannerWriteNextToken+ attrConstruct = undefined+ attrClear _ = undefined++scannerNextToken :: AttrLabelProxy "nextToken"+scannerNextToken = AttrLabelProxy+++scannerReadNextValue :: MonadIO m => Scanner -> m (Maybe TokenValue)+scannerReadNextValue s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 72) :: IO (Ptr TokenValue)- val' <- (newPtr 8 TokenValue) val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- (newPtr 8 TokenValue) val'+ return val''+ return result -scannerReadNextLine :: Scanner -> IO Word32-scannerReadNextLine s = withManagedPtr s $ \ptr -> do+scannerWriteNextValue :: MonadIO m => Scanner -> Ptr TokenValue -> m ()+scannerWriteNextValue s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 72) (val :: Ptr TokenValue)++scannerClearNextValue :: MonadIO m => Scanner -> m ()+scannerClearNextValue s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 72) (nullPtr :: Ptr TokenValue)++data ScannerNextValueFieldInfo+instance AttrInfo ScannerNextValueFieldInfo where+ type AttrAllowedOps ScannerNextValueFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint ScannerNextValueFieldInfo = (~) (Ptr TokenValue)+ type AttrBaseTypeConstraint ScannerNextValueFieldInfo = (~) Scanner+ type AttrGetType ScannerNextValueFieldInfo = Maybe TokenValue+ type AttrLabel ScannerNextValueFieldInfo = "next_value"+ attrGet _ = scannerReadNextValue+ attrSet _ = scannerWriteNextValue+ attrConstruct = undefined+ attrClear _ = scannerClearNextValue++scannerNextValue :: AttrLabelProxy "nextValue"+scannerNextValue = AttrLabelProxy+++scannerReadNextLine :: MonadIO m => Scanner -> m Word32+scannerReadNextLine s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 80) :: IO Word32 return val -scannerReadNextPosition :: Scanner -> IO Word32-scannerReadNextPosition s = withManagedPtr s $ \ptr -> do+scannerWriteNextLine :: MonadIO m => Scanner -> Word32 -> m ()+scannerWriteNextLine s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 80) (val :: Word32)++data ScannerNextLineFieldInfo+instance AttrInfo ScannerNextLineFieldInfo where+ type AttrAllowedOps ScannerNextLineFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerNextLineFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerNextLineFieldInfo = (~) Scanner+ type AttrGetType ScannerNextLineFieldInfo = Word32+ type AttrLabel ScannerNextLineFieldInfo = "next_line"+ attrGet _ = scannerReadNextLine+ attrSet _ = scannerWriteNextLine+ attrConstruct = undefined+ attrClear _ = undefined++scannerNextLine :: AttrLabelProxy "nextLine"+scannerNextLine = AttrLabelProxy+++scannerReadNextPosition :: MonadIO m => Scanner -> m Word32+scannerReadNextPosition s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 84) :: IO Word32 return val --- XXX Skipped getter for "Scanner:msg_handler" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+scannerWriteNextPosition :: MonadIO m => Scanner -> Word32 -> m ()+scannerWriteNextPosition s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 84) (val :: Word32) +data ScannerNextPositionFieldInfo+instance AttrInfo ScannerNextPositionFieldInfo where+ type AttrAllowedOps ScannerNextPositionFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerNextPositionFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerNextPositionFieldInfo = (~) Scanner+ type AttrGetType ScannerNextPositionFieldInfo = Word32+ type AttrLabel ScannerNextPositionFieldInfo = "next_position"+ attrGet _ = scannerReadNextPosition+ attrSet _ = scannerWriteNextPosition+ attrConstruct = undefined+ attrClear _ = undefined++scannerNextPosition :: AttrLabelProxy "nextPosition"+scannerNextPosition = AttrLabelProxy+++-- XXX Skipped attribute for "Scanner:msg_handler" :: Not implemented: "Wrapping foreign callbacks is not supported yet"++type instance AttributeList Scanner = ScannerAttributeList+type ScannerAttributeList = ('[ '("userData", ScannerUserDataFieldInfo), '("maxParseErrors", ScannerMaxParseErrorsFieldInfo), '("parseErrors", ScannerParseErrorsFieldInfo), '("inputName", ScannerInputNameFieldInfo), '("qdata", ScannerQdataFieldInfo), '("config", ScannerConfigFieldInfo), '("token", ScannerTokenFieldInfo), '("value", ScannerValueFieldInfo), '("line", ScannerLineFieldInfo), '("position", ScannerPositionFieldInfo), '("nextToken", ScannerNextTokenFieldInfo), '("nextValue", ScannerNextValueFieldInfo), '("nextLine", ScannerNextLineFieldInfo), '("nextPosition", ScannerNextPositionFieldInfo)] :: [(Symbol, *)])+ -- method Scanner::cur_line -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Scanner", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -293,7 +653,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Scanner", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -320,7 +680,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Scanner", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "TokenType"+-- returnType : Just (TInterface "GLib" "TokenType") -- throws : False -- Skip return : False @@ -348,7 +708,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Scanner", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -375,7 +735,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Scanner", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -403,7 +763,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Scanner", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "TokenType"+-- returnType : Just (TInterface "GLib" "TokenType") -- throws : False -- Skip return : False @@ -429,15 +789,15 @@ -- method Scanner::input_file -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Scanner", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "input_fd", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Scanner", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "input_fd", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_scanner_input_file" g_scanner_input_file :: Ptr Scanner -> -- _obj : TInterface "GLib" "Scanner"- Int32 -> -- input_fd : TBasicType TInt32+ Int32 -> -- input_fd : TBasicType TInt IO () @@ -458,16 +818,16 @@ -- method Scanner::input_text -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Scanner", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "text", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "text_len", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Scanner", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "text", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "text_len", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_scanner_input_text" g_scanner_input_text :: Ptr Scanner -> -- _obj : TInterface "GLib" "Scanner" CString -> -- text : TBasicType TUTF8- Word32 -> -- text_len : TBasicType TUInt32+ Word32 -> -- text_len : TBasicType TUInt IO () @@ -493,7 +853,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Scanner", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "TokenType"+-- returnType : Just (TInterface "GLib" "TokenType") -- throws : False -- Skip return : False @@ -519,17 +879,17 @@ -- method Scanner::scope_add_symbol -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Scanner", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "scope_id", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "symbol", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Scanner", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "scope_id", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "symbol", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_scanner_scope_add_symbol" g_scanner_scope_add_symbol :: Ptr Scanner -> -- _obj : TInterface "GLib" "Scanner"- Word32 -> -- scope_id : TBasicType TUInt32+ Word32 -> -- scope_id : TBasicType TUInt CString -> -- symbol : TBasicType TUTF8- Ptr () -> -- value : TBasicType TVoid+ Ptr () -> -- value : TBasicType TPtr IO () @@ -554,15 +914,15 @@ -- method Scanner::scope_remove_symbol -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Scanner", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "scope_id", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "symbol", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Scanner", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "scope_id", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "symbol", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_scanner_scope_remove_symbol" g_scanner_scope_remove_symbol :: Ptr Scanner -> -- _obj : TInterface "GLib" "Scanner"- Word32 -> -- scope_id : TBasicType TUInt32+ Word32 -> -- scope_id : TBasicType TUInt CString -> -- symbol : TBasicType TUTF8 IO () @@ -587,15 +947,15 @@ -- method Scanner::set_scope -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Scanner", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "scope_id", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Scanner", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "scope_id", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False foreign import ccall "g_scanner_set_scope" g_scanner_set_scope :: Ptr Scanner -> -- _obj : TInterface "GLib" "Scanner"- Word32 -> -- scope_id : TBasicType TUInt32+ Word32 -> -- scope_id : TBasicType TUInt IO Word32 @@ -618,7 +978,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Scanner", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -643,9 +1003,9 @@ -- method Scanner::unexp_token -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Scanner", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "expected_token", argType = TInterface "GLib" "TokenType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "identifier_spec", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "symbol_spec", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "symbol_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "message", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "is_error", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Scanner", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "expected_token", argType = TInterface "GLib" "TokenType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "identifier_spec", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "symbol_spec", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "symbol_name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "message", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "is_error", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -656,7 +1016,7 @@ CString -> -- symbol_spec : TBasicType TUTF8 CString -> -- symbol_name : TBasicType TUTF8 CString -> -- message : TBasicType TUTF8- Int32 -> -- is_error : TBasicType TInt32+ Int32 -> -- is_error : TBasicType TInt IO ()
GI/GLib/Structs/Scanner.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.Scanner where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/ScannerConfig.hs view
@@ -21,116 +21,172 @@ -- * Properties -- ** CaseSensitive+ scannerConfigCaseSensitive , scannerConfigReadCaseSensitive ,+ scannerConfigWriteCaseSensitive , -- ** Char2Token+ scannerConfigChar2Token , scannerConfigReadChar2Token ,+ scannerConfigWriteChar2Token , -- ** CpairCommentSingle+ scannerConfigClearCpairCommentSingle ,+ scannerConfigCpairCommentSingle , scannerConfigReadCpairCommentSingle ,+ scannerConfigWriteCpairCommentSingle , -- ** CsetIdentifierFirst+ scannerConfigClearCsetIdentifierFirst ,+ scannerConfigCsetIdentifierFirst , scannerConfigReadCsetIdentifierFirst ,+ scannerConfigWriteCsetIdentifierFirst , -- ** CsetIdentifierNth+ scannerConfigClearCsetIdentifierNth ,+ scannerConfigCsetIdentifierNth , scannerConfigReadCsetIdentifierNth ,+ scannerConfigWriteCsetIdentifierNth , -- ** CsetSkipCharacters+ scannerConfigClearCsetSkipCharacters ,+ scannerConfigCsetSkipCharacters , scannerConfigReadCsetSkipCharacters ,+ scannerConfigWriteCsetSkipCharacters , -- ** Identifier2String+ scannerConfigIdentifier2String , scannerConfigReadIdentifier2String ,+ scannerConfigWriteIdentifier2String , -- ** Int2Float+ scannerConfigInt2Float , scannerConfigReadInt2Float ,+ scannerConfigWriteInt2Float , -- ** Numbers2Int+ scannerConfigNumbers2Int , scannerConfigReadNumbers2Int ,+ scannerConfigWriteNumbers2Int , -- ** ScanBinary scannerConfigReadScanBinary ,+ scannerConfigScanBinary ,+ scannerConfigWriteScanBinary , -- ** ScanCommentMulti scannerConfigReadScanCommentMulti ,+ scannerConfigScanCommentMulti ,+ scannerConfigWriteScanCommentMulti , -- ** ScanFloat scannerConfigReadScanFloat ,+ scannerConfigScanFloat ,+ scannerConfigWriteScanFloat , -- ** ScanHex scannerConfigReadScanHex ,+ scannerConfigScanHex ,+ scannerConfigWriteScanHex , -- ** ScanHexDollar scannerConfigReadScanHexDollar ,+ scannerConfigScanHexDollar ,+ scannerConfigWriteScanHexDollar , -- ** ScanIdentifier scannerConfigReadScanIdentifier ,+ scannerConfigScanIdentifier ,+ scannerConfigWriteScanIdentifier , -- ** ScanIdentifier1char scannerConfigReadScanIdentifier1char ,+ scannerConfigScanIdentifier1char ,+ scannerConfigWriteScanIdentifier1char , -- ** ScanIdentifierNULL scannerConfigReadScanIdentifierNULL ,+ scannerConfigScanIdentifierNULL ,+ scannerConfigWriteScanIdentifierNULL , -- ** ScanOctal scannerConfigReadScanOctal ,+ scannerConfigScanOctal ,+ scannerConfigWriteScanOctal , -- ** ScanStringDq scannerConfigReadScanStringDq ,+ scannerConfigScanStringDq ,+ scannerConfigWriteScanStringDq , -- ** ScanStringSq scannerConfigReadScanStringSq ,+ scannerConfigScanStringSq ,+ scannerConfigWriteScanStringSq , -- ** ScanSymbols scannerConfigReadScanSymbols ,+ scannerConfigScanSymbols ,+ scannerConfigWriteScanSymbols , -- ** Scope0Fallback scannerConfigReadScope0Fallback ,+ scannerConfigScope0Fallback ,+ scannerConfigWriteScope0Fallback , -- ** SkipCommentMulti scannerConfigReadSkipCommentMulti ,+ scannerConfigSkipCommentMulti ,+ scannerConfigWriteSkipCommentMulti , -- ** SkipCommentSingle scannerConfigReadSkipCommentSingle ,+ scannerConfigSkipCommentSingle ,+ scannerConfigWriteSkipCommentSingle , -- ** StoreInt64 scannerConfigReadStoreInt64 ,+ scannerConfigStoreInt64 ,+ scannerConfigWriteStoreInt64 , -- ** Symbol2Token scannerConfigReadSymbol2Token ,+ scannerConfigSymbol2Token ,+ scannerConfigWriteSymbol2Token , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -143,142 +199,697 @@ newZeroScannerConfig :: MonadIO m => m ScannerConfig newZeroScannerConfig = liftIO $ callocBytes 128 >>= wrapPtr ScannerConfig +instance tag ~ 'AttrSet => Constructible ScannerConfig tag where+ new _ attrs = do+ o <- newZeroScannerConfig+ GI.Attributes.set o attrs+ return o++ noScannerConfig :: Maybe ScannerConfig noScannerConfig = Nothing -scannerConfigReadCsetSkipCharacters :: ScannerConfig -> IO T.Text-scannerConfigReadCsetSkipCharacters s = withManagedPtr s $ \ptr -> do+scannerConfigReadCsetSkipCharacters :: MonadIO m => ScannerConfig -> m (Maybe T.Text)+scannerConfigReadCsetSkipCharacters s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO CString- val' <- cstringToText val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- cstringToText val'+ return val''+ return result -scannerConfigReadCsetIdentifierFirst :: ScannerConfig -> IO T.Text-scannerConfigReadCsetIdentifierFirst s = withManagedPtr s $ \ptr -> do+scannerConfigWriteCsetSkipCharacters :: MonadIO m => ScannerConfig -> CString -> m ()+scannerConfigWriteCsetSkipCharacters s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: CString)++scannerConfigClearCsetSkipCharacters :: MonadIO m => ScannerConfig -> m ()+scannerConfigClearCsetSkipCharacters s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (nullPtr :: CString)++data ScannerConfigCsetSkipCharactersFieldInfo+instance AttrInfo ScannerConfigCsetSkipCharactersFieldInfo where+ type AttrAllowedOps ScannerConfigCsetSkipCharactersFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint ScannerConfigCsetSkipCharactersFieldInfo = (~) CString+ type AttrBaseTypeConstraint ScannerConfigCsetSkipCharactersFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigCsetSkipCharactersFieldInfo = Maybe T.Text+ type AttrLabel ScannerConfigCsetSkipCharactersFieldInfo = "cset_skip_characters"+ attrGet _ = scannerConfigReadCsetSkipCharacters+ attrSet _ = scannerConfigWriteCsetSkipCharacters+ attrConstruct = undefined+ attrClear _ = scannerConfigClearCsetSkipCharacters++scannerConfigCsetSkipCharacters :: AttrLabelProxy "csetSkipCharacters"+scannerConfigCsetSkipCharacters = AttrLabelProxy+++scannerConfigReadCsetIdentifierFirst :: MonadIO m => ScannerConfig -> m (Maybe T.Text)+scannerConfigReadCsetIdentifierFirst s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 8) :: IO CString- val' <- cstringToText val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- cstringToText val'+ return val''+ return result -scannerConfigReadCsetIdentifierNth :: ScannerConfig -> IO T.Text-scannerConfigReadCsetIdentifierNth s = withManagedPtr s $ \ptr -> do+scannerConfigWriteCsetIdentifierFirst :: MonadIO m => ScannerConfig -> CString -> m ()+scannerConfigWriteCsetIdentifierFirst s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (val :: CString)++scannerConfigClearCsetIdentifierFirst :: MonadIO m => ScannerConfig -> m ()+scannerConfigClearCsetIdentifierFirst s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (nullPtr :: CString)++data ScannerConfigCsetIdentifierFirstFieldInfo+instance AttrInfo ScannerConfigCsetIdentifierFirstFieldInfo where+ type AttrAllowedOps ScannerConfigCsetIdentifierFirstFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint ScannerConfigCsetIdentifierFirstFieldInfo = (~) CString+ type AttrBaseTypeConstraint ScannerConfigCsetIdentifierFirstFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigCsetIdentifierFirstFieldInfo = Maybe T.Text+ type AttrLabel ScannerConfigCsetIdentifierFirstFieldInfo = "cset_identifier_first"+ attrGet _ = scannerConfigReadCsetIdentifierFirst+ attrSet _ = scannerConfigWriteCsetIdentifierFirst+ attrConstruct = undefined+ attrClear _ = scannerConfigClearCsetIdentifierFirst++scannerConfigCsetIdentifierFirst :: AttrLabelProxy "csetIdentifierFirst"+scannerConfigCsetIdentifierFirst = AttrLabelProxy+++scannerConfigReadCsetIdentifierNth :: MonadIO m => ScannerConfig -> m (Maybe T.Text)+scannerConfigReadCsetIdentifierNth s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 16) :: IO CString- val' <- cstringToText val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- cstringToText val'+ return val''+ return result -scannerConfigReadCpairCommentSingle :: ScannerConfig -> IO T.Text-scannerConfigReadCpairCommentSingle s = withManagedPtr s $ \ptr -> do+scannerConfigWriteCsetIdentifierNth :: MonadIO m => ScannerConfig -> CString -> m ()+scannerConfigWriteCsetIdentifierNth s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 16) (val :: CString)++scannerConfigClearCsetIdentifierNth :: MonadIO m => ScannerConfig -> m ()+scannerConfigClearCsetIdentifierNth s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 16) (nullPtr :: CString)++data ScannerConfigCsetIdentifierNthFieldInfo+instance AttrInfo ScannerConfigCsetIdentifierNthFieldInfo where+ type AttrAllowedOps ScannerConfigCsetIdentifierNthFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint ScannerConfigCsetIdentifierNthFieldInfo = (~) CString+ type AttrBaseTypeConstraint ScannerConfigCsetIdentifierNthFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigCsetIdentifierNthFieldInfo = Maybe T.Text+ type AttrLabel ScannerConfigCsetIdentifierNthFieldInfo = "cset_identifier_nth"+ attrGet _ = scannerConfigReadCsetIdentifierNth+ attrSet _ = scannerConfigWriteCsetIdentifierNth+ attrConstruct = undefined+ attrClear _ = scannerConfigClearCsetIdentifierNth++scannerConfigCsetIdentifierNth :: AttrLabelProxy "csetIdentifierNth"+scannerConfigCsetIdentifierNth = AttrLabelProxy+++scannerConfigReadCpairCommentSingle :: MonadIO m => ScannerConfig -> m (Maybe T.Text)+scannerConfigReadCpairCommentSingle s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 24) :: IO CString- val' <- cstringToText val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- cstringToText val'+ return val''+ return result -scannerConfigReadCaseSensitive :: ScannerConfig -> IO Word32-scannerConfigReadCaseSensitive s = withManagedPtr s $ \ptr -> do+scannerConfigWriteCpairCommentSingle :: MonadIO m => ScannerConfig -> CString -> m ()+scannerConfigWriteCpairCommentSingle s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 24) (val :: CString)++scannerConfigClearCpairCommentSingle :: MonadIO m => ScannerConfig -> m ()+scannerConfigClearCpairCommentSingle s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 24) (nullPtr :: CString)++data ScannerConfigCpairCommentSingleFieldInfo+instance AttrInfo ScannerConfigCpairCommentSingleFieldInfo where+ type AttrAllowedOps ScannerConfigCpairCommentSingleFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint ScannerConfigCpairCommentSingleFieldInfo = (~) CString+ type AttrBaseTypeConstraint ScannerConfigCpairCommentSingleFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigCpairCommentSingleFieldInfo = Maybe T.Text+ type AttrLabel ScannerConfigCpairCommentSingleFieldInfo = "cpair_comment_single"+ attrGet _ = scannerConfigReadCpairCommentSingle+ attrSet _ = scannerConfigWriteCpairCommentSingle+ attrConstruct = undefined+ attrClear _ = scannerConfigClearCpairCommentSingle++scannerConfigCpairCommentSingle :: AttrLabelProxy "cpairCommentSingle"+scannerConfigCpairCommentSingle = AttrLabelProxy+++scannerConfigReadCaseSensitive :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadCaseSensitive s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 32) :: IO Word32 return val -scannerConfigReadSkipCommentMulti :: ScannerConfig -> IO Word32-scannerConfigReadSkipCommentMulti s = withManagedPtr s $ \ptr -> do+scannerConfigWriteCaseSensitive :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteCaseSensitive s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 32) (val :: Word32)++data ScannerConfigCaseSensitiveFieldInfo+instance AttrInfo ScannerConfigCaseSensitiveFieldInfo where+ type AttrAllowedOps ScannerConfigCaseSensitiveFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigCaseSensitiveFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigCaseSensitiveFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigCaseSensitiveFieldInfo = Word32+ type AttrLabel ScannerConfigCaseSensitiveFieldInfo = "case_sensitive"+ attrGet _ = scannerConfigReadCaseSensitive+ attrSet _ = scannerConfigWriteCaseSensitive+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigCaseSensitive :: AttrLabelProxy "caseSensitive"+scannerConfigCaseSensitive = AttrLabelProxy+++scannerConfigReadSkipCommentMulti :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadSkipCommentMulti s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 36) :: IO Word32 return val -scannerConfigReadSkipCommentSingle :: ScannerConfig -> IO Word32-scannerConfigReadSkipCommentSingle s = withManagedPtr s $ \ptr -> do+scannerConfigWriteSkipCommentMulti :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteSkipCommentMulti s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 36) (val :: Word32)++data ScannerConfigSkipCommentMultiFieldInfo+instance AttrInfo ScannerConfigSkipCommentMultiFieldInfo where+ type AttrAllowedOps ScannerConfigSkipCommentMultiFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigSkipCommentMultiFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigSkipCommentMultiFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigSkipCommentMultiFieldInfo = Word32+ type AttrLabel ScannerConfigSkipCommentMultiFieldInfo = "skip_comment_multi"+ attrGet _ = scannerConfigReadSkipCommentMulti+ attrSet _ = scannerConfigWriteSkipCommentMulti+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigSkipCommentMulti :: AttrLabelProxy "skipCommentMulti"+scannerConfigSkipCommentMulti = AttrLabelProxy+++scannerConfigReadSkipCommentSingle :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadSkipCommentSingle s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 40) :: IO Word32 return val -scannerConfigReadScanCommentMulti :: ScannerConfig -> IO Word32-scannerConfigReadScanCommentMulti s = withManagedPtr s $ \ptr -> do+scannerConfigWriteSkipCommentSingle :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteSkipCommentSingle s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 40) (val :: Word32)++data ScannerConfigSkipCommentSingleFieldInfo+instance AttrInfo ScannerConfigSkipCommentSingleFieldInfo where+ type AttrAllowedOps ScannerConfigSkipCommentSingleFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigSkipCommentSingleFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigSkipCommentSingleFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigSkipCommentSingleFieldInfo = Word32+ type AttrLabel ScannerConfigSkipCommentSingleFieldInfo = "skip_comment_single"+ attrGet _ = scannerConfigReadSkipCommentSingle+ attrSet _ = scannerConfigWriteSkipCommentSingle+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigSkipCommentSingle :: AttrLabelProxy "skipCommentSingle"+scannerConfigSkipCommentSingle = AttrLabelProxy+++scannerConfigReadScanCommentMulti :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadScanCommentMulti s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 44) :: IO Word32 return val -scannerConfigReadScanIdentifier :: ScannerConfig -> IO Word32-scannerConfigReadScanIdentifier s = withManagedPtr s $ \ptr -> do+scannerConfigWriteScanCommentMulti :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteScanCommentMulti s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 44) (val :: Word32)++data ScannerConfigScanCommentMultiFieldInfo+instance AttrInfo ScannerConfigScanCommentMultiFieldInfo where+ type AttrAllowedOps ScannerConfigScanCommentMultiFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigScanCommentMultiFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigScanCommentMultiFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigScanCommentMultiFieldInfo = Word32+ type AttrLabel ScannerConfigScanCommentMultiFieldInfo = "scan_comment_multi"+ attrGet _ = scannerConfigReadScanCommentMulti+ attrSet _ = scannerConfigWriteScanCommentMulti+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigScanCommentMulti :: AttrLabelProxy "scanCommentMulti"+scannerConfigScanCommentMulti = AttrLabelProxy+++scannerConfigReadScanIdentifier :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadScanIdentifier s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 48) :: IO Word32 return val -scannerConfigReadScanIdentifier1char :: ScannerConfig -> IO Word32-scannerConfigReadScanIdentifier1char s = withManagedPtr s $ \ptr -> do+scannerConfigWriteScanIdentifier :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteScanIdentifier s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 48) (val :: Word32)++data ScannerConfigScanIdentifierFieldInfo+instance AttrInfo ScannerConfigScanIdentifierFieldInfo where+ type AttrAllowedOps ScannerConfigScanIdentifierFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigScanIdentifierFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigScanIdentifierFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigScanIdentifierFieldInfo = Word32+ type AttrLabel ScannerConfigScanIdentifierFieldInfo = "scan_identifier"+ attrGet _ = scannerConfigReadScanIdentifier+ attrSet _ = scannerConfigWriteScanIdentifier+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigScanIdentifier :: AttrLabelProxy "scanIdentifier"+scannerConfigScanIdentifier = AttrLabelProxy+++scannerConfigReadScanIdentifier1char :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadScanIdentifier1char s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 52) :: IO Word32 return val -scannerConfigReadScanIdentifierNULL :: ScannerConfig -> IO Word32-scannerConfigReadScanIdentifierNULL s = withManagedPtr s $ \ptr -> do+scannerConfigWriteScanIdentifier1char :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteScanIdentifier1char s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 52) (val :: Word32)++data ScannerConfigScanIdentifier1charFieldInfo+instance AttrInfo ScannerConfigScanIdentifier1charFieldInfo where+ type AttrAllowedOps ScannerConfigScanIdentifier1charFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigScanIdentifier1charFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigScanIdentifier1charFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigScanIdentifier1charFieldInfo = Word32+ type AttrLabel ScannerConfigScanIdentifier1charFieldInfo = "scan_identifier_1char"+ attrGet _ = scannerConfigReadScanIdentifier1char+ attrSet _ = scannerConfigWriteScanIdentifier1char+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigScanIdentifier1char :: AttrLabelProxy "scanIdentifier1char"+scannerConfigScanIdentifier1char = AttrLabelProxy+++scannerConfigReadScanIdentifierNULL :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadScanIdentifierNULL s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 56) :: IO Word32 return val -scannerConfigReadScanSymbols :: ScannerConfig -> IO Word32-scannerConfigReadScanSymbols s = withManagedPtr s $ \ptr -> do+scannerConfigWriteScanIdentifierNULL :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteScanIdentifierNULL s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 56) (val :: Word32)++data ScannerConfigScanIdentifierNULLFieldInfo+instance AttrInfo ScannerConfigScanIdentifierNULLFieldInfo where+ type AttrAllowedOps ScannerConfigScanIdentifierNULLFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigScanIdentifierNULLFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigScanIdentifierNULLFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigScanIdentifierNULLFieldInfo = Word32+ type AttrLabel ScannerConfigScanIdentifierNULLFieldInfo = "scan_identifier_NULL"+ attrGet _ = scannerConfigReadScanIdentifierNULL+ attrSet _ = scannerConfigWriteScanIdentifierNULL+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigScanIdentifierNULL :: AttrLabelProxy "scanIdentifierNULL"+scannerConfigScanIdentifierNULL = AttrLabelProxy+++scannerConfigReadScanSymbols :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadScanSymbols s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 60) :: IO Word32 return val -scannerConfigReadScanBinary :: ScannerConfig -> IO Word32-scannerConfigReadScanBinary s = withManagedPtr s $ \ptr -> do+scannerConfigWriteScanSymbols :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteScanSymbols s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 60) (val :: Word32)++data ScannerConfigScanSymbolsFieldInfo+instance AttrInfo ScannerConfigScanSymbolsFieldInfo where+ type AttrAllowedOps ScannerConfigScanSymbolsFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigScanSymbolsFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigScanSymbolsFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigScanSymbolsFieldInfo = Word32+ type AttrLabel ScannerConfigScanSymbolsFieldInfo = "scan_symbols"+ attrGet _ = scannerConfigReadScanSymbols+ attrSet _ = scannerConfigWriteScanSymbols+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigScanSymbols :: AttrLabelProxy "scanSymbols"+scannerConfigScanSymbols = AttrLabelProxy+++scannerConfigReadScanBinary :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadScanBinary s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 64) :: IO Word32 return val -scannerConfigReadScanOctal :: ScannerConfig -> IO Word32-scannerConfigReadScanOctal s = withManagedPtr s $ \ptr -> do+scannerConfigWriteScanBinary :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteScanBinary s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 64) (val :: Word32)++data ScannerConfigScanBinaryFieldInfo+instance AttrInfo ScannerConfigScanBinaryFieldInfo where+ type AttrAllowedOps ScannerConfigScanBinaryFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigScanBinaryFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigScanBinaryFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigScanBinaryFieldInfo = Word32+ type AttrLabel ScannerConfigScanBinaryFieldInfo = "scan_binary"+ attrGet _ = scannerConfigReadScanBinary+ attrSet _ = scannerConfigWriteScanBinary+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigScanBinary :: AttrLabelProxy "scanBinary"+scannerConfigScanBinary = AttrLabelProxy+++scannerConfigReadScanOctal :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadScanOctal s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 68) :: IO Word32 return val -scannerConfigReadScanFloat :: ScannerConfig -> IO Word32-scannerConfigReadScanFloat s = withManagedPtr s $ \ptr -> do+scannerConfigWriteScanOctal :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteScanOctal s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 68) (val :: Word32)++data ScannerConfigScanOctalFieldInfo+instance AttrInfo ScannerConfigScanOctalFieldInfo where+ type AttrAllowedOps ScannerConfigScanOctalFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigScanOctalFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigScanOctalFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigScanOctalFieldInfo = Word32+ type AttrLabel ScannerConfigScanOctalFieldInfo = "scan_octal"+ attrGet _ = scannerConfigReadScanOctal+ attrSet _ = scannerConfigWriteScanOctal+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigScanOctal :: AttrLabelProxy "scanOctal"+scannerConfigScanOctal = AttrLabelProxy+++scannerConfigReadScanFloat :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadScanFloat s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 72) :: IO Word32 return val -scannerConfigReadScanHex :: ScannerConfig -> IO Word32-scannerConfigReadScanHex s = withManagedPtr s $ \ptr -> do+scannerConfigWriteScanFloat :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteScanFloat s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 72) (val :: Word32)++data ScannerConfigScanFloatFieldInfo+instance AttrInfo ScannerConfigScanFloatFieldInfo where+ type AttrAllowedOps ScannerConfigScanFloatFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigScanFloatFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigScanFloatFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigScanFloatFieldInfo = Word32+ type AttrLabel ScannerConfigScanFloatFieldInfo = "scan_float"+ attrGet _ = scannerConfigReadScanFloat+ attrSet _ = scannerConfigWriteScanFloat+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigScanFloat :: AttrLabelProxy "scanFloat"+scannerConfigScanFloat = AttrLabelProxy+++scannerConfigReadScanHex :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadScanHex s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 76) :: IO Word32 return val -scannerConfigReadScanHexDollar :: ScannerConfig -> IO Word32-scannerConfigReadScanHexDollar s = withManagedPtr s $ \ptr -> do+scannerConfigWriteScanHex :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteScanHex s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 76) (val :: Word32)++data ScannerConfigScanHexFieldInfo+instance AttrInfo ScannerConfigScanHexFieldInfo where+ type AttrAllowedOps ScannerConfigScanHexFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigScanHexFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigScanHexFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigScanHexFieldInfo = Word32+ type AttrLabel ScannerConfigScanHexFieldInfo = "scan_hex"+ attrGet _ = scannerConfigReadScanHex+ attrSet _ = scannerConfigWriteScanHex+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigScanHex :: AttrLabelProxy "scanHex"+scannerConfigScanHex = AttrLabelProxy+++scannerConfigReadScanHexDollar :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadScanHexDollar s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 80) :: IO Word32 return val -scannerConfigReadScanStringSq :: ScannerConfig -> IO Word32-scannerConfigReadScanStringSq s = withManagedPtr s $ \ptr -> do+scannerConfigWriteScanHexDollar :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteScanHexDollar s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 80) (val :: Word32)++data ScannerConfigScanHexDollarFieldInfo+instance AttrInfo ScannerConfigScanHexDollarFieldInfo where+ type AttrAllowedOps ScannerConfigScanHexDollarFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigScanHexDollarFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigScanHexDollarFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigScanHexDollarFieldInfo = Word32+ type AttrLabel ScannerConfigScanHexDollarFieldInfo = "scan_hex_dollar"+ attrGet _ = scannerConfigReadScanHexDollar+ attrSet _ = scannerConfigWriteScanHexDollar+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigScanHexDollar :: AttrLabelProxy "scanHexDollar"+scannerConfigScanHexDollar = AttrLabelProxy+++scannerConfigReadScanStringSq :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadScanStringSq s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 84) :: IO Word32 return val -scannerConfigReadScanStringDq :: ScannerConfig -> IO Word32-scannerConfigReadScanStringDq s = withManagedPtr s $ \ptr -> do+scannerConfigWriteScanStringSq :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteScanStringSq s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 84) (val :: Word32)++data ScannerConfigScanStringSqFieldInfo+instance AttrInfo ScannerConfigScanStringSqFieldInfo where+ type AttrAllowedOps ScannerConfigScanStringSqFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigScanStringSqFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigScanStringSqFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigScanStringSqFieldInfo = Word32+ type AttrLabel ScannerConfigScanStringSqFieldInfo = "scan_string_sq"+ attrGet _ = scannerConfigReadScanStringSq+ attrSet _ = scannerConfigWriteScanStringSq+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigScanStringSq :: AttrLabelProxy "scanStringSq"+scannerConfigScanStringSq = AttrLabelProxy+++scannerConfigReadScanStringDq :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadScanStringDq s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 88) :: IO Word32 return val -scannerConfigReadNumbers2Int :: ScannerConfig -> IO Word32-scannerConfigReadNumbers2Int s = withManagedPtr s $ \ptr -> do+scannerConfigWriteScanStringDq :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteScanStringDq s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 88) (val :: Word32)++data ScannerConfigScanStringDqFieldInfo+instance AttrInfo ScannerConfigScanStringDqFieldInfo where+ type AttrAllowedOps ScannerConfigScanStringDqFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigScanStringDqFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigScanStringDqFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigScanStringDqFieldInfo = Word32+ type AttrLabel ScannerConfigScanStringDqFieldInfo = "scan_string_dq"+ attrGet _ = scannerConfigReadScanStringDq+ attrSet _ = scannerConfigWriteScanStringDq+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigScanStringDq :: AttrLabelProxy "scanStringDq"+scannerConfigScanStringDq = AttrLabelProxy+++scannerConfigReadNumbers2Int :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadNumbers2Int s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 92) :: IO Word32 return val -scannerConfigReadInt2Float :: ScannerConfig -> IO Word32-scannerConfigReadInt2Float s = withManagedPtr s $ \ptr -> do+scannerConfigWriteNumbers2Int :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteNumbers2Int s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 92) (val :: Word32)++data ScannerConfigNumbers2IntFieldInfo+instance AttrInfo ScannerConfigNumbers2IntFieldInfo where+ type AttrAllowedOps ScannerConfigNumbers2IntFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigNumbers2IntFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigNumbers2IntFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigNumbers2IntFieldInfo = Word32+ type AttrLabel ScannerConfigNumbers2IntFieldInfo = "numbers_2_int"+ attrGet _ = scannerConfigReadNumbers2Int+ attrSet _ = scannerConfigWriteNumbers2Int+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigNumbers2Int :: AttrLabelProxy "numbers2Int"+scannerConfigNumbers2Int = AttrLabelProxy+++scannerConfigReadInt2Float :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadInt2Float s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 96) :: IO Word32 return val -scannerConfigReadIdentifier2String :: ScannerConfig -> IO Word32-scannerConfigReadIdentifier2String s = withManagedPtr s $ \ptr -> do+scannerConfigWriteInt2Float :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteInt2Float s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 96) (val :: Word32)++data ScannerConfigInt2FloatFieldInfo+instance AttrInfo ScannerConfigInt2FloatFieldInfo where+ type AttrAllowedOps ScannerConfigInt2FloatFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigInt2FloatFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigInt2FloatFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigInt2FloatFieldInfo = Word32+ type AttrLabel ScannerConfigInt2FloatFieldInfo = "int_2_float"+ attrGet _ = scannerConfigReadInt2Float+ attrSet _ = scannerConfigWriteInt2Float+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigInt2Float :: AttrLabelProxy "int2Float"+scannerConfigInt2Float = AttrLabelProxy+++scannerConfigReadIdentifier2String :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadIdentifier2String s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 100) :: IO Word32 return val -scannerConfigReadChar2Token :: ScannerConfig -> IO Word32-scannerConfigReadChar2Token s = withManagedPtr s $ \ptr -> do+scannerConfigWriteIdentifier2String :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteIdentifier2String s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 100) (val :: Word32)++data ScannerConfigIdentifier2StringFieldInfo+instance AttrInfo ScannerConfigIdentifier2StringFieldInfo where+ type AttrAllowedOps ScannerConfigIdentifier2StringFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigIdentifier2StringFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigIdentifier2StringFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigIdentifier2StringFieldInfo = Word32+ type AttrLabel ScannerConfigIdentifier2StringFieldInfo = "identifier_2_string"+ attrGet _ = scannerConfigReadIdentifier2String+ attrSet _ = scannerConfigWriteIdentifier2String+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigIdentifier2String :: AttrLabelProxy "identifier2String"+scannerConfigIdentifier2String = AttrLabelProxy+++scannerConfigReadChar2Token :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadChar2Token s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 104) :: IO Word32 return val -scannerConfigReadSymbol2Token :: ScannerConfig -> IO Word32-scannerConfigReadSymbol2Token s = withManagedPtr s $ \ptr -> do+scannerConfigWriteChar2Token :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteChar2Token s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 104) (val :: Word32)++data ScannerConfigChar2TokenFieldInfo+instance AttrInfo ScannerConfigChar2TokenFieldInfo where+ type AttrAllowedOps ScannerConfigChar2TokenFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigChar2TokenFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigChar2TokenFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigChar2TokenFieldInfo = Word32+ type AttrLabel ScannerConfigChar2TokenFieldInfo = "char_2_token"+ attrGet _ = scannerConfigReadChar2Token+ attrSet _ = scannerConfigWriteChar2Token+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigChar2Token :: AttrLabelProxy "char2Token"+scannerConfigChar2Token = AttrLabelProxy+++scannerConfigReadSymbol2Token :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadSymbol2Token s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 108) :: IO Word32 return val -scannerConfigReadScope0Fallback :: ScannerConfig -> IO Word32-scannerConfigReadScope0Fallback s = withManagedPtr s $ \ptr -> do+scannerConfigWriteSymbol2Token :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteSymbol2Token s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 108) (val :: Word32)++data ScannerConfigSymbol2TokenFieldInfo+instance AttrInfo ScannerConfigSymbol2TokenFieldInfo where+ type AttrAllowedOps ScannerConfigSymbol2TokenFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigSymbol2TokenFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigSymbol2TokenFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigSymbol2TokenFieldInfo = Word32+ type AttrLabel ScannerConfigSymbol2TokenFieldInfo = "symbol_2_token"+ attrGet _ = scannerConfigReadSymbol2Token+ attrSet _ = scannerConfigWriteSymbol2Token+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigSymbol2Token :: AttrLabelProxy "symbol2Token"+scannerConfigSymbol2Token = AttrLabelProxy+++scannerConfigReadScope0Fallback :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadScope0Fallback s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 112) :: IO Word32 return val -scannerConfigReadStoreInt64 :: ScannerConfig -> IO Word32-scannerConfigReadStoreInt64 s = withManagedPtr s $ \ptr -> do+scannerConfigWriteScope0Fallback :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteScope0Fallback s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 112) (val :: Word32)++data ScannerConfigScope0FallbackFieldInfo+instance AttrInfo ScannerConfigScope0FallbackFieldInfo where+ type AttrAllowedOps ScannerConfigScope0FallbackFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigScope0FallbackFieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigScope0FallbackFieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigScope0FallbackFieldInfo = Word32+ type AttrLabel ScannerConfigScope0FallbackFieldInfo = "scope_0_fallback"+ attrGet _ = scannerConfigReadScope0Fallback+ attrSet _ = scannerConfigWriteScope0Fallback+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigScope0Fallback :: AttrLabelProxy "scope0Fallback"+scannerConfigScope0Fallback = AttrLabelProxy+++scannerConfigReadStoreInt64 :: MonadIO m => ScannerConfig -> m Word32+scannerConfigReadStoreInt64 s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 116) :: IO Word32 return val++scannerConfigWriteStoreInt64 :: MonadIO m => ScannerConfig -> Word32 -> m ()+scannerConfigWriteStoreInt64 s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 116) (val :: Word32)++data ScannerConfigStoreInt64FieldInfo+instance AttrInfo ScannerConfigStoreInt64FieldInfo where+ type AttrAllowedOps ScannerConfigStoreInt64FieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ScannerConfigStoreInt64FieldInfo = (~) Word32+ type AttrBaseTypeConstraint ScannerConfigStoreInt64FieldInfo = (~) ScannerConfig+ type AttrGetType ScannerConfigStoreInt64FieldInfo = Word32+ type AttrLabel ScannerConfigStoreInt64FieldInfo = "store_int64"+ attrGet _ = scannerConfigReadStoreInt64+ attrSet _ = scannerConfigWriteStoreInt64+ attrConstruct = undefined+ attrClear _ = undefined++scannerConfigStoreInt64 :: AttrLabelProxy "storeInt64"+scannerConfigStoreInt64 = AttrLabelProxy++++type instance AttributeList ScannerConfig = ScannerConfigAttributeList+type ScannerConfigAttributeList = ('[ '("csetSkipCharacters", ScannerConfigCsetSkipCharactersFieldInfo), '("csetIdentifierFirst", ScannerConfigCsetIdentifierFirstFieldInfo), '("csetIdentifierNth", ScannerConfigCsetIdentifierNthFieldInfo), '("cpairCommentSingle", ScannerConfigCpairCommentSingleFieldInfo), '("caseSensitive", ScannerConfigCaseSensitiveFieldInfo), '("skipCommentMulti", ScannerConfigSkipCommentMultiFieldInfo), '("skipCommentSingle", ScannerConfigSkipCommentSingleFieldInfo), '("scanCommentMulti", ScannerConfigScanCommentMultiFieldInfo), '("scanIdentifier", ScannerConfigScanIdentifierFieldInfo), '("scanIdentifier1char", ScannerConfigScanIdentifier1charFieldInfo), '("scanIdentifierNULL", ScannerConfigScanIdentifierNULLFieldInfo), '("scanSymbols", ScannerConfigScanSymbolsFieldInfo), '("scanBinary", ScannerConfigScanBinaryFieldInfo), '("scanOctal", ScannerConfigScanOctalFieldInfo), '("scanFloat", ScannerConfigScanFloatFieldInfo), '("scanHex", ScannerConfigScanHexFieldInfo), '("scanHexDollar", ScannerConfigScanHexDollarFieldInfo), '("scanStringSq", ScannerConfigScanStringSqFieldInfo), '("scanStringDq", ScannerConfigScanStringDqFieldInfo), '("numbers2Int", ScannerConfigNumbers2IntFieldInfo), '("int2Float", ScannerConfigInt2FloatFieldInfo), '("identifier2String", ScannerConfigIdentifier2StringFieldInfo), '("char2Token", ScannerConfigChar2TokenFieldInfo), '("symbol2Token", ScannerConfigSymbol2TokenFieldInfo), '("scope0Fallback", ScannerConfigScope0FallbackFieldInfo), '("storeInt64", ScannerConfigStoreInt64FieldInfo)] :: [(Symbol, *)]) type family ResolveScannerConfigMethod (t :: Symbol) (o :: *) :: * where ResolveScannerConfigMethod l o = MethodResolutionFailed l o
GI/GLib/Structs/ScannerConfig.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.ScannerConfig where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/Sequence.hs view
@@ -56,9 +56,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -70,11 +70,15 @@ noSequence :: Maybe Sequence noSequence = Nothing ++type instance AttributeList Sequence = SequenceAttributeList+type SequenceAttributeList = ('[ ] :: [(Symbol, *)])+ -- method Sequence::free -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Sequence", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -101,7 +105,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Sequence", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -128,7 +132,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "src", argType = TInterface "GLib" "SequenceIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "dest", argType = TInterface "GLib" "SequenceIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -155,7 +159,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "dest", argType = TInterface "GLib" "SequenceIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "begin", argType = TInterface "GLib" "SequenceIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "end", argType = TInterface "GLib" "SequenceIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -186,7 +190,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "iter", argType = TInterface "GLib" "SequenceIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -209,7 +213,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "begin", argType = TInterface "GLib" "SequenceIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "end", argType = TInterface "GLib" "SequenceIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -234,15 +238,15 @@ -- method Sequence::set -- method type : MemberFunction--- Args : [Arg {argCName = "iter", argType = TInterface "GLib" "SequenceIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "iter", argType = TInterface "GLib" "SequenceIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_sequence_set" g_sequence_set :: Ptr SequenceIter -> -- iter : TInterface "GLib" "SequenceIter"- Ptr () -> -- data : TBasicType TVoid+ Ptr () -> -- data : TBasicType TPtr IO () @@ -261,7 +265,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "a", argType = TInterface "GLib" "SequenceIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "b", argType = TInterface "GLib" "SequenceIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/Sequence.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.Sequence where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/SequenceIter.hs view
@@ -42,9 +42,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -56,11 +56,15 @@ noSequenceIter :: Maybe SequenceIter noSequenceIter = Nothing ++type instance AttributeList SequenceIter = SequenceIterAttributeList+type SequenceIterAttributeList = ('[ ] :: [(Symbol, *)])+ -- method SequenceIter::compare -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "SequenceIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "b", argType = TInterface "GLib" "SequenceIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -91,7 +95,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "SequenceIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -118,7 +122,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "SequenceIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -146,7 +150,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "SequenceIter", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False
GI/GLib/Structs/SequenceIter.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.SequenceIter where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/Source.hs view
@@ -178,9 +178,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -199,20 +199,31 @@ newZeroSource :: MonadIO m => m Source newZeroSource = liftIO $ callocBoxedBytes 96 >>= wrapBoxed Source +instance tag ~ 'AttrSet => Constructible Source tag where+ new _ attrs = do+ o <- newZeroSource+ GI.Attributes.set o attrs+ return o++ noSource :: Maybe Source noSource = Nothing ++type instance AttributeList Source = SourceAttributeList+type SourceAttributeList = ('[ ] :: [(Symbol, *)])+ -- method Source::new -- method type : Constructor--- Args : [Arg {argCName = "source_funcs", argType = TInterface "GLib" "SourceFuncs", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "struct_size", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "source_funcs", argType = TInterface "GLib" "SourceFuncs", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "struct_size", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "Source"+-- returnType : Just (TInterface "GLib" "Source") -- throws : False -- Skip return : False foreign import ccall "g_source_new" g_source_new :: Ptr SourceFuncs -> -- source_funcs : TInterface "GLib" "SourceFuncs"- Word32 -> -- struct_size : TBasicType TUInt32+ Word32 -> -- struct_size : TBasicType TUInt IO (Ptr Source) @@ -233,7 +244,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "child_source", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -264,7 +275,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "fd", argType = TInterface "GLib" "PollFD", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -295,7 +306,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "context", argType = TInterface "GLib" "MainContext", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -330,7 +341,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -357,7 +368,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -385,7 +396,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "MainContext"+-- returnType : Just (TInterface "GLib" "MainContext") -- throws : False -- Skip return : False @@ -414,7 +425,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "timeval", argType = TInterface "GLib" "TimeVal", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -445,7 +456,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -472,7 +483,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -501,7 +512,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -528,7 +539,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt64+-- returnType : Just (TBasicType TInt64) -- throws : False -- Skip return : False @@ -555,7 +566,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt64+-- returnType : Just (TBasicType TInt64) -- throws : False -- Skip return : False @@ -582,7 +593,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -608,15 +619,15 @@ -- method Source::modify_unix_fd -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "tag", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "new_events", argType = TInterface "GLib" "IOCondition", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "tag", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "new_events", argType = TInterface "GLib" "IOCondition", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_source_modify_unix_fd" g_source_modify_unix_fd :: Ptr Source -> -- _obj : TInterface "GLib" "Source"- Ptr () -> -- tag : TBasicType TVoid+ Ptr () -> -- tag : TBasicType TPtr CUInt -> -- new_events : TInterface "GLib" "IOCondition" IO () @@ -640,15 +651,15 @@ -- method Source::query_unix_fd -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "tag", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "tag", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "IOCondition"+-- returnType : Just (TInterface "GLib" "IOCondition") -- throws : False -- Skip return : False foreign import ccall "g_source_query_unix_fd" g_source_query_unix_fd :: Ptr Source -> -- _obj : TInterface "GLib" "Source"- Ptr () -> -- tag : TBasicType TVoid+ Ptr () -> -- tag : TBasicType TPtr IO CUInt @@ -672,7 +683,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "Source"+-- returnType : Just (TInterface "GLib" "Source") -- throws : False -- Skip return : False @@ -701,7 +712,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "child_source", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -732,7 +743,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "fd", argType = TInterface "GLib" "PollFD", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -761,15 +772,15 @@ -- method Source::remove_unix_fd -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "tag", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "tag", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_source_remove_unix_fd" g_source_remove_unix_fd :: Ptr Source -> -- _obj : TInterface "GLib" "Source"- Ptr () -> -- tag : TBasicType TVoid+ Ptr () -> -- tag : TBasicType TPtr IO () @@ -790,16 +801,16 @@ -- method Source::set_callback -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TInterface "GLib" "SourceFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeNotified, argClosure = 2, argDestroy = 3, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "func", argType = TInterface "GLib" "SourceFunc", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeNotified, argClosure = 2, argDestroy = 3, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "notify", argType = TInterface "GLib" "DestroyNotify", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeAsync, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_source_set_callback" g_source_set_callback :: Ptr Source -> -- _obj : TInterface "GLib" "Source" FunPtr SourceFuncC -> -- func : TInterface "GLib" "SourceFunc"- Ptr () -> -- data : TBasicType TVoid+ Ptr () -> -- data : TBasicType TPtr FunPtr DestroyNotifyC -> -- notify : TInterface "GLib" "DestroyNotify" IO () @@ -824,15 +835,15 @@ -- method Source::set_callback_indirect -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "callback_data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "callback_funcs", argType = TInterface "GLib" "SourceCallbackFuncs", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "callback_data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "callback_funcs", argType = TInterface "GLib" "SourceCallbackFuncs", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_source_set_callback_indirect" g_source_set_callback_indirect :: Ptr Source -> -- _obj : TInterface "GLib" "Source"- Ptr () -> -- callback_data : TBasicType TVoid+ Ptr () -> -- callback_data : TBasicType TPtr Ptr SourceCallbackFuncs -> -- callback_funcs : TInterface "GLib" "SourceCallbackFuncs" IO () @@ -859,7 +870,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "can_recurse", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -889,7 +900,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "funcs", argType = TInterface "GLib" "SourceFuncs", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -920,7 +931,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -949,15 +960,15 @@ -- method Source::set_priority -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "priority", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "priority", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_source_set_priority" g_source_set_priority :: Ptr Source -> -- _obj : TInterface "GLib" "Source"- Int32 -> -- priority : TBasicType TInt32+ Int32 -> -- priority : TBasicType TInt IO () @@ -980,7 +991,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "ready_time", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1009,7 +1020,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Source", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -1034,14 +1045,14 @@ -- method Source::remove -- method type : MemberFunction--- Args : [Arg {argCName = "tag", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "tag", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False foreign import ccall "g_source_remove" g_source_remove :: - Word32 -> -- tag : TBasicType TUInt32+ Word32 -> -- tag : TBasicType TUInt IO CInt @@ -1056,15 +1067,15 @@ -- method Source::remove_by_funcs_user_data -- method type : MemberFunction--- Args : [Arg {argCName = "funcs", argType = TInterface "GLib" "SourceFuncs", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "funcs", argType = TInterface "GLib" "SourceFuncs", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "user_data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False foreign import ccall "g_source_remove_by_funcs_user_data" g_source_remove_by_funcs_user_data :: Ptr SourceFuncs -> -- funcs : TInterface "GLib" "SourceFuncs"- Ptr () -> -- user_data : TBasicType TVoid+ Ptr () -> -- user_data : TBasicType TPtr IO CInt @@ -1082,14 +1093,14 @@ -- method Source::remove_by_user_data -- method type : MemberFunction--- Args : [Arg {argCName = "user_data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "user_data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False foreign import ccall "g_source_remove_by_user_data" g_source_remove_by_user_data :: - Ptr () -> -- user_data : TBasicType TVoid+ Ptr () -> -- user_data : TBasicType TPtr IO CInt @@ -1104,14 +1115,14 @@ -- method Source::set_name_by_id -- method type : MemberFunction--- Args : [Arg {argCName = "tag", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "tag", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "name", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_source_set_name_by_id" g_source_set_name_by_id :: - Word32 -> -- tag : TBasicType TUInt32+ Word32 -> -- tag : TBasicType TUInt CString -> -- name : TBasicType TUTF8 IO ()
GI/GLib/Structs/Source.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.Source where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/SourceCallbackFuncs.hs view
@@ -20,9 +20,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -35,12 +35,21 @@ newZeroSourceCallbackFuncs :: MonadIO m => m SourceCallbackFuncs newZeroSourceCallbackFuncs = liftIO $ callocBytes 24 >>= wrapPtr SourceCallbackFuncs +instance tag ~ 'AttrSet => Constructible SourceCallbackFuncs tag where+ new _ attrs = do+ o <- newZeroSourceCallbackFuncs+ GI.Attributes.set o attrs+ return o++ noSourceCallbackFuncs :: Maybe SourceCallbackFuncs noSourceCallbackFuncs = Nothing --- XXX Skipped getter for "SourceCallbackFuncs:ref" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+-- XXX Skipped attribute for "SourceCallbackFuncs:ref" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+-- XXX Skipped attribute for "SourceCallbackFuncs:unref" :: Not implemented: "Wrapping foreign callbacks is not supported yet" --- XXX Skipped getter for "SourceCallbackFuncs:unref" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+type instance AttributeList SourceCallbackFuncs = SourceCallbackFuncsAttributeList+type SourceCallbackFuncsAttributeList = ('[ ] :: [(Symbol, *)]) type family ResolveSourceCallbackFuncsMethod (t :: Symbol) (o :: *) :: * where ResolveSourceCallbackFuncsMethod l o = MethodResolutionFailed l o
GI/GLib/Structs/SourceCallbackFuncs.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.SourceCallbackFuncs where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/SourceFuncs.hs view
@@ -38,9 +38,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -53,14 +53,22 @@ newZeroSourceFuncs :: MonadIO m => m SourceFuncs newZeroSourceFuncs = liftIO $ callocBytes 48 >>= wrapPtr SourceFuncs +instance tag ~ 'AttrSet => Constructible SourceFuncs tag where+ new _ attrs = do+ o <- newZeroSourceFuncs+ GI.Attributes.set o attrs+ return o++ noSourceFuncs :: Maybe SourceFuncs noSourceFuncs = Nothing --- XXX Skipped getter for "SourceFuncs:prepare" :: Not implemented: "Wrapping foreign callbacks is not supported yet"---- XXX Skipped getter for "SourceFuncs:check" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+-- XXX Skipped attribute for "SourceFuncs:prepare" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+-- XXX Skipped attribute for "SourceFuncs:check" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+-- XXX Skipped attribute for "SourceFuncs:finalize" :: Not implemented: "Wrapping foreign callbacks is not supported yet" --- XXX Skipped getter for "SourceFuncs:finalize" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+type instance AttributeList SourceFuncs = SourceFuncsAttributeList+type SourceFuncsAttributeList = ('[ ] :: [(Symbol, *)]) type family ResolveSourceFuncsMethod (t :: Symbol) (o :: *) :: * where ResolveSourceFuncsMethod l o = MethodResolutionFailed l o
GI/GLib/Structs/SourceFuncs.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.SourceFuncs where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/StatBuf.hs view
@@ -21,9 +21,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -34,6 +34,10 @@ newtype StatBuf = StatBuf (ForeignPtr StatBuf) noStatBuf :: Maybe StatBuf noStatBuf = Nothing+++type instance AttributeList StatBuf = StatBufAttributeList+type StatBufAttributeList = ('[ ] :: [(Symbol, *)]) type family ResolveStatBufMethod (t :: Symbol) (o :: *) :: * where ResolveStatBufMethod l o = MethodResolutionFailed l o
GI/GLib/Structs/StatBuf.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.StatBuf where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/String.hs view
@@ -157,24 +157,31 @@ -- * Properties -- ** AllocatedLen+ stringAllocatedLen , stringReadAllocatedLen ,+ stringWriteAllocatedLen , -- ** Len+ stringLen , stringReadLen ,+ stringWriteLen , -- ** Str+ stringClearStr , stringReadStr ,+ stringStr ,+ stringWriteStr , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -193,30 +200,107 @@ newZeroString :: MonadIO m => m String newZeroString = liftIO $ callocBoxedBytes 24 >>= wrapBoxed String +instance tag ~ 'AttrSet => Constructible String tag where+ new _ attrs = do+ o <- newZeroString+ GI.Attributes.set o attrs+ return o++ noString :: Maybe String noString = Nothing -stringReadStr :: String -> IO T.Text-stringReadStr s = withManagedPtr s $ \ptr -> do+stringReadStr :: MonadIO m => String -> m (Maybe T.Text)+stringReadStr s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO CString- val' <- cstringToText val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- cstringToText val'+ return val''+ return result -stringReadLen :: String -> IO Word64-stringReadLen s = withManagedPtr s $ \ptr -> do+stringWriteStr :: MonadIO m => String -> CString -> m ()+stringWriteStr s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: CString)++stringClearStr :: MonadIO m => String -> m ()+stringClearStr s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (nullPtr :: CString)++data StringStrFieldInfo+instance AttrInfo StringStrFieldInfo where+ type AttrAllowedOps StringStrFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint StringStrFieldInfo = (~) CString+ type AttrBaseTypeConstraint StringStrFieldInfo = (~) String+ type AttrGetType StringStrFieldInfo = Maybe T.Text+ type AttrLabel StringStrFieldInfo = "str"+ attrGet _ = stringReadStr+ attrSet _ = stringWriteStr+ attrConstruct = undefined+ attrClear _ = stringClearStr++stringStr :: AttrLabelProxy "str"+stringStr = AttrLabelProxy+++stringReadLen :: MonadIO m => String -> m Word64+stringReadLen s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 8) :: IO Word64 return val -stringReadAllocatedLen :: String -> IO Word64-stringReadAllocatedLen s = withManagedPtr s $ \ptr -> do+stringWriteLen :: MonadIO m => String -> Word64 -> m ()+stringWriteLen s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (val :: Word64)++data StringLenFieldInfo+instance AttrInfo StringLenFieldInfo where+ type AttrAllowedOps StringLenFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint StringLenFieldInfo = (~) Word64+ type AttrBaseTypeConstraint StringLenFieldInfo = (~) String+ type AttrGetType StringLenFieldInfo = Word64+ type AttrLabel StringLenFieldInfo = "len"+ attrGet _ = stringReadLen+ attrSet _ = stringWriteLen+ attrConstruct = undefined+ attrClear _ = undefined++stringLen :: AttrLabelProxy "len"+stringLen = AttrLabelProxy+++stringReadAllocatedLen :: MonadIO m => String -> m Word64+stringReadAllocatedLen s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 16) :: IO Word64 return val +stringWriteAllocatedLen :: MonadIO m => String -> Word64 -> m ()+stringWriteAllocatedLen s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 16) (val :: Word64)++data StringAllocatedLenFieldInfo+instance AttrInfo StringAllocatedLenFieldInfo where+ type AttrAllowedOps StringAllocatedLenFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint StringAllocatedLenFieldInfo = (~) Word64+ type AttrBaseTypeConstraint StringAllocatedLenFieldInfo = (~) String+ type AttrGetType StringAllocatedLenFieldInfo = Word64+ type AttrLabel StringAllocatedLenFieldInfo = "allocated_len"+ attrGet _ = stringReadAllocatedLen+ attrSet _ = stringWriteAllocatedLen+ attrConstruct = undefined+ attrClear _ = undefined++stringAllocatedLen :: AttrLabelProxy "allocatedLen"+stringAllocatedLen = AttrLabelProxy++++type instance AttributeList String = StringAttributeList+type StringAttributeList = ('[ '("str", StringStrFieldInfo), '("len", StringLenFieldInfo), '("allocatedLen", StringAllocatedLenFieldInfo)] :: [(Symbol, *)])+ -- method String::append -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -249,7 +333,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "c", argType = TBasicType TInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -280,7 +364,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -315,7 +399,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "wc", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -347,7 +431,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "unescaped", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "reserved_chars_allowed", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "allow_utf8", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -387,7 +471,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -416,7 +500,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -445,7 +529,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "rval", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -478,7 +562,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -507,7 +591,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "v2", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -539,7 +623,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pos", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -572,7 +656,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "free_segment", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -586,26 +670,27 @@ (MonadIO m) => String -- _obj -> Bool -- freeSegment- -> m T.Text -- result+ -> m (Maybe T.Text) -- result stringFree _obj freeSegment = liftIO $ do let _obj' = unsafeManagedPtrGetPtr _obj let freeSegment' = (fromIntegral . fromEnum) freeSegment result <- g_string_free _obj' freeSegment'- checkUnexpectedReturnNULL "g_string_free" result- result' <- cstringToText result- freeMem result+ maybeResult <- convertIfNonNull result $ \result' -> do+ result'' <- cstringToText result'+ freeMem result'+ return result'' touchManagedPtr _obj- return result'+ return maybeResult data StringFreeMethodInfo-instance (signature ~ (Bool -> m T.Text), MonadIO m) => MethodInfo StringFreeMethodInfo String signature where+instance (signature ~ (Bool -> m (Maybe T.Text)), MonadIO m) => MethodInfo StringFreeMethodInfo String signature where overloadedMethod _ = stringFree -- method String::free_to_bytes -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "Bytes"+-- returnType : Just (TInterface "GLib" "Bytes") -- throws : False -- Skip return : False @@ -634,7 +719,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -661,7 +746,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pos", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -696,7 +781,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pos", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "c", argType = TBasicType TInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -729,7 +814,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pos", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -766,7 +851,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pos", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "wc", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -800,7 +885,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pos", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -835,7 +920,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pos", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -872,7 +957,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -905,7 +990,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "c", argType = TBasicType TInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -936,7 +1021,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "val", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -971,7 +1056,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "wc", argType = TBasicType TUniChar, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -1003,7 +1088,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -1034,7 +1119,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False @@ -1065,7 +1150,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "String", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "String"+-- returnType : Just (TInterface "GLib" "String") -- throws : False -- Skip return : False
GI/GLib/Structs/String.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.String where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/StringChunk.hs view
@@ -47,9 +47,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -61,11 +61,15 @@ noStringChunk :: Maybe StringChunk noStringChunk = Nothing ++type instance AttributeList StringChunk = StringChunkAttributeList+type StringChunkAttributeList = ('[ ] :: [(Symbol, *)])+ -- method StringChunk::clear -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "StringChunk", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -92,7 +96,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "StringChunk", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -119,7 +123,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "StringChunk", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -153,7 +157,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "StringChunk", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -187,7 +191,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "StringChunk", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "len", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False
GI/GLib/Structs/StringChunk.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.StringChunk where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/TestCase.hs view
@@ -18,9 +18,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -31,6 +31,10 @@ newtype TestCase = TestCase (ForeignPtr TestCase) noTestCase :: Maybe TestCase noTestCase = Nothing+++type instance AttributeList TestCase = TestCaseAttributeList+type TestCaseAttributeList = ('[ ] :: [(Symbol, *)]) type family ResolveTestCaseMethod (t :: Symbol) (o :: *) :: * where ResolveTestCaseMethod l o = MethodResolutionFailed l o
GI/GLib/Structs/TestCase.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.TestCase where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/TestConfig.hs view
@@ -18,35 +18,47 @@ -- * Properties -- ** TestInitialized testConfigReadTestInitialized ,+ testConfigTestInitialized ,+ testConfigWriteTestInitialized , -- ** TestPerf testConfigReadTestPerf ,+ testConfigTestPerf ,+ testConfigWriteTestPerf , -- ** TestQuick testConfigReadTestQuick ,+ testConfigTestQuick ,+ testConfigWriteTestQuick , -- ** TestQuiet testConfigReadTestQuiet ,+ testConfigTestQuiet ,+ testConfigWriteTestQuiet , -- ** TestUndefined testConfigReadTestUndefined ,+ testConfigTestUndefined ,+ testConfigWriteTestUndefined , -- ** TestVerbose testConfigReadTestVerbose ,+ testConfigTestVerbose ,+ testConfigWriteTestVerbose , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -59,44 +71,181 @@ newZeroTestConfig :: MonadIO m => m TestConfig newZeroTestConfig = liftIO $ callocBytes 24 >>= wrapPtr TestConfig +instance tag ~ 'AttrSet => Constructible TestConfig tag where+ new _ attrs = do+ o <- newZeroTestConfig+ GI.Attributes.set o attrs+ return o++ noTestConfig :: Maybe TestConfig noTestConfig = Nothing -testConfigReadTestInitialized :: TestConfig -> IO Bool-testConfigReadTestInitialized s = withManagedPtr s $ \ptr -> do+testConfigReadTestInitialized :: MonadIO m => TestConfig -> m Bool+testConfigReadTestInitialized s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO CInt let val' = (/= 0) val return val' -testConfigReadTestQuick :: TestConfig -> IO Bool-testConfigReadTestQuick s = withManagedPtr s $ \ptr -> do+testConfigWriteTestInitialized :: MonadIO m => TestConfig -> Bool -> m ()+testConfigWriteTestInitialized s val = liftIO $ withManagedPtr s $ \ptr -> do+ let val' = (fromIntegral . fromEnum) val+ poke (ptr `plusPtr` 0) (val' :: CInt)++data TestConfigTestInitializedFieldInfo+instance AttrInfo TestConfigTestInitializedFieldInfo where+ type AttrAllowedOps TestConfigTestInitializedFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint TestConfigTestInitializedFieldInfo = (~) Bool+ type AttrBaseTypeConstraint TestConfigTestInitializedFieldInfo = (~) TestConfig+ type AttrGetType TestConfigTestInitializedFieldInfo = Bool+ type AttrLabel TestConfigTestInitializedFieldInfo = "test_initialized"+ attrGet _ = testConfigReadTestInitialized+ attrSet _ = testConfigWriteTestInitialized+ attrConstruct = undefined+ attrClear _ = undefined++testConfigTestInitialized :: AttrLabelProxy "testInitialized"+testConfigTestInitialized = AttrLabelProxy+++testConfigReadTestQuick :: MonadIO m => TestConfig -> m Bool+testConfigReadTestQuick s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 4) :: IO CInt let val' = (/= 0) val return val' -testConfigReadTestPerf :: TestConfig -> IO Bool-testConfigReadTestPerf s = withManagedPtr s $ \ptr -> do+testConfigWriteTestQuick :: MonadIO m => TestConfig -> Bool -> m ()+testConfigWriteTestQuick s val = liftIO $ withManagedPtr s $ \ptr -> do+ let val' = (fromIntegral . fromEnum) val+ poke (ptr `plusPtr` 4) (val' :: CInt)++data TestConfigTestQuickFieldInfo+instance AttrInfo TestConfigTestQuickFieldInfo where+ type AttrAllowedOps TestConfigTestQuickFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint TestConfigTestQuickFieldInfo = (~) Bool+ type AttrBaseTypeConstraint TestConfigTestQuickFieldInfo = (~) TestConfig+ type AttrGetType TestConfigTestQuickFieldInfo = Bool+ type AttrLabel TestConfigTestQuickFieldInfo = "test_quick"+ attrGet _ = testConfigReadTestQuick+ attrSet _ = testConfigWriteTestQuick+ attrConstruct = undefined+ attrClear _ = undefined++testConfigTestQuick :: AttrLabelProxy "testQuick"+testConfigTestQuick = AttrLabelProxy+++testConfigReadTestPerf :: MonadIO m => TestConfig -> m Bool+testConfigReadTestPerf s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 8) :: IO CInt let val' = (/= 0) val return val' -testConfigReadTestVerbose :: TestConfig -> IO Bool-testConfigReadTestVerbose s = withManagedPtr s $ \ptr -> do+testConfigWriteTestPerf :: MonadIO m => TestConfig -> Bool -> m ()+testConfigWriteTestPerf s val = liftIO $ withManagedPtr s $ \ptr -> do+ let val' = (fromIntegral . fromEnum) val+ poke (ptr `plusPtr` 8) (val' :: CInt)++data TestConfigTestPerfFieldInfo+instance AttrInfo TestConfigTestPerfFieldInfo where+ type AttrAllowedOps TestConfigTestPerfFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint TestConfigTestPerfFieldInfo = (~) Bool+ type AttrBaseTypeConstraint TestConfigTestPerfFieldInfo = (~) TestConfig+ type AttrGetType TestConfigTestPerfFieldInfo = Bool+ type AttrLabel TestConfigTestPerfFieldInfo = "test_perf"+ attrGet _ = testConfigReadTestPerf+ attrSet _ = testConfigWriteTestPerf+ attrConstruct = undefined+ attrClear _ = undefined++testConfigTestPerf :: AttrLabelProxy "testPerf"+testConfigTestPerf = AttrLabelProxy+++testConfigReadTestVerbose :: MonadIO m => TestConfig -> m Bool+testConfigReadTestVerbose s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 12) :: IO CInt let val' = (/= 0) val return val' -testConfigReadTestQuiet :: TestConfig -> IO Bool-testConfigReadTestQuiet s = withManagedPtr s $ \ptr -> do+testConfigWriteTestVerbose :: MonadIO m => TestConfig -> Bool -> m ()+testConfigWriteTestVerbose s val = liftIO $ withManagedPtr s $ \ptr -> do+ let val' = (fromIntegral . fromEnum) val+ poke (ptr `plusPtr` 12) (val' :: CInt)++data TestConfigTestVerboseFieldInfo+instance AttrInfo TestConfigTestVerboseFieldInfo where+ type AttrAllowedOps TestConfigTestVerboseFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint TestConfigTestVerboseFieldInfo = (~) Bool+ type AttrBaseTypeConstraint TestConfigTestVerboseFieldInfo = (~) TestConfig+ type AttrGetType TestConfigTestVerboseFieldInfo = Bool+ type AttrLabel TestConfigTestVerboseFieldInfo = "test_verbose"+ attrGet _ = testConfigReadTestVerbose+ attrSet _ = testConfigWriteTestVerbose+ attrConstruct = undefined+ attrClear _ = undefined++testConfigTestVerbose :: AttrLabelProxy "testVerbose"+testConfigTestVerbose = AttrLabelProxy+++testConfigReadTestQuiet :: MonadIO m => TestConfig -> m Bool+testConfigReadTestQuiet s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 16) :: IO CInt let val' = (/= 0) val return val' -testConfigReadTestUndefined :: TestConfig -> IO Bool-testConfigReadTestUndefined s = withManagedPtr s $ \ptr -> do+testConfigWriteTestQuiet :: MonadIO m => TestConfig -> Bool -> m ()+testConfigWriteTestQuiet s val = liftIO $ withManagedPtr s $ \ptr -> do+ let val' = (fromIntegral . fromEnum) val+ poke (ptr `plusPtr` 16) (val' :: CInt)++data TestConfigTestQuietFieldInfo+instance AttrInfo TestConfigTestQuietFieldInfo where+ type AttrAllowedOps TestConfigTestQuietFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint TestConfigTestQuietFieldInfo = (~) Bool+ type AttrBaseTypeConstraint TestConfigTestQuietFieldInfo = (~) TestConfig+ type AttrGetType TestConfigTestQuietFieldInfo = Bool+ type AttrLabel TestConfigTestQuietFieldInfo = "test_quiet"+ attrGet _ = testConfigReadTestQuiet+ attrSet _ = testConfigWriteTestQuiet+ attrConstruct = undefined+ attrClear _ = undefined++testConfigTestQuiet :: AttrLabelProxy "testQuiet"+testConfigTestQuiet = AttrLabelProxy+++testConfigReadTestUndefined :: MonadIO m => TestConfig -> m Bool+testConfigReadTestUndefined s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 20) :: IO CInt let val' = (/= 0) val return val'++testConfigWriteTestUndefined :: MonadIO m => TestConfig -> Bool -> m ()+testConfigWriteTestUndefined s val = liftIO $ withManagedPtr s $ \ptr -> do+ let val' = (fromIntegral . fromEnum) val+ poke (ptr `plusPtr` 20) (val' :: CInt)++data TestConfigTestUndefinedFieldInfo+instance AttrInfo TestConfigTestUndefinedFieldInfo where+ type AttrAllowedOps TestConfigTestUndefinedFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint TestConfigTestUndefinedFieldInfo = (~) Bool+ type AttrBaseTypeConstraint TestConfigTestUndefinedFieldInfo = (~) TestConfig+ type AttrGetType TestConfigTestUndefinedFieldInfo = Bool+ type AttrLabel TestConfigTestUndefinedFieldInfo = "test_undefined"+ attrGet _ = testConfigReadTestUndefined+ attrSet _ = testConfigWriteTestUndefined+ attrConstruct = undefined+ attrClear _ = undefined++testConfigTestUndefined :: AttrLabelProxy "testUndefined"+testConfigTestUndefined = AttrLabelProxy++++type instance AttributeList TestConfig = TestConfigAttributeList+type TestConfigAttributeList = ('[ '("testInitialized", TestConfigTestInitializedFieldInfo), '("testQuick", TestConfigTestQuickFieldInfo), '("testPerf", TestConfigTestPerfFieldInfo), '("testVerbose", TestConfigTestVerboseFieldInfo), '("testQuiet", TestConfigTestQuietFieldInfo), '("testUndefined", TestConfigTestUndefinedFieldInfo)] :: [(Symbol, *)]) type family ResolveTestConfigMethod (t :: Symbol) (o :: *) :: * where ResolveTestConfigMethod l o = MethodResolutionFailed l o
GI/GLib/Structs/TestConfig.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.TestConfig where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/TestLogBuffer.hs view
@@ -30,9 +30,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -45,14 +45,25 @@ newZeroTestLogBuffer :: MonadIO m => m TestLogBuffer newZeroTestLogBuffer = liftIO $ callocBytes 16 >>= wrapPtr TestLogBuffer +instance tag ~ 'AttrSet => Constructible TestLogBuffer tag where+ new _ attrs = do+ o <- newZeroTestLogBuffer+ GI.Attributes.set o attrs+ return o++ noTestLogBuffer :: Maybe TestLogBuffer noTestLogBuffer = Nothing ++type instance AttributeList TestLogBuffer = TestLogBufferAttributeList+type TestLogBufferAttributeList = ('[ ] :: [(Symbol, *)])+ -- method TestLogBuffer::free -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "TestLogBuffer", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -77,15 +88,15 @@ -- method TestLogBuffer::push -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "TestLogBuffer", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n_bytes", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes", argType = TBasicType TUInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "TestLogBuffer", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "n_bytes", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "bytes", argType = TBasicType TUInt8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_test_log_buffer_push" g_test_log_buffer_push :: Ptr TestLogBuffer -> -- _obj : TInterface "GLib" "TestLogBuffer"- Word32 -> -- n_bytes : TBasicType TUInt32+ Word32 -> -- n_bytes : TBasicType TUInt Word8 -> -- bytes : TBasicType TUInt8 IO ()
GI/GLib/Structs/TestLogBuffer.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.TestLogBuffer where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/TestLogMsg.hs view
@@ -25,32 +25,43 @@ -- * Properties -- ** LogType+ testLogMsgLogType , testLogMsgReadLogType ,+ testLogMsgWriteLogType , -- ** NNums+ testLogMsgNNums , testLogMsgReadNNums ,+ testLogMsgWriteNNums , -- ** NStrings+ testLogMsgNStrings , testLogMsgReadNStrings ,+ testLogMsgWriteNStrings , -- ** Nums+ testLogMsgNums , testLogMsgReadNums ,+ testLogMsgWriteNums , -- ** Strings+ testLogMsgClearStrings , testLogMsgReadStrings ,+ testLogMsgStrings ,+ testLogMsgWriteStrings , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -63,41 +74,159 @@ newZeroTestLogMsg :: MonadIO m => m TestLogMsg newZeroTestLogMsg = liftIO $ callocBytes 32 >>= wrapPtr TestLogMsg +instance tag ~ 'AttrSet => Constructible TestLogMsg tag where+ new _ attrs = do+ o <- newZeroTestLogMsg+ GI.Attributes.set o attrs+ return o++ noTestLogMsg :: Maybe TestLogMsg noTestLogMsg = Nothing -testLogMsgReadLogType :: TestLogMsg -> IO TestLogType-testLogMsgReadLogType s = withManagedPtr s $ \ptr -> do+testLogMsgReadLogType :: MonadIO m => TestLogMsg -> m TestLogType+testLogMsgReadLogType s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO CUInt let val' = (toEnum . fromIntegral) val return val' -testLogMsgReadNStrings :: TestLogMsg -> IO Word32-testLogMsgReadNStrings s = withManagedPtr s $ \ptr -> do+testLogMsgWriteLogType :: MonadIO m => TestLogMsg -> TestLogType -> m ()+testLogMsgWriteLogType s val = liftIO $ withManagedPtr s $ \ptr -> do+ let val' = (fromIntegral . fromEnum) val+ poke (ptr `plusPtr` 0) (val' :: CUInt)++data TestLogMsgLogTypeFieldInfo+instance AttrInfo TestLogMsgLogTypeFieldInfo where+ type AttrAllowedOps TestLogMsgLogTypeFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint TestLogMsgLogTypeFieldInfo = (~) TestLogType+ type AttrBaseTypeConstraint TestLogMsgLogTypeFieldInfo = (~) TestLogMsg+ type AttrGetType TestLogMsgLogTypeFieldInfo = TestLogType+ type AttrLabel TestLogMsgLogTypeFieldInfo = "log_type"+ attrGet _ = testLogMsgReadLogType+ attrSet _ = testLogMsgWriteLogType+ attrConstruct = undefined+ attrClear _ = undefined++testLogMsgLogType :: AttrLabelProxy "logType"+testLogMsgLogType = AttrLabelProxy+++testLogMsgReadNStrings :: MonadIO m => TestLogMsg -> m Word32+testLogMsgReadNStrings s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 4) :: IO Word32 return val -testLogMsgReadStrings :: TestLogMsg -> IO T.Text-testLogMsgReadStrings s = withManagedPtr s $ \ptr -> do+testLogMsgWriteNStrings :: MonadIO m => TestLogMsg -> Word32 -> m ()+testLogMsgWriteNStrings s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 4) (val :: Word32)++data TestLogMsgNStringsFieldInfo+instance AttrInfo TestLogMsgNStringsFieldInfo where+ type AttrAllowedOps TestLogMsgNStringsFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint TestLogMsgNStringsFieldInfo = (~) Word32+ type AttrBaseTypeConstraint TestLogMsgNStringsFieldInfo = (~) TestLogMsg+ type AttrGetType TestLogMsgNStringsFieldInfo = Word32+ type AttrLabel TestLogMsgNStringsFieldInfo = "n_strings"+ attrGet _ = testLogMsgReadNStrings+ attrSet _ = testLogMsgWriteNStrings+ attrConstruct = undefined+ attrClear _ = undefined++testLogMsgNStrings :: AttrLabelProxy "nStrings"+testLogMsgNStrings = AttrLabelProxy+++testLogMsgReadStrings :: MonadIO m => TestLogMsg -> m (Maybe T.Text)+testLogMsgReadStrings s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 8) :: IO CString- val' <- cstringToText val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- cstringToText val'+ return val''+ return result -testLogMsgReadNNums :: TestLogMsg -> IO Word32-testLogMsgReadNNums s = withManagedPtr s $ \ptr -> do+testLogMsgWriteStrings :: MonadIO m => TestLogMsg -> CString -> m ()+testLogMsgWriteStrings s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (val :: CString)++testLogMsgClearStrings :: MonadIO m => TestLogMsg -> m ()+testLogMsgClearStrings s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (nullPtr :: CString)++data TestLogMsgStringsFieldInfo+instance AttrInfo TestLogMsgStringsFieldInfo where+ type AttrAllowedOps TestLogMsgStringsFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint TestLogMsgStringsFieldInfo = (~) CString+ type AttrBaseTypeConstraint TestLogMsgStringsFieldInfo = (~) TestLogMsg+ type AttrGetType TestLogMsgStringsFieldInfo = Maybe T.Text+ type AttrLabel TestLogMsgStringsFieldInfo = "strings"+ attrGet _ = testLogMsgReadStrings+ attrSet _ = testLogMsgWriteStrings+ attrConstruct = undefined+ attrClear _ = testLogMsgClearStrings++testLogMsgStrings :: AttrLabelProxy "strings"+testLogMsgStrings = AttrLabelProxy+++testLogMsgReadNNums :: MonadIO m => TestLogMsg -> m Word32+testLogMsgReadNNums s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 16) :: IO Word32 return val -testLogMsgReadNums :: TestLogMsg -> IO Int64-testLogMsgReadNums s = withManagedPtr s $ \ptr -> do- val <- peek (ptr `plusPtr` 24) :: IO Int64+testLogMsgWriteNNums :: MonadIO m => TestLogMsg -> Word32 -> m ()+testLogMsgWriteNNums s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 16) (val :: Word32)++data TestLogMsgNNumsFieldInfo+instance AttrInfo TestLogMsgNNumsFieldInfo where+ type AttrAllowedOps TestLogMsgNNumsFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint TestLogMsgNNumsFieldInfo = (~) Word32+ type AttrBaseTypeConstraint TestLogMsgNNumsFieldInfo = (~) TestLogMsg+ type AttrGetType TestLogMsgNNumsFieldInfo = Word32+ type AttrLabel TestLogMsgNNumsFieldInfo = "n_nums"+ attrGet _ = testLogMsgReadNNums+ attrSet _ = testLogMsgWriteNNums+ attrConstruct = undefined+ attrClear _ = undefined++testLogMsgNNums :: AttrLabelProxy "nNums"+testLogMsgNNums = AttrLabelProxy+++testLogMsgReadNums :: MonadIO m => TestLogMsg -> m CLong+testLogMsgReadNums s = liftIO $ withManagedPtr s $ \ptr -> do+ val <- peek (ptr `plusPtr` 24) :: IO CLong return val +testLogMsgWriteNums :: MonadIO m => TestLogMsg -> CLong -> m ()+testLogMsgWriteNums s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 24) (val :: CLong)++data TestLogMsgNumsFieldInfo+instance AttrInfo TestLogMsgNumsFieldInfo where+ type AttrAllowedOps TestLogMsgNumsFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint TestLogMsgNumsFieldInfo = (~) CLong+ type AttrBaseTypeConstraint TestLogMsgNumsFieldInfo = (~) TestLogMsg+ type AttrGetType TestLogMsgNumsFieldInfo = CLong+ type AttrLabel TestLogMsgNumsFieldInfo = "nums"+ attrGet _ = testLogMsgReadNums+ attrSet _ = testLogMsgWriteNums+ attrConstruct = undefined+ attrClear _ = undefined++testLogMsgNums :: AttrLabelProxy "nums"+testLogMsgNums = AttrLabelProxy++++type instance AttributeList TestLogMsg = TestLogMsgAttributeList+type TestLogMsgAttributeList = ('[ '("logType", TestLogMsgLogTypeFieldInfo), '("nStrings", TestLogMsgNStringsFieldInfo), '("strings", TestLogMsgStringsFieldInfo), '("nNums", TestLogMsgNNumsFieldInfo), '("nums", TestLogMsgNumsFieldInfo)] :: [(Symbol, *)])+ -- method TestLogMsg::free -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "TestLogMsg", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/TestLogMsg.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.TestLogMsg where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/TestSuite.hs view
@@ -31,9 +31,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -45,11 +45,15 @@ noTestSuite :: Maybe TestSuite noTestSuite = Nothing ++type instance AttributeList TestSuite = TestSuiteAttributeList+type TestSuiteAttributeList = ('[ ] :: [(Symbol, *)])+ -- method TestSuite::add -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "TestSuite", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "test_case", argType = TInterface "GLib" "TestCase", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -80,7 +84,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "TestSuite", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "nestedsuite", argType = TInterface "GLib" "TestSuite", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/TestSuite.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.TestSuite where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/Thread.hs view
@@ -59,9 +59,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -79,11 +79,15 @@ noThread :: Maybe Thread noThread = Nothing ++type instance AttributeList Thread = ThreadAttributeList+type ThreadAttributeList = ('[ ] :: [(Symbol, *)])+ -- method Thread::ref -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Thread", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "Thread"+-- returnType : Just (TInterface "GLib" "Thread") -- throws : False -- Skip return : False @@ -112,7 +116,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Thread", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -139,7 +143,7 @@ -- method type : MemberFunction -- Args : [] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt32) -- throws : False -- Skip return : False @@ -156,14 +160,14 @@ -- method Thread::exit -- method type : MemberFunction--- Args : [Arg {argCName = "retval", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "retval", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_thread_exit" g_thread_exit :: - Ptr () -> -- retval : TBasicType TVoid+ Ptr () -> -- retval : TBasicType TPtr IO () @@ -179,7 +183,7 @@ -- method type : MemberFunction -- Args : [] -- Lengths : []--- returnType : TInterface "GLib" "Thread"+-- returnType : Just (TInterface "GLib" "Thread") -- throws : False -- Skip return : False @@ -200,7 +204,7 @@ -- method type : MemberFunction -- Args : [] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/Thread.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.Thread where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/ThreadPool.hs view
@@ -83,20 +83,25 @@ -- * Properties -- ** Exclusive+ threadPoolExclusive , threadPoolReadExclusive ,+ threadPoolWriteExclusive , -- ** UserData+ threadPoolClearUserData , threadPoolReadUserData ,+ threadPoolUserData ,+ threadPoolWriteUserData , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -109,27 +114,82 @@ newZeroThreadPool :: MonadIO m => m ThreadPool newZeroThreadPool = liftIO $ callocBytes 24 >>= wrapPtr ThreadPool +instance tag ~ 'AttrSet => Constructible ThreadPool tag where+ new _ attrs = do+ o <- newZeroThreadPool+ GI.Attributes.set o attrs+ return o++ noThreadPool :: Maybe ThreadPool noThreadPool = Nothing --- XXX Skipped getter for "ThreadPool:func" :: Not implemented: "Wrapping foreign callbacks is not supported yet"--threadPoolReadUserData :: ThreadPool -> IO (Ptr ())-threadPoolReadUserData s = withManagedPtr s $ \ptr -> do+-- XXX Skipped attribute for "ThreadPool:func" :: Not implemented: "Wrapping foreign callbacks is not supported yet"+threadPoolReadUserData :: MonadIO m => ThreadPool -> m (Ptr ())+threadPoolReadUserData s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 8) :: IO (Ptr ()) return val -threadPoolReadExclusive :: ThreadPool -> IO Bool-threadPoolReadExclusive s = withManagedPtr s $ \ptr -> do+threadPoolWriteUserData :: MonadIO m => ThreadPool -> Ptr () -> m ()+threadPoolWriteUserData s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (val :: Ptr ())++threadPoolClearUserData :: MonadIO m => ThreadPool -> m ()+threadPoolClearUserData s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (nullPtr :: Ptr ())++data ThreadPoolUserDataFieldInfo+instance AttrInfo ThreadPoolUserDataFieldInfo where+ type AttrAllowedOps ThreadPoolUserDataFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint ThreadPoolUserDataFieldInfo = (~) (Ptr ())+ type AttrBaseTypeConstraint ThreadPoolUserDataFieldInfo = (~) ThreadPool+ type AttrGetType ThreadPoolUserDataFieldInfo = Ptr ()+ type AttrLabel ThreadPoolUserDataFieldInfo = "user_data"+ attrGet _ = threadPoolReadUserData+ attrSet _ = threadPoolWriteUserData+ attrConstruct = undefined+ attrClear _ = threadPoolClearUserData++threadPoolUserData :: AttrLabelProxy "userData"+threadPoolUserData = AttrLabelProxy+++threadPoolReadExclusive :: MonadIO m => ThreadPool -> m Bool+threadPoolReadExclusive s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 16) :: IO CInt let val' = (/= 0) val return val' +threadPoolWriteExclusive :: MonadIO m => ThreadPool -> Bool -> m ()+threadPoolWriteExclusive s val = liftIO $ withManagedPtr s $ \ptr -> do+ let val' = (fromIntegral . fromEnum) val+ poke (ptr `plusPtr` 16) (val' :: CInt)++data ThreadPoolExclusiveFieldInfo+instance AttrInfo ThreadPoolExclusiveFieldInfo where+ type AttrAllowedOps ThreadPoolExclusiveFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint ThreadPoolExclusiveFieldInfo = (~) Bool+ type AttrBaseTypeConstraint ThreadPoolExclusiveFieldInfo = (~) ThreadPool+ type AttrGetType ThreadPoolExclusiveFieldInfo = Bool+ type AttrLabel ThreadPoolExclusiveFieldInfo = "exclusive"+ attrGet _ = threadPoolReadExclusive+ attrSet _ = threadPoolWriteExclusive+ attrConstruct = undefined+ attrClear _ = undefined++threadPoolExclusive :: AttrLabelProxy "exclusive"+threadPoolExclusive = AttrLabelProxy++++type instance AttributeList ThreadPool = ThreadPoolAttributeList+type ThreadPoolAttributeList = ('[ '("userData", ThreadPoolUserDataFieldInfo), '("exclusive", ThreadPoolExclusiveFieldInfo)] :: [(Symbol, *)])+ -- method ThreadPool::free -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "ThreadPool", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "immediate", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "wait_", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -144,13 +204,13 @@ (MonadIO m) => ThreadPool -- _obj -> Bool -- immediate- -> Bool -- wait+ -> Bool -- wait_ -> m () -- result-threadPoolFree _obj immediate wait = liftIO $ do+threadPoolFree _obj immediate wait_ = liftIO $ do let _obj' = unsafeManagedPtrGetPtr _obj let immediate' = (fromIntegral . fromEnum) immediate- let wait' = (fromIntegral . fromEnum) wait- g_thread_pool_free _obj' immediate' wait'+ let wait_' = (fromIntegral . fromEnum) wait_+ g_thread_pool_free _obj' immediate' wait_' touchManagedPtr _obj return () @@ -162,7 +222,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "ThreadPool", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -189,7 +249,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "ThreadPool", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -214,15 +274,15 @@ -- method ThreadPool::move_to_front -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "ThreadPool", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "ThreadPool", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False foreign import ccall "g_thread_pool_move_to_front" g_thread_pool_move_to_front :: Ptr ThreadPool -> -- _obj : TInterface "GLib" "ThreadPool"- Ptr () -> -- data : TBasicType TVoid+ Ptr () -> -- data : TBasicType TPtr IO CInt @@ -244,15 +304,15 @@ -- method ThreadPool::push -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "ThreadPool", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "ThreadPool", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False foreign import ccall "g_thread_pool_push" g_thread_pool_push :: Ptr ThreadPool -> -- _obj : TInterface "GLib" "ThreadPool"- Ptr () -> -- data : TBasicType TVoid+ Ptr () -> -- data : TBasicType TPtr Ptr (Ptr GError) -> -- error IO CInt @@ -278,15 +338,15 @@ -- method ThreadPool::set_max_threads -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "ThreadPool", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "max_threads", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "ThreadPool", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "max_threads", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : True -- Skip return : False foreign import ccall "g_thread_pool_set_max_threads" g_thread_pool_set_max_threads :: Ptr ThreadPool -> -- _obj : TInterface "GLib" "ThreadPool"- Int32 -> -- max_threads : TBasicType TInt32+ Int32 -> -- max_threads : TBasicType TInt Ptr (Ptr GError) -> -- error IO CInt @@ -314,7 +374,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "ThreadPool", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -341,7 +401,7 @@ -- method type : MemberFunction -- Args : [] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -360,7 +420,7 @@ -- method type : MemberFunction -- Args : [] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -379,7 +439,7 @@ -- method type : MemberFunction -- Args : [] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -396,14 +456,14 @@ -- method ThreadPool::set_max_idle_time -- method type : MemberFunction--- Args : [Arg {argCName = "interval", argType = TBasicType TUInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "interval", argType = TBasicType TUInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_thread_pool_set_max_idle_time" g_thread_pool_set_max_idle_time :: - Word32 -> -- interval : TBasicType TUInt32+ Word32 -> -- interval : TBasicType TUInt IO () @@ -417,14 +477,14 @@ -- method ThreadPool::set_max_unused_threads -- method type : MemberFunction--- Args : [Arg {argCName = "max_threads", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "max_threads", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_thread_pool_set_max_unused_threads" g_thread_pool_set_max_unused_threads :: - Int32 -> -- max_threads : TBasicType TInt32+ Int32 -> -- max_threads : TBasicType TInt IO () @@ -440,7 +500,7 @@ -- method type : MemberFunction -- Args : [] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/ThreadPool.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.ThreadPool where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/TimeVal.hs view
@@ -43,19 +43,23 @@ -- * Properties -- ** TvSec timeValReadTvSec ,+ timeValTvSec ,+ timeValWriteTvSec , -- ** TvUsec timeValReadTvUsec ,+ timeValTvUsec ,+ timeValWriteTvUsec , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -68,37 +72,88 @@ newZeroTimeVal :: MonadIO m => m TimeVal newZeroTimeVal = liftIO $ callocBytes 16 >>= wrapPtr TimeVal +instance tag ~ 'AttrSet => Constructible TimeVal tag where+ new _ attrs = do+ o <- newZeroTimeVal+ GI.Attributes.set o attrs+ return o++ noTimeVal :: Maybe TimeVal noTimeVal = Nothing -timeValReadTvSec :: TimeVal -> IO Int64-timeValReadTvSec s = withManagedPtr s $ \ptr -> do- val <- peek (ptr `plusPtr` 0) :: IO Int64+timeValReadTvSec :: MonadIO m => TimeVal -> m CLong+timeValReadTvSec s = liftIO $ withManagedPtr s $ \ptr -> do+ val <- peek (ptr `plusPtr` 0) :: IO CLong return val -timeValReadTvUsec :: TimeVal -> IO Int64-timeValReadTvUsec s = withManagedPtr s $ \ptr -> do- val <- peek (ptr `plusPtr` 8) :: IO Int64+timeValWriteTvSec :: MonadIO m => TimeVal -> CLong -> m ()+timeValWriteTvSec s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: CLong)++data TimeValTvSecFieldInfo+instance AttrInfo TimeValTvSecFieldInfo where+ type AttrAllowedOps TimeValTvSecFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint TimeValTvSecFieldInfo = (~) CLong+ type AttrBaseTypeConstraint TimeValTvSecFieldInfo = (~) TimeVal+ type AttrGetType TimeValTvSecFieldInfo = CLong+ type AttrLabel TimeValTvSecFieldInfo = "tv_sec"+ attrGet _ = timeValReadTvSec+ attrSet _ = timeValWriteTvSec+ attrConstruct = undefined+ attrClear _ = undefined++timeValTvSec :: AttrLabelProxy "tvSec"+timeValTvSec = AttrLabelProxy+++timeValReadTvUsec :: MonadIO m => TimeVal -> m CLong+timeValReadTvUsec s = liftIO $ withManagedPtr s $ \ptr -> do+ val <- peek (ptr `plusPtr` 8) :: IO CLong return val +timeValWriteTvUsec :: MonadIO m => TimeVal -> CLong -> m ()+timeValWriteTvUsec s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 8) (val :: CLong)++data TimeValTvUsecFieldInfo+instance AttrInfo TimeValTvUsecFieldInfo where+ type AttrAllowedOps TimeValTvUsecFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint TimeValTvUsecFieldInfo = (~) CLong+ type AttrBaseTypeConstraint TimeValTvUsecFieldInfo = (~) TimeVal+ type AttrGetType TimeValTvUsecFieldInfo = CLong+ type AttrLabel TimeValTvUsecFieldInfo = "tv_usec"+ attrGet _ = timeValReadTvUsec+ attrSet _ = timeValWriteTvUsec+ attrConstruct = undefined+ attrClear _ = undefined++timeValTvUsec :: AttrLabelProxy "tvUsec"+timeValTvUsec = AttrLabelProxy++++type instance AttributeList TimeVal = TimeValAttributeList+type TimeValAttributeList = ('[ '("tvSec", TimeValTvSecFieldInfo), '("tvUsec", TimeValTvUsecFieldInfo)] :: [(Symbol, *)])+ -- method TimeVal::add -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "TimeVal", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "microseconds", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "TimeVal", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "microseconds", argType = TBasicType TLong, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_time_val_add" g_time_val_add :: Ptr TimeVal -> -- _obj : TInterface "GLib" "TimeVal"- Int64 -> -- microseconds : TBasicType TInt64+ CLong -> -- microseconds : TBasicType TLong IO () timeValAdd :: (MonadIO m) => TimeVal -- _obj- -> Int64 -- microseconds+ -> CLong -- microseconds -> m () -- result timeValAdd _obj microseconds = liftIO $ do let _obj' = unsafeManagedPtrGetPtr _obj@@ -107,14 +162,14 @@ return () data TimeValAddMethodInfo-instance (signature ~ (Int64 -> m ()), MonadIO m) => MethodInfo TimeValAddMethodInfo TimeVal signature where+instance (signature ~ (CLong -> m ()), MonadIO m) => MethodInfo TimeValAddMethodInfo TimeVal signature where overloadedMethod _ = timeValAdd -- method TimeVal::to_iso8601 -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "TimeVal", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -144,7 +199,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "iso_date", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "time_", argType = TInterface "GLib" "TimeVal", direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = True, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -160,12 +215,12 @@ -> m (Bool,TimeVal) -- result timeValFromIso8601 isoDate = liftIO $ do isoDate' <- textToCString isoDate- time <- callocBytes 16 :: IO (Ptr TimeVal)- result <- g_time_val_from_iso8601 isoDate' time+ time_ <- callocBytes 16 :: IO (Ptr TimeVal)+ result <- g_time_val_from_iso8601 isoDate' time_ let result' = (/= 0) result- time' <- (wrapPtr TimeVal) time+ time_' <- (wrapPtr TimeVal) time_ freeMem isoDate'- return (result', time')+ return (result', time_') type family ResolveTimeValMethod (t :: Symbol) (o :: *) :: * where ResolveTimeValMethod "add" o = TimeValAddMethodInfo
GI/GLib/Structs/TimeVal.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.TimeVal where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/TimeZone.hs view
@@ -69,9 +69,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -89,11 +89,15 @@ noTimeZone :: Maybe TimeZone noTimeZone = Nothing ++type instance AttributeList TimeZone = TimeZoneAttributeList+type TimeZoneAttributeList = ('[ ] :: [(Symbol, *)])+ -- method TimeZone::new -- method type : Constructor -- Args : [Arg {argCName = "identifier", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "TimeZone"+-- returnType : Just (TInterface "GLib" "TimeZone") -- throws : False -- Skip return : False @@ -122,7 +126,7 @@ -- method type : Constructor -- Args : [] -- Lengths : []--- returnType : TInterface "GLib" "TimeZone"+-- returnType : Just (TInterface "GLib" "TimeZone") -- throws : False -- Skip return : False @@ -143,7 +147,7 @@ -- method type : Constructor -- Args : [] -- Lengths : []--- returnType : TInterface "GLib" "TimeZone"+-- returnType : Just (TInterface "GLib" "TimeZone") -- throws : False -- Skip return : False @@ -164,7 +168,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "TimeZone", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "type", argType = TInterface "GLib" "TimeType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "time_", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -179,12 +183,12 @@ (MonadIO m) => TimeZone -- _obj -> TimeType -- type_- -> Int64 -- time+ -> Int64 -- time_ -> m Int32 -- result-timeZoneAdjustTime _obj type_ time = liftIO $ do+timeZoneAdjustTime _obj type_ time_ = liftIO $ do let _obj' = unsafeManagedPtrGetPtr _obj let type_' = (fromIntegral . fromEnum) type_- result <- g_time_zone_adjust_time _obj' type_' time+ result <- g_time_zone_adjust_time _obj' type_' time_ touchManagedPtr _obj return result @@ -196,7 +200,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "TimeZone", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "type", argType = TInterface "GLib" "TimeType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "time_", argType = TBasicType TInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -211,12 +215,12 @@ (MonadIO m) => TimeZone -- _obj -> TimeType -- type_- -> Int64 -- time+ -> Int64 -- time_ -> m Int32 -- result-timeZoneFindInterval _obj type_ time = liftIO $ do+timeZoneFindInterval _obj type_ time_ = liftIO $ do let _obj' = unsafeManagedPtrGetPtr _obj let type_' = (fromIntegral . fromEnum) type_- result <- g_time_zone_find_interval _obj' type_' time+ result <- g_time_zone_find_interval _obj' type_' time_ touchManagedPtr _obj return result @@ -226,15 +230,15 @@ -- method TimeZone::get_abbreviation -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "TimeZone", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "interval", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "TimeZone", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "interval", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False foreign import ccall "g_time_zone_get_abbreviation" g_time_zone_get_abbreviation :: Ptr TimeZone -> -- _obj : TInterface "GLib" "TimeZone"- Int32 -> -- interval : TBasicType TInt32+ Int32 -> -- interval : TBasicType TInt IO CString @@ -257,15 +261,15 @@ -- method TimeZone::get_offset -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "TimeZone", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "interval", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "TimeZone", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "interval", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt32) -- throws : False -- Skip return : False foreign import ccall "g_time_zone_get_offset" g_time_zone_get_offset :: Ptr TimeZone -> -- _obj : TInterface "GLib" "TimeZone"- Int32 -> -- interval : TBasicType TInt32+ Int32 -> -- interval : TBasicType TInt IO Int32 @@ -286,15 +290,15 @@ -- method TimeZone::is_dst -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "TimeZone", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "interval", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "TimeZone", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "interval", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False foreign import ccall "g_time_zone_is_dst" g_time_zone_is_dst :: Ptr TimeZone -> -- _obj : TInterface "GLib" "TimeZone"- Int32 -> -- interval : TBasicType TInt32+ Int32 -> -- interval : TBasicType TInt IO CInt @@ -318,7 +322,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "TimeZone", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "TimeZone"+-- returnType : Just (TInterface "GLib" "TimeZone") -- throws : False -- Skip return : False @@ -347,7 +351,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "TimeZone", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/TimeZone.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.TimeZone where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/Timer.hs view
@@ -51,9 +51,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -65,11 +65,15 @@ noTimer :: Maybe Timer noTimer = Nothing ++type instance AttributeList Timer = TimerAttributeList+type TimerAttributeList = ('[ ] :: [(Symbol, *)])+ -- method Timer::continue -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Timer", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -96,7 +100,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Timer", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -121,22 +125,22 @@ -- method Timer::elapsed -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Timer", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "microseconds", argType = TBasicType TUInt64, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Timer", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "microseconds", argType = TBasicType TULong, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TDouble+-- returnType : Just (TBasicType TDouble) -- throws : False -- Skip return : False foreign import ccall "g_timer_elapsed" g_timer_elapsed :: Ptr Timer -> -- _obj : TInterface "GLib" "Timer"- Word64 -> -- microseconds : TBasicType TUInt64+ CULong -> -- microseconds : TBasicType TULong IO CDouble timerElapsed :: (MonadIO m) => Timer -- _obj- -> Word64 -- microseconds+ -> CULong -- microseconds -> m Double -- result timerElapsed _obj microseconds = liftIO $ do let _obj' = unsafeManagedPtrGetPtr _obj@@ -146,14 +150,14 @@ return result' data TimerElapsedMethodInfo-instance (signature ~ (Word64 -> m Double), MonadIO m) => MethodInfo TimerElapsedMethodInfo Timer signature where+instance (signature ~ (CULong -> m Double), MonadIO m) => MethodInfo TimerElapsedMethodInfo Timer signature where overloadedMethod _ = timerElapsed -- method Timer::reset -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Timer", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -180,7 +184,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Timer", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -207,7 +211,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Timer", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/Timer.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.Timer where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/TrashStack.hs view
@@ -31,16 +31,19 @@ -- * Properties -- ** Next+ trashStackClearNext ,+ trashStackNext , trashStackReadNext ,+ trashStackWriteNext , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -53,20 +56,57 @@ newZeroTrashStack :: MonadIO m => m TrashStack newZeroTrashStack = liftIO $ callocBytes 8 >>= wrapPtr TrashStack +instance tag ~ 'AttrSet => Constructible TrashStack tag where+ new _ attrs = do+ o <- newZeroTrashStack+ GI.Attributes.set o attrs+ return o++ noTrashStack :: Maybe TrashStack noTrashStack = Nothing -trashStackReadNext :: TrashStack -> IO TrashStack-trashStackReadNext s = withManagedPtr s $ \ptr -> do+trashStackReadNext :: MonadIO m => TrashStack -> m (Maybe TrashStack)+trashStackReadNext s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO (Ptr TrashStack)- val' <- (newPtr 8 TrashStack) val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- (newPtr 8 TrashStack) val'+ return val''+ return result +trashStackWriteNext :: MonadIO m => TrashStack -> Ptr TrashStack -> m ()+trashStackWriteNext s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: Ptr TrashStack)++trashStackClearNext :: MonadIO m => TrashStack -> m ()+trashStackClearNext s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (nullPtr :: Ptr TrashStack)++data TrashStackNextFieldInfo+instance AttrInfo TrashStackNextFieldInfo where+ type AttrAllowedOps TrashStackNextFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint TrashStackNextFieldInfo = (~) (Ptr TrashStack)+ type AttrBaseTypeConstraint TrashStackNextFieldInfo = (~) TrashStack+ type AttrGetType TrashStackNextFieldInfo = Maybe TrashStack+ type AttrLabel TrashStackNextFieldInfo = "next"+ attrGet _ = trashStackReadNext+ attrSet _ = trashStackWriteNext+ attrConstruct = undefined+ attrClear _ = trashStackClearNext++trashStackNext :: AttrLabelProxy "next"+trashStackNext = AttrLabelProxy++++type instance AttributeList TrashStack = TrashStackAttributeList+type TrashStackAttributeList = ('[ '("next", TrashStackNextFieldInfo)] :: [(Symbol, *)])+ -- method TrashStack::height -- method type : MemberFunction -- Args : [Arg {argCName = "stack_p", argType = TInterface "GLib" "TrashStack", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -87,15 +127,15 @@ -- method TrashStack::push -- method type : MemberFunction--- Args : [Arg {argCName = "stack_p", argType = TInterface "GLib" "TrashStack", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data_p", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "stack_p", argType = TInterface "GLib" "TrashStack", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "data_p", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_trash_stack_push" g_trash_stack_push :: Ptr TrashStack -> -- stack_p : TInterface "GLib" "TrashStack"- Ptr () -> -- data_p : TBasicType TVoid+ Ptr () -> -- data_p : TBasicType TPtr IO ()
GI/GLib/Structs/TrashStack.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.TrashStack where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/Tree.hs view
@@ -68,9 +68,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -82,11 +82,15 @@ noTree :: Maybe Tree noTree = Nothing ++type instance AttributeList Tree = TreeAttributeList+type TreeAttributeList = ('[ ] :: [(Symbol, *)])+ -- method Tree::destroy -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Tree", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -113,7 +117,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Tree", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -138,16 +142,16 @@ -- method Tree::insert -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Tree", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Tree", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_tree_insert" g_tree_insert :: Ptr Tree -> -- _obj : TInterface "GLib" "Tree"- Ptr () -> -- key : TBasicType TVoid- Ptr () -> -- value : TBasicType TVoid+ Ptr () -> -- key : TBasicType TPtr+ Ptr () -> -- value : TBasicType TPtr IO () @@ -169,17 +173,17 @@ -- method Tree::lookup_extended -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Tree", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "lookup_key", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "orig_key", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Tree", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "lookup_key", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "orig_key", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False foreign import ccall "g_tree_lookup_extended" g_tree_lookup_extended :: Ptr Tree -> -- _obj : TInterface "GLib" "Tree"- Ptr () -> -- lookup_key : TBasicType TVoid- Ptr () -> -- orig_key : TBasicType TVoid- Ptr () -> -- value : TBasicType TVoid+ Ptr () -> -- lookup_key : TBasicType TPtr+ Ptr () -> -- orig_key : TBasicType TPtr+ Ptr () -> -- value : TBasicType TPtr IO CInt @@ -205,7 +209,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Tree", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TInt32+-- returnType : Just (TBasicType TInt) -- throws : False -- Skip return : False @@ -230,15 +234,15 @@ -- method Tree::remove -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Tree", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Tree", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False foreign import ccall "g_tree_remove" g_tree_remove :: Ptr Tree -> -- _obj : TInterface "GLib" "Tree"- Ptr () -> -- key : TBasicType TVoid+ Ptr () -> -- key : TBasicType TPtr IO CInt @@ -260,16 +264,16 @@ -- method Tree::replace -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Tree", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Tree", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False foreign import ccall "g_tree_replace" g_tree_replace :: Ptr Tree -> -- _obj : TInterface "GLib" "Tree"- Ptr () -> -- key : TBasicType TVoid- Ptr () -> -- value : TBasicType TVoid+ Ptr () -> -- key : TBasicType TPtr+ Ptr () -> -- value : TBasicType TPtr IO () @@ -291,15 +295,15 @@ -- method Tree::steal -- method type : OrdinaryMethod--- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Tree", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TVoid, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Tree", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TPtr, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False foreign import ccall "g_tree_steal" g_tree_steal :: Ptr Tree -> -- _obj : TInterface "GLib" "Tree"- Ptr () -> -- key : TBasicType TVoid+ Ptr () -> -- key : TBasicType TPtr IO CInt @@ -323,7 +327,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Tree", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/Tree.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.Tree where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/VariantBuilder.hs view
@@ -62,9 +62,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -83,14 +83,25 @@ newZeroVariantBuilder :: MonadIO m => m VariantBuilder newZeroVariantBuilder = liftIO $ callocBoxedBytes 128 >>= wrapBoxed VariantBuilder +instance tag ~ 'AttrSet => Constructible VariantBuilder tag where+ new _ attrs = do+ o <- newZeroVariantBuilder+ GI.Attributes.set o attrs+ return o++ noVariantBuilder :: Maybe VariantBuilder noVariantBuilder = Nothing ++type instance AttributeList VariantBuilder = VariantBuilderAttributeList+type VariantBuilderAttributeList = ('[ ] :: [(Symbol, *)])+ -- method VariantBuilder::new -- method type : Constructor -- Args : [Arg {argCName = "type", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "VariantBuilder"+-- returnType : Just (TInterface "GLib" "VariantBuilder") -- throws : False -- Skip return : False @@ -115,7 +126,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantBuilder", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TVariant, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -145,7 +156,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantBuilder", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -172,7 +183,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantBuilder", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TVariant+-- returnType : Just TVariant -- throws : False -- Skip return : False @@ -201,7 +212,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantBuilder", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "type", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -232,7 +243,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantBuilder", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "VariantBuilder"+-- returnType : Just (TInterface "GLib" "VariantBuilder") -- throws : False -- Skip return : False @@ -261,7 +272,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantBuilder", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/VariantBuilder.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.VariantBuilder where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/VariantDict.hs view
@@ -154,9 +154,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -175,14 +175,25 @@ newZeroVariantDict :: MonadIO m => m VariantDict newZeroVariantDict = liftIO $ callocBoxedBytes 128 >>= wrapBoxed VariantDict +instance tag ~ 'AttrSet => Constructible VariantDict tag where+ new _ attrs = do+ o <- newZeroVariantDict+ GI.Attributes.set o attrs+ return o++ noVariantDict :: Maybe VariantDict noVariantDict = Nothing ++type instance AttributeList VariantDict = VariantDictAttributeList+type VariantDictAttributeList = ('[ ] :: [(Symbol, *)])+ -- method VariantDict::new -- method type : Constructor -- Args : [Arg {argCName = "from_asv", argType = TVariant, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "VariantDict"+-- returnType : Just (TInterface "GLib" "VariantDict") -- throws : False -- Skip return : False @@ -210,7 +221,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantDict", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -237,7 +248,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantDict", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -269,7 +280,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantDict", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TVariant+-- returnType : Just TVariant -- throws : False -- Skip return : False @@ -298,7 +309,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantDict", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TVariant, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -332,7 +343,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantDict", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "expected_type", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TVariant+-- returnType : Just TVariant -- throws : False -- Skip return : False @@ -373,7 +384,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantDict", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "VariantDict"+-- returnType : Just (TInterface "GLib" "VariantDict") -- throws : False -- Skip return : False @@ -402,7 +413,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantDict", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "key", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -434,7 +445,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantDict", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Structs/VariantDict.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.VariantDict where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Structs/VariantType.hs view
@@ -301,9 +301,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -321,11 +321,15 @@ noVariantType :: Maybe VariantType noVariantType = Nothing ++type instance AttributeList VariantType = VariantTypeAttributeList+type VariantTypeAttributeList = ('[ ] :: [(Symbol, *)])+ -- method VariantType::new -- method type : Constructor -- Args : [Arg {argCName = "type_string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "VariantType"+-- returnType : Just (TInterface "GLib" "VariantType") -- throws : False -- Skip return : False @@ -350,7 +354,7 @@ -- method type : Constructor -- Args : [Arg {argCName = "element", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "VariantType"+-- returnType : Just (TInterface "GLib" "VariantType") -- throws : False -- Skip return : False @@ -375,7 +379,7 @@ -- method type : Constructor -- Args : [Arg {argCName = "key", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "VariantType"+-- returnType : Just (TInterface "GLib" "VariantType") -- throws : False -- Skip return : False @@ -404,7 +408,7 @@ -- method type : Constructor -- Args : [Arg {argCName = "element", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "VariantType"+-- returnType : Just (TInterface "GLib" "VariantType") -- throws : False -- Skip return : False @@ -427,15 +431,15 @@ -- method VariantType::new_tuple -- method type : Constructor--- Args : [Arg {argCName = "items", argType = TCArray False (-1) 1 (TInterface "GLib" "VariantType"), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- Lengths : [Arg {argCName = "length", argType = TBasicType TInt32, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]--- returnType : TInterface "GLib" "VariantType"+-- Args : [Arg {argCName = "items", argType = TCArray False (-1) 1 (TInterface "GLib" "VariantType"), direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "length", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- Lengths : [Arg {argCName = "length", argType = TBasicType TInt, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]+-- returnType : Just (TInterface "GLib" "VariantType") -- throws : False -- Skip return : False foreign import ccall "g_variant_type_new_tuple" g_variant_type_new_tuple :: Ptr (Ptr VariantType) -> -- items : TCArray False (-1) 1 (TInterface "GLib" "VariantType")- Int32 -> -- length : TBasicType TInt32+ Int32 -> -- length : TBasicType TInt IO (Ptr VariantType) @@ -458,7 +462,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "VariantType"+-- returnType : Just (TInterface "GLib" "VariantType") -- throws : False -- Skip return : False @@ -487,7 +491,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUTF8+-- returnType : Just (TBasicType TUTF8) -- throws : False -- Skip return : False @@ -517,7 +521,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "VariantType"+-- returnType : Just (TInterface "GLib" "VariantType") -- throws : False -- Skip return : False @@ -546,7 +550,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "type2", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -578,7 +582,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "VariantType"+-- returnType : Just (TInterface "GLib" "VariantType") -- throws : False -- Skip return : False @@ -607,7 +611,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -634,7 +638,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt64+-- returnType : Just (TBasicType TUInt64) -- throws : False -- Skip return : False @@ -661,7 +665,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt32+-- returnType : Just (TBasicType TUInt) -- throws : False -- Skip return : False @@ -688,7 +692,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -716,7 +720,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -744,7 +748,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -772,7 +776,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -800,7 +804,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -828,7 +832,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -856,7 +860,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "supertype", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -888,7 +892,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -916,7 +920,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -944,7 +948,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "VariantType"+-- returnType : Just (TInterface "GLib" "VariantType") -- throws : False -- Skip return : False @@ -973,7 +977,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TUInt64+-- returnType : Just (TBasicType TUInt64) -- throws : False -- Skip return : False @@ -1000,7 +1004,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "VariantType"+-- returnType : Just (TInterface "GLib" "VariantType") -- throws : False -- Skip return : False @@ -1029,7 +1033,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "VariantType", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "VariantType"+-- returnType : Just (TInterface "GLib" "VariantType") -- throws : False -- Skip return : False @@ -1058,7 +1062,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "arg0", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TInterface "GLib" "VariantType"+-- returnType : Just (TInterface "GLib" "VariantType") -- throws : False -- Skip return : False @@ -1083,7 +1087,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "type_string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -1107,7 +1111,7 @@ -- method type : MemberFunction -- Args : [Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "limit", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "endptr", argType = TBasicType TUTF8, direction = DirectionOut, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferEverything}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False
GI/GLib/Structs/VariantType.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Structs.VariantType where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Unions.hs view
@@ -20,9 +20,9 @@ import GI.GLib.Unions.Mutex import GI.GLib.Unions.TokenValue -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Unions/DoubleIEEE754.hs view
@@ -18,15 +18,17 @@ -- * Properties -- ** VDouble doubleIEEE754ReadVDouble ,+ doubleIEEE754VDouble ,+ doubleIEEE754WriteVDouble , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -39,14 +41,46 @@ newZeroDoubleIEEE754 :: MonadIO m => m DoubleIEEE754 newZeroDoubleIEEE754 = liftIO $ callocBytes 8 >>= wrapPtr DoubleIEEE754 +instance tag ~ 'AttrSet => Constructible DoubleIEEE754 tag where+ new _ attrs = do+ o <- newZeroDoubleIEEE754+ GI.Attributes.set o attrs+ return o++ noDoubleIEEE754 :: Maybe DoubleIEEE754 noDoubleIEEE754 = Nothing -doubleIEEE754ReadVDouble :: DoubleIEEE754 -> IO Double-doubleIEEE754ReadVDouble s = withManagedPtr s $ \ptr -> do+doubleIEEE754ReadVDouble :: MonadIO m => DoubleIEEE754 -> m Double+doubleIEEE754ReadVDouble s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO CDouble let val' = realToFrac val return val'++doubleIEEE754WriteVDouble :: MonadIO m => DoubleIEEE754 -> Double -> m ()+doubleIEEE754WriteVDouble s val = liftIO $ withManagedPtr s $ \ptr -> do+ let val' = realToFrac val+ poke (ptr `plusPtr` 0) (val' :: CDouble)++data DoubleIEEE754VDoubleFieldInfo+instance AttrInfo DoubleIEEE754VDoubleFieldInfo where+ type AttrAllowedOps DoubleIEEE754VDoubleFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint DoubleIEEE754VDoubleFieldInfo = (~) Double+ type AttrBaseTypeConstraint DoubleIEEE754VDoubleFieldInfo = (~) DoubleIEEE754+ type AttrGetType DoubleIEEE754VDoubleFieldInfo = Double+ type AttrLabel DoubleIEEE754VDoubleFieldInfo = "v_double"+ attrGet _ = doubleIEEE754ReadVDouble+ attrSet _ = doubleIEEE754WriteVDouble+ attrConstruct = undefined+ attrClear _ = undefined++doubleIEEE754VDouble :: AttrLabelProxy "vDouble"+doubleIEEE754VDouble = AttrLabelProxy++++type instance AttributeList DoubleIEEE754 = DoubleIEEE754AttributeList+type DoubleIEEE754AttributeList = ('[ '("vDouble", DoubleIEEE754VDoubleFieldInfo)] :: [(Symbol, *)]) type family ResolveDoubleIEEE754Method (t :: Symbol) (o :: *) :: * where ResolveDoubleIEEE754Method l o = MethodResolutionFailed l o
GI/GLib/Unions/DoubleIEEE754.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Unions.DoubleIEEE754 where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Unions/FloatIEEE754.hs view
@@ -18,15 +18,17 @@ -- * Properties -- ** VFloat floatIEEE754ReadVFloat ,+ floatIEEE754VFloat ,+ floatIEEE754WriteVFloat , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -39,14 +41,46 @@ newZeroFloatIEEE754 :: MonadIO m => m FloatIEEE754 newZeroFloatIEEE754 = liftIO $ callocBytes 4 >>= wrapPtr FloatIEEE754 +instance tag ~ 'AttrSet => Constructible FloatIEEE754 tag where+ new _ attrs = do+ o <- newZeroFloatIEEE754+ GI.Attributes.set o attrs+ return o++ noFloatIEEE754 :: Maybe FloatIEEE754 noFloatIEEE754 = Nothing -floatIEEE754ReadVFloat :: FloatIEEE754 -> IO Float-floatIEEE754ReadVFloat s = withManagedPtr s $ \ptr -> do+floatIEEE754ReadVFloat :: MonadIO m => FloatIEEE754 -> m Float+floatIEEE754ReadVFloat s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO CFloat let val' = realToFrac val return val'++floatIEEE754WriteVFloat :: MonadIO m => FloatIEEE754 -> Float -> m ()+floatIEEE754WriteVFloat s val = liftIO $ withManagedPtr s $ \ptr -> do+ let val' = realToFrac val+ poke (ptr `plusPtr` 0) (val' :: CFloat)++data FloatIEEE754VFloatFieldInfo+instance AttrInfo FloatIEEE754VFloatFieldInfo where+ type AttrAllowedOps FloatIEEE754VFloatFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint FloatIEEE754VFloatFieldInfo = (~) Float+ type AttrBaseTypeConstraint FloatIEEE754VFloatFieldInfo = (~) FloatIEEE754+ type AttrGetType FloatIEEE754VFloatFieldInfo = Float+ type AttrLabel FloatIEEE754VFloatFieldInfo = "v_float"+ attrGet _ = floatIEEE754ReadVFloat+ attrSet _ = floatIEEE754WriteVFloat+ attrConstruct = undefined+ attrClear _ = undefined++floatIEEE754VFloat :: AttrLabelProxy "vFloat"+floatIEEE754VFloat = AttrLabelProxy++++type instance AttributeList FloatIEEE754 = FloatIEEE754AttributeList+type FloatIEEE754AttributeList = ('[ '("vFloat", FloatIEEE754VFloatFieldInfo)] :: [(Symbol, *)]) type family ResolveFloatIEEE754Method (t :: Symbol) (o :: *) :: * where ResolveFloatIEEE754Method l o = MethodResolutionFailed l o
GI/GLib/Unions/FloatIEEE754.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Unions.FloatIEEE754 where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Unions/Mutex.hs view
@@ -45,9 +45,9 @@ ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -60,14 +60,25 @@ newZeroMutex :: MonadIO m => m Mutex newZeroMutex = liftIO $ callocBytes 8 >>= wrapPtr Mutex +instance tag ~ 'AttrSet => Constructible Mutex tag where+ new _ attrs = do+ o <- newZeroMutex+ GI.Attributes.set o attrs+ return o++ noMutex :: Maybe Mutex noMutex = Nothing ++type instance AttributeList Mutex = MutexAttributeList+type MutexAttributeList = ('[ ] :: [(Symbol, *)])+ -- method Mutex::clear -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Mutex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -94,7 +105,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Mutex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -121,7 +132,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Mutex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False @@ -148,7 +159,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Mutex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TBoolean+-- returnType : Just (TBasicType TBoolean) -- throws : False -- Skip return : False @@ -176,7 +187,7 @@ -- method type : OrdinaryMethod -- Args : [Arg {argCName = "_obj", argType = TInterface "GLib" "Mutex", direction = DirectionIn, mayBeNull = False, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}] -- Lengths : []--- returnType : TBasicType TVoid+-- returnType : Nothing -- throws : False -- Skip return : False
GI/GLib/Unions/Mutex.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Unions.Mutex where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
GI/GLib/Unions/TokenValue.hs view
@@ -18,59 +18,87 @@ -- * Properties -- ** VBinary tokenValueReadVBinary ,+ tokenValueVBinary ,+ tokenValueWriteVBinary , -- ** VChar tokenValueReadVChar ,+ tokenValueVChar ,+ tokenValueWriteVChar , -- ** VComment+ tokenValueClearVComment , tokenValueReadVComment ,+ tokenValueVComment ,+ tokenValueWriteVComment , -- ** VError tokenValueReadVError ,+ tokenValueVError ,+ tokenValueWriteVError , -- ** VFloat tokenValueReadVFloat ,+ tokenValueVFloat ,+ tokenValueWriteVFloat , -- ** VHex tokenValueReadVHex ,+ tokenValueVHex ,+ tokenValueWriteVHex , -- ** VIdentifier+ tokenValueClearVIdentifier , tokenValueReadVIdentifier ,+ tokenValueVIdentifier ,+ tokenValueWriteVIdentifier , -- ** VInt tokenValueReadVInt ,+ tokenValueVInt ,+ tokenValueWriteVInt , -- ** VInt64 tokenValueReadVInt64 ,+ tokenValueVInt64 ,+ tokenValueWriteVInt64 , -- ** VOctal tokenValueReadVOctal ,+ tokenValueVOctal ,+ tokenValueWriteVOctal , -- ** VString+ tokenValueClearVString , tokenValueReadVString ,+ tokenValueVString ,+ tokenValueWriteVString , -- ** VSymbol+ tokenValueClearVSymbol , tokenValueReadVSymbol ,+ tokenValueVSymbol ,+ tokenValueWriteVSymbol , ) where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map@@ -83,72 +111,346 @@ newZeroTokenValue :: MonadIO m => m TokenValue newZeroTokenValue = liftIO $ callocBytes 8 >>= wrapPtr TokenValue +instance tag ~ 'AttrSet => Constructible TokenValue tag where+ new _ attrs = do+ o <- newZeroTokenValue+ GI.Attributes.set o attrs+ return o++ noTokenValue :: Maybe TokenValue noTokenValue = Nothing -tokenValueReadVSymbol :: TokenValue -> IO (Ptr ())-tokenValueReadVSymbol s = withManagedPtr s $ \ptr -> do+tokenValueReadVSymbol :: MonadIO m => TokenValue -> m (Ptr ())+tokenValueReadVSymbol s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO (Ptr ()) return val -tokenValueReadVIdentifier :: TokenValue -> IO T.Text-tokenValueReadVIdentifier s = withManagedPtr s $ \ptr -> do+tokenValueWriteVSymbol :: MonadIO m => TokenValue -> Ptr () -> m ()+tokenValueWriteVSymbol s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: Ptr ())++tokenValueClearVSymbol :: MonadIO m => TokenValue -> m ()+tokenValueClearVSymbol s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (nullPtr :: Ptr ())++data TokenValueVSymbolFieldInfo+instance AttrInfo TokenValueVSymbolFieldInfo where+ type AttrAllowedOps TokenValueVSymbolFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint TokenValueVSymbolFieldInfo = (~) (Ptr ())+ type AttrBaseTypeConstraint TokenValueVSymbolFieldInfo = (~) TokenValue+ type AttrGetType TokenValueVSymbolFieldInfo = Ptr ()+ type AttrLabel TokenValueVSymbolFieldInfo = "v_symbol"+ attrGet _ = tokenValueReadVSymbol+ attrSet _ = tokenValueWriteVSymbol+ attrConstruct = undefined+ attrClear _ = tokenValueClearVSymbol++tokenValueVSymbol :: AttrLabelProxy "vSymbol"+tokenValueVSymbol = AttrLabelProxy+++tokenValueReadVIdentifier :: MonadIO m => TokenValue -> m (Maybe T.Text)+tokenValueReadVIdentifier s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO CString- val' <- cstringToText val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- cstringToText val'+ return val''+ return result -tokenValueReadVBinary :: TokenValue -> IO Word64-tokenValueReadVBinary s = withManagedPtr s $ \ptr -> do- val <- peek (ptr `plusPtr` 0) :: IO Word64+tokenValueWriteVIdentifier :: MonadIO m => TokenValue -> CString -> m ()+tokenValueWriteVIdentifier s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: CString)++tokenValueClearVIdentifier :: MonadIO m => TokenValue -> m ()+tokenValueClearVIdentifier s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (nullPtr :: CString)++data TokenValueVIdentifierFieldInfo+instance AttrInfo TokenValueVIdentifierFieldInfo where+ type AttrAllowedOps TokenValueVIdentifierFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint TokenValueVIdentifierFieldInfo = (~) CString+ type AttrBaseTypeConstraint TokenValueVIdentifierFieldInfo = (~) TokenValue+ type AttrGetType TokenValueVIdentifierFieldInfo = Maybe T.Text+ type AttrLabel TokenValueVIdentifierFieldInfo = "v_identifier"+ attrGet _ = tokenValueReadVIdentifier+ attrSet _ = tokenValueWriteVIdentifier+ attrConstruct = undefined+ attrClear _ = tokenValueClearVIdentifier++tokenValueVIdentifier :: AttrLabelProxy "vIdentifier"+tokenValueVIdentifier = AttrLabelProxy+++tokenValueReadVBinary :: MonadIO m => TokenValue -> m CULong+tokenValueReadVBinary s = liftIO $ withManagedPtr s $ \ptr -> do+ val <- peek (ptr `plusPtr` 0) :: IO CULong return val -tokenValueReadVOctal :: TokenValue -> IO Word64-tokenValueReadVOctal s = withManagedPtr s $ \ptr -> do- val <- peek (ptr `plusPtr` 0) :: IO Word64+tokenValueWriteVBinary :: MonadIO m => TokenValue -> CULong -> m ()+tokenValueWriteVBinary s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: CULong)++data TokenValueVBinaryFieldInfo+instance AttrInfo TokenValueVBinaryFieldInfo where+ type AttrAllowedOps TokenValueVBinaryFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint TokenValueVBinaryFieldInfo = (~) CULong+ type AttrBaseTypeConstraint TokenValueVBinaryFieldInfo = (~) TokenValue+ type AttrGetType TokenValueVBinaryFieldInfo = CULong+ type AttrLabel TokenValueVBinaryFieldInfo = "v_binary"+ attrGet _ = tokenValueReadVBinary+ attrSet _ = tokenValueWriteVBinary+ attrConstruct = undefined+ attrClear _ = undefined++tokenValueVBinary :: AttrLabelProxy "vBinary"+tokenValueVBinary = AttrLabelProxy+++tokenValueReadVOctal :: MonadIO m => TokenValue -> m CULong+tokenValueReadVOctal s = liftIO $ withManagedPtr s $ \ptr -> do+ val <- peek (ptr `plusPtr` 0) :: IO CULong return val -tokenValueReadVInt :: TokenValue -> IO Word64-tokenValueReadVInt s = withManagedPtr s $ \ptr -> do- val <- peek (ptr `plusPtr` 0) :: IO Word64+tokenValueWriteVOctal :: MonadIO m => TokenValue -> CULong -> m ()+tokenValueWriteVOctal s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: CULong)++data TokenValueVOctalFieldInfo+instance AttrInfo TokenValueVOctalFieldInfo where+ type AttrAllowedOps TokenValueVOctalFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint TokenValueVOctalFieldInfo = (~) CULong+ type AttrBaseTypeConstraint TokenValueVOctalFieldInfo = (~) TokenValue+ type AttrGetType TokenValueVOctalFieldInfo = CULong+ type AttrLabel TokenValueVOctalFieldInfo = "v_octal"+ attrGet _ = tokenValueReadVOctal+ attrSet _ = tokenValueWriteVOctal+ attrConstruct = undefined+ attrClear _ = undefined++tokenValueVOctal :: AttrLabelProxy "vOctal"+tokenValueVOctal = AttrLabelProxy+++tokenValueReadVInt :: MonadIO m => TokenValue -> m CULong+tokenValueReadVInt s = liftIO $ withManagedPtr s $ \ptr -> do+ val <- peek (ptr `plusPtr` 0) :: IO CULong return val -tokenValueReadVInt64 :: TokenValue -> IO Word64-tokenValueReadVInt64 s = withManagedPtr s $ \ptr -> do+tokenValueWriteVInt :: MonadIO m => TokenValue -> CULong -> m ()+tokenValueWriteVInt s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: CULong)++data TokenValueVIntFieldInfo+instance AttrInfo TokenValueVIntFieldInfo where+ type AttrAllowedOps TokenValueVIntFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint TokenValueVIntFieldInfo = (~) CULong+ type AttrBaseTypeConstraint TokenValueVIntFieldInfo = (~) TokenValue+ type AttrGetType TokenValueVIntFieldInfo = CULong+ type AttrLabel TokenValueVIntFieldInfo = "v_int"+ attrGet _ = tokenValueReadVInt+ attrSet _ = tokenValueWriteVInt+ attrConstruct = undefined+ attrClear _ = undefined++tokenValueVInt :: AttrLabelProxy "vInt"+tokenValueVInt = AttrLabelProxy+++tokenValueReadVInt64 :: MonadIO m => TokenValue -> m Word64+tokenValueReadVInt64 s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO Word64 return val -tokenValueReadVFloat :: TokenValue -> IO Double-tokenValueReadVFloat s = withManagedPtr s $ \ptr -> do+tokenValueWriteVInt64 :: MonadIO m => TokenValue -> Word64 -> m ()+tokenValueWriteVInt64 s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: Word64)++data TokenValueVInt64FieldInfo+instance AttrInfo TokenValueVInt64FieldInfo where+ type AttrAllowedOps TokenValueVInt64FieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint TokenValueVInt64FieldInfo = (~) Word64+ type AttrBaseTypeConstraint TokenValueVInt64FieldInfo = (~) TokenValue+ type AttrGetType TokenValueVInt64FieldInfo = Word64+ type AttrLabel TokenValueVInt64FieldInfo = "v_int64"+ attrGet _ = tokenValueReadVInt64+ attrSet _ = tokenValueWriteVInt64+ attrConstruct = undefined+ attrClear _ = undefined++tokenValueVInt64 :: AttrLabelProxy "vInt64"+tokenValueVInt64 = AttrLabelProxy+++tokenValueReadVFloat :: MonadIO m => TokenValue -> m Double+tokenValueReadVFloat s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO CDouble let val' = realToFrac val return val' -tokenValueReadVHex :: TokenValue -> IO Word64-tokenValueReadVHex s = withManagedPtr s $ \ptr -> do- val <- peek (ptr `plusPtr` 0) :: IO Word64+tokenValueWriteVFloat :: MonadIO m => TokenValue -> Double -> m ()+tokenValueWriteVFloat s val = liftIO $ withManagedPtr s $ \ptr -> do+ let val' = realToFrac val+ poke (ptr `plusPtr` 0) (val' :: CDouble)++data TokenValueVFloatFieldInfo+instance AttrInfo TokenValueVFloatFieldInfo where+ type AttrAllowedOps TokenValueVFloatFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint TokenValueVFloatFieldInfo = (~) Double+ type AttrBaseTypeConstraint TokenValueVFloatFieldInfo = (~) TokenValue+ type AttrGetType TokenValueVFloatFieldInfo = Double+ type AttrLabel TokenValueVFloatFieldInfo = "v_float"+ attrGet _ = tokenValueReadVFloat+ attrSet _ = tokenValueWriteVFloat+ attrConstruct = undefined+ attrClear _ = undefined++tokenValueVFloat :: AttrLabelProxy "vFloat"+tokenValueVFloat = AttrLabelProxy+++tokenValueReadVHex :: MonadIO m => TokenValue -> m CULong+tokenValueReadVHex s = liftIO $ withManagedPtr s $ \ptr -> do+ val <- peek (ptr `plusPtr` 0) :: IO CULong return val -tokenValueReadVString :: TokenValue -> IO T.Text-tokenValueReadVString s = withManagedPtr s $ \ptr -> do+tokenValueWriteVHex :: MonadIO m => TokenValue -> CULong -> m ()+tokenValueWriteVHex s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: CULong)++data TokenValueVHexFieldInfo+instance AttrInfo TokenValueVHexFieldInfo where+ type AttrAllowedOps TokenValueVHexFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint TokenValueVHexFieldInfo = (~) CULong+ type AttrBaseTypeConstraint TokenValueVHexFieldInfo = (~) TokenValue+ type AttrGetType TokenValueVHexFieldInfo = CULong+ type AttrLabel TokenValueVHexFieldInfo = "v_hex"+ attrGet _ = tokenValueReadVHex+ attrSet _ = tokenValueWriteVHex+ attrConstruct = undefined+ attrClear _ = undefined++tokenValueVHex :: AttrLabelProxy "vHex"+tokenValueVHex = AttrLabelProxy+++tokenValueReadVString :: MonadIO m => TokenValue -> m (Maybe T.Text)+tokenValueReadVString s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO CString- val' <- cstringToText val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- cstringToText val'+ return val''+ return result -tokenValueReadVComment :: TokenValue -> IO T.Text-tokenValueReadVComment s = withManagedPtr s $ \ptr -> do+tokenValueWriteVString :: MonadIO m => TokenValue -> CString -> m ()+tokenValueWriteVString s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: CString)++tokenValueClearVString :: MonadIO m => TokenValue -> m ()+tokenValueClearVString s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (nullPtr :: CString)++data TokenValueVStringFieldInfo+instance AttrInfo TokenValueVStringFieldInfo where+ type AttrAllowedOps TokenValueVStringFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint TokenValueVStringFieldInfo = (~) CString+ type AttrBaseTypeConstraint TokenValueVStringFieldInfo = (~) TokenValue+ type AttrGetType TokenValueVStringFieldInfo = Maybe T.Text+ type AttrLabel TokenValueVStringFieldInfo = "v_string"+ attrGet _ = tokenValueReadVString+ attrSet _ = tokenValueWriteVString+ attrConstruct = undefined+ attrClear _ = tokenValueClearVString++tokenValueVString :: AttrLabelProxy "vString"+tokenValueVString = AttrLabelProxy+++tokenValueReadVComment :: MonadIO m => TokenValue -> m (Maybe T.Text)+tokenValueReadVComment s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO CString- val' <- cstringToText val- return val'+ result <- convertIfNonNull val $ \val' -> do+ val'' <- cstringToText val'+ return val''+ return result -tokenValueReadVChar :: TokenValue -> IO Word8-tokenValueReadVChar s = withManagedPtr s $ \ptr -> do+tokenValueWriteVComment :: MonadIO m => TokenValue -> CString -> m ()+tokenValueWriteVComment s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: CString)++tokenValueClearVComment :: MonadIO m => TokenValue -> m ()+tokenValueClearVComment s = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (nullPtr :: CString)++data TokenValueVCommentFieldInfo+instance AttrInfo TokenValueVCommentFieldInfo where+ type AttrAllowedOps TokenValueVCommentFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]+ type AttrSetTypeConstraint TokenValueVCommentFieldInfo = (~) CString+ type AttrBaseTypeConstraint TokenValueVCommentFieldInfo = (~) TokenValue+ type AttrGetType TokenValueVCommentFieldInfo = Maybe T.Text+ type AttrLabel TokenValueVCommentFieldInfo = "v_comment"+ attrGet _ = tokenValueReadVComment+ attrSet _ = tokenValueWriteVComment+ attrConstruct = undefined+ attrClear _ = tokenValueClearVComment++tokenValueVComment :: AttrLabelProxy "vComment"+tokenValueVComment = AttrLabelProxy+++tokenValueReadVChar :: MonadIO m => TokenValue -> m Word8+tokenValueReadVChar s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO Word8 return val -tokenValueReadVError :: TokenValue -> IO Word32-tokenValueReadVError s = withManagedPtr s $ \ptr -> do+tokenValueWriteVChar :: MonadIO m => TokenValue -> Word8 -> m ()+tokenValueWriteVChar s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: Word8)++data TokenValueVCharFieldInfo+instance AttrInfo TokenValueVCharFieldInfo where+ type AttrAllowedOps TokenValueVCharFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint TokenValueVCharFieldInfo = (~) Word8+ type AttrBaseTypeConstraint TokenValueVCharFieldInfo = (~) TokenValue+ type AttrGetType TokenValueVCharFieldInfo = Word8+ type AttrLabel TokenValueVCharFieldInfo = "v_char"+ attrGet _ = tokenValueReadVChar+ attrSet _ = tokenValueWriteVChar+ attrConstruct = undefined+ attrClear _ = undefined++tokenValueVChar :: AttrLabelProxy "vChar"+tokenValueVChar = AttrLabelProxy+++tokenValueReadVError :: MonadIO m => TokenValue -> m Word32+tokenValueReadVError s = liftIO $ withManagedPtr s $ \ptr -> do val <- peek (ptr `plusPtr` 0) :: IO Word32 return val++tokenValueWriteVError :: MonadIO m => TokenValue -> Word32 -> m ()+tokenValueWriteVError s val = liftIO $ withManagedPtr s $ \ptr -> do+ poke (ptr `plusPtr` 0) (val :: Word32)++data TokenValueVErrorFieldInfo+instance AttrInfo TokenValueVErrorFieldInfo where+ type AttrAllowedOps TokenValueVErrorFieldInfo = '[ 'AttrSet, 'AttrGet]+ type AttrSetTypeConstraint TokenValueVErrorFieldInfo = (~) Word32+ type AttrBaseTypeConstraint TokenValueVErrorFieldInfo = (~) TokenValue+ type AttrGetType TokenValueVErrorFieldInfo = Word32+ type AttrLabel TokenValueVErrorFieldInfo = "v_error"+ attrGet _ = tokenValueReadVError+ attrSet _ = tokenValueWriteVError+ attrConstruct = undefined+ attrClear _ = undefined++tokenValueVError :: AttrLabelProxy "vError"+tokenValueVError = AttrLabelProxy++++type instance AttributeList TokenValue = TokenValueAttributeList+type TokenValueAttributeList = ('[ '("vSymbol", TokenValueVSymbolFieldInfo), '("vIdentifier", TokenValueVIdentifierFieldInfo), '("vBinary", TokenValueVBinaryFieldInfo), '("vOctal", TokenValueVOctalFieldInfo), '("vInt", TokenValueVIntFieldInfo), '("vInt64", TokenValueVInt64FieldInfo), '("vFloat", TokenValueVFloatFieldInfo), '("vHex", TokenValueVHexFieldInfo), '("vString", TokenValueVStringFieldInfo), '("vComment", TokenValueVCommentFieldInfo), '("vChar", TokenValueVCharFieldInfo), '("vError", TokenValueVErrorFieldInfo)] :: [(Symbol, *)]) type family ResolveTokenValueMethod (t :: Symbol) (o :: *) :: * where ResolveTokenValueMethod l o = MethodResolutionFailed l o
GI/GLib/Unions/TokenValue.hs-boot view
@@ -1,8 +1,8 @@ module GI.GLib.Unions.TokenValue where -import Prelude () import Data.GI.Base.ShortPrelude +import qualified Data.GI.Base.Attributes as GI.Attributes import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map
gi-glib.cabal view
@@ -1,6 +1,6 @@ -- Autogenerated, do not edit. name: gi-glib-version: 0.2.46.13+version: 0.2.46.14 synopsis: GLib bindings description: Bindings for GLib, autogenerated by haskell-gi. homepage: https://github.com/haskell-gi/haskell-gi@@ -14,7 +14,7 @@ library default-language: Haskell2010- default-extensions: ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts+ default-extensions: NoImplicitPrelude, ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts other-extensions: PatternSynonyms ViewPatterns ghc-options: -fno-warn-unused-imports -fno-warn-warnings-deprecations exposed-modules: GI.GLib.Types@@ -96,7 +96,7 @@ GI.GLib.Unions.TokenValue pkgconfig-depends: glib-2.0 >= 2.46 build-depends: base >= 4.7 && <5,- haskell-gi-base >= 0.13 && < 1,+ haskell-gi-base >= 0.14 && < 1, bytestring >= 0.10, containers >= 0.5, text >= 1.0,