RFl      !"#$%&'()*+,-./012 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z{|}~       !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{| } ~!!!!!!!!!!!"""""""""""""##########################################################################################$$$%%%%%&&&&&&&&&&''''''' ' ' ' ' ''''''''((((((((((( (!("(#($(%(&('((()(*(+(,(-(.(/(0(1(2(3(4(5(6(7(8(9(:(;(<(=(>)?*@*A+B,C,D,E-F-G-H-I-J-K-L.M.N.O/P/Q/R/S/T/U/V/W/X/Y/Z/[/\/]/^/_/`0a0b0c1d1e1f2g2h2i3j3k455Safe (OT[ lmnopqrstuvwxmstuvwx lmnopqrstuvwxSafe (OT[Construct the y representation of a showable.Throw an error with the given y.3Capitalize the first character of the given string.7Make the first character of the given string lowercase.Apply the given modification function to the given symbol. If the symbol is qualified the modification will only apply to the last component.    Safe (OT[ IDefault list of extensions to turn on when compiling the generated code.XExtensions that will be used in some modules, but we do not wish to turn on by default.6Default options for GHC when compiling generated code.%Default version of the report to use.#List of dependencies for all bindings. Notice that base is not included here, since not all bindings use the same base version. haskell-gi and haskell-gi-base are not included either, since the versions to use may change depending on whether we are using old style or new style bindings.HUnder which category in hackage should the generated bindings be listed.     Safe (OT[pTry asking pkg-config for the version of a given module, and return the package name together with its version.Get the pkg-config name and associated installed version of a given gobject-introspection namespace. Since the mapping is not one-to-one some guessing is involved, although in most cases the required information is listed in the GIR file.None (OT[ Extra info about a field in a struct or union which is not easily determined from the GIR file. (And which we determine by using libgirepository.)z Wrapper for  GITypelib{ Wrapper for  GIBaseInfo`Ensure that the given version of the namespace is loaded. If that is not possible we error out.|GFind a given baseinfo by name, or give an error if it cannot be found.}.Get the extra information for the given field.ZFind out the size of a struct, and the map from field names to offsets inside the struct.XFind out the size of a union, and the map from field names to offsets inside the union.~ILoad a symbol from the dynamic library associated to the given namespace.LLoad a GType given the namespace where it lives and the type init function.z{|}~z{|}~None (OT[    None (OT[ "GIR namespaces we know about.%>Turn a node into an element (if it is indeed an element node).&JFind all children of the given element which are XML Elements themselves.'The local name of an element.(,Restrict to those with the given local name.)"Restrict to those with given name.*1Find the first child element with the given name.+1Get the content of a given element, if it exists.,4Lookup an attribute for an element (with no prefix).;Return the text representation of the known GIR namespaces.-GLookup an attribute for an element, given the namespace where it lives.. Construct a  by only giving the local name./ Construct a  specifying a namespace too."#$%&'()*+,-./"$#%&'()*+,-./%&',"#$-()*+./ "#$%&'()*+,-./None (OT[:Split a list into sublists delimited by the given element.Search for an appropriate .gir| file in the search path. This is either passed in explicitly, or if that is absent, loaded from the environment variable HASKELL_GI_GIR_SEARCH_PATH. In either case the system data dirs are also searched if nothing can be found in the explicitly passed paths, or in the contents of HASKELL_GI_GIR_SEARCH_PATH.1Try to load the `.gir`+ file corresponding to the given repository1verbosenameversion searchPath111 None (OT[2"Documentation for a given element.5CParse the documentation node for the given element of the GIR file.2345234523452345 None (OT[8$Deprecation information on a symbol.9Encode the given 8/ for the given symbol as a deprecation pragma.:HParse the deprecation information for the given element of the GIR file.89:89:89:89: Safe (OT[&=rThis type represents the types found in GObject Introspection interfaces: the types of constants, arguments, etc.?GError@GVariantA GParamSpecB>Zero terminated, Array Fixed Size, Array Length, Element TypeCGArrayD GPtrArrayE GByteArrayFGListGGSListH GHashTableI"A reference to some API in the GIRJ`Basic types. These are generally trivial to marshal, and the GIR assumes that they are defined.KgbooleanLgintMguintNglongOgulongPgint8Qguint8Rgint16Sguint16Tgint32Uguint32Vgint64Wguint64XgfloatYgdoubleZgunichar[GType\gchar*, encoded as UTF-8]gchar*, encoding a filename^gpointer_gintptr`guintptra,An alias, which is simply (Namespace, name).c*Transfer mode for an argument or property.g"Name for a symbol in the GIR file..=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghij.=I>?@ABCDEFGHJKLMNOPQRSTUVWXYZ[\]^_`abcdefghji.ghijcdefab=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`= >?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijNone (OT[zbMonad where parsers live: we carry a context around, and can throw errors that abort the parsing.{<A message describing a parsing error in human readable form."Info to carry around when parsing.|Throw a parse error.DBuild a textual description (for debug purposes) of a given element.&Build a name in the current namespace.}Return the current namespace.~Check whether there is an alias for the given name, and return the corresponding type in case it exists, and otherwise a TInterface.nReturn the value of an attribute for the given element. If the attribute is not present this throws an error.Like ), but allow for specifying the namespace.IReturn the value of an attribute if it is present, and Nothing otherwise.Like ), but allow for specifying the namespace.Ask for an optional attribute, applying the given parser to it. If the argument does not exist return the default value provided.Build a g out of the (possibly qualified) supplied name. If the supplied name is unqualified we qualify with the current namespace, and otherwise we simply parse it./Get the qualified name for the current element.'Parse the deprecation text, if present.)Parse the documentation text, if present.Parse a signed integral number..A boolean value given by a numerical constant.CParse all the introspectable subelements with the given local name.0Parse all subelements with the given local name.KParse all introspectable children with the given namespace and local name.<Run the given parser for a given subelement in the XML tree.;Run the given parser, returning either success or an error.z{|}~!"$#28ghjiz{|}~z{|}~ghij!"#$82z{|}~ None (OT[&Bytes used for storage of this struct.Parse a struct member.`Return the number of bytes that should be allocated for storage of the given values in an enum.1Parse an "enumeration" element from the GIR file.  None (OT[None !"(MOT[Map the given type name to a J3 (defined in Data.GI.GIR.BasicTypes), if possible.The different array types. A C array A hash table.For GLists and GSLists there is sometimes no information about the type of the elements. In these cases we report them as pointers.)A type which is not a BasicType or array.8Parse information on a "type" element. Returns either a =, or ] indicating that the name of the type in the introspection data was "none" (associated with void in C).7Find the children giving the type of the given element.UFind the C name (or if not present, the introspection name) for the current element.4Find the children giving the C type for the element.Try to find a type node, but do not error out if it is not found. This _does_ give an error if more than one type node is found, or if the type name is "none".\Parse the type of a node (which will be described by a child node named "type" or "array").Like , but allow for none, returned as .gParse the C-type associated to the element. If there is no "c:type" attribute we return the type name.None (OT[Info about a constant.-Parse a "constant" element from the GIR file.Safe (OT[,Type constructor applied to the given types. Embed in the  monad.A Ptr to the type.A FunPtr to the type. Embed in the  monad.)=I>?@ABCDEFGHJKLMNOPQRSTUVWXYZ[\]^_`)=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`None (OT[CH name for the argument. For a escaped name valid in Haskell code, use 67. None (OT[  None (OT[None (OT[Parse a single field in a struct or union. We parse non-introspectable fields too (but set fieldVisible = False for them), this is necessary since they affect the computation of offsets of fields and sizes of containing structs.  None (OT[None (OT[None (OT[)Constructs an instance of the parent typeA function in the namespace9A function taking the parent instance as first argument.  None (OT[                    None (OT[  !"#  !"#  !"# !"#None (OT[ %&'()*+,-./0 %&'()*+,-./0 %&'()*+,-./0% &'()*+,-./0Safe (OT[2Information about a given allocation operation. It is either disallowed, allowed via the given function, or it is unknown at the current stage how to perform the operation.5@Allocation/deallocation information for a given foreign pointer.:FA convenience function, filling in all the allocation info to unknown. 23456789: 24356789: 56789234:23456789:None (OT[ >?@ABCDEFGHIJ >?@ABCDEFGHIJ >?@ABCDEFGHIJ> ?@ABCDEFGHIJNone (OT[ LMNOPQRSTU LMNOPQRSTU LMNOPQRSTULMNOPQRSTUNone (OT[&Find all aliases in a given namespace..Parse all the aliases in the current namespaceParse a single aliasW%Find all aliases in a given document.WWWWNone !"#(OT[b"A rule for modifying the GIR file.c&(Path to element, attrName), newValued;A name tag, which is either a name or a regular expression.g)Node selector for a path in the GIR file.h Node with the given "name" attr.iNode of the given type.jCombination of the above.kPath to a node in the GIR file, starting from the document root of the GIR file. This is a very simplified version of something like XPath./Parse the list of includes in a given document.(Load a set of dependencies, recursively.6Load a given GIR file and recursively its dependenciesUTurn a GIRInfoParse into a proper GIRInfo, doing some sanity checking along the way.sBare minimum loading and parsing of a single repository, without loading or parsing its dependencies, resolving aliases, or fixing up structs or interfaces.t6Load and parse a GIR file, including its dependencies.List the prerequisites for a  corresponding to an interface.oThe list of prerequisites in GIR files is not always accurate. Instead of relying on this, we instantiate the E associated to the interface, and listing the interfaces from there.tThere is not enough info in the GIR files to determine whether a struct is boxed. We find out by instantiating the  corresponding to the struct (if known) and checking whether it descends from the boxed GType. Similarly, the size of the struct and offset of the fields is hard to compute from the GIR data, we simply reuse the machinery in libgirepository.%Find out whether the struct is boxed.}Fix the size and alignment of fields. This is much easier to do by using libgirepository than reading the GIR file directly.Same thing for unions.Like fixupStructSizeAndOffset above.7Fixup the offsets of fields using the given offset map.Fixup parsed GIRInfos: some of the required information is not found in the GIR files themselves, but can be obtained by instantiating the required GTypes from the installed libraries.DGiven a XML document containing GIR data, apply the given overrides.Looks for the given path in the given subelements of the given element. If the path is empty apply the corresponding rule, otherwise return the element ummodified.DSet an attribute for the child element specified by the given path.MLookup the given attribute and if present see if it matches the given regex.<See if a given node specification applies to the given node.CXYZ[\]^_`abcdefghijklmnopqrVerbose Requested Loaded so farextra path to searchfixupsNew loaded setverbosenameversionextra paths to searchfixups(loaded doc, dependencies)sverbosenameversionextra paths to searchbare parsed documenttverbosenameversionextra paths to searchfixups(parsed doc, parsed deps)89cdefghji      !"%&'()*+,-./24356789:>?@ABCDEFGHILMNOPQRSTXYZ[\]^_`abcdefghijklmnopqrstXYZ[\]^_`almnopqrtsbckghijdefghijcdef56789234:98     >?@ABCDEFGHI !"%&'()*+,-./LMNOPQRST%X YZ[\]^_`abcdefghijklmnopqrst None (OT[ |7Remove functions and methods annotated with "moved-to".Drop the moved methods.}GObject-introspection does not currently support nullability annotations, so we try to guess the nullability from the nullability annotations of the curresponding get/set methods, which in principle should be reliable.2Guess nullability for the properties of an object.5Guess nullability for the properties of an interface.ZGuess the nullability for a property, given the list of methods for the object/interface.|Guess whether "get" on the given property may return NULL, based on the corresponding "get_prop_name" method, if it exists.|Guess whether "set" on the given property may return NULL, based on the corresponding "set_prop_name" method, if it exists.2Find the first method with the given name, if any. |}|}|} |}!None $(OT[*Known operating systems.XWe have a bit of context (the current namespace), and can fail, encode this in a monad."The state of the overrides parser.The current namespace.CThe contents of the override file will be ignored if there is any  value here. if( primitive push (prepend) values here, endif pop them. Ignored elements of a given API.?Ignored APIs (all elements in this API will just be discarded).9Structs for which accessors should not be auto-generated.Explicit calloccopyfree for structs/unions.;Mapping from GObject Introspection namespaces to pkg-config0Version number for the generated .cabal package."Prefered version of the namespace.Fixups for the GIR data.*Construct the generic config for a module.Default, empty, parser state.Get the current namespace.8Run the given parser only if the flags can be satisfied.Parse the given config file (as a set of lines) for a given introspection namespace, filling in the configuration as needed. In case the parsing fails we return a description of the error instead.TParse a single line of the config file, modifying the configuration as appropriate.Ignored elements.Sealed structures..Explicit allocation info for wrapped pointers.:Parse a explicit key=value pair into a (key, value) tuple.<Mapping from GObject Introspection namespaces to pkg-config.-Choose a preferred namespace version to load.-Specifying the cabal package version by hand.&Set a given attribute in the GIR file.<Parse a path specification, which is of the form "nodeSpec1 nodeSpec2_../nodeSpecN", where nodeSpec is a node specification of the form "nodeType[:name attribute]".XA specification of a name, which is either a regex (prefixed with "~") or a plain name."Parse a single node specification.+Parse an XML name, with an optional prefix. FCheck whether we are running under the given OS. We take the OS from 89Q, but it is possible to override this value by setting the environment variable HASKELL_GI_OVERRIDE_OS. 3Parse a textual representation of a version into a :;. \Check that the given pkg-config package has a version compatible with the given constraint. Parse a 'if' directive.  Parse an endif directive.IFilter a set of named objects based on a lookup list of names to ignore.Given the previous allocation info, and a new allocation info, replace those entries in the old allocation info which are specified in the new info.-Filter one API according to the given config.?Given a list of APIs modify them according to the given config.LLoad a given API, applying filtering. Load also any necessary dependencies.There is a sensible notion of zero and addition of Overridess, encode this so that we can view the parser as a writer monad of configs.0~     ~~!~      "None (OT[#Name of the module being generated.Whether to print extra info.0List of loaded overrides for the code generator.%List of flags for the code generator.:Flags controlling different aspects of the code generator.*Whether to generate overloaded properties.3Whether to generate support for overloaded signals.3Whether to generate support for overloaded methods.   #None (OT[n&Code generators that can throw errors.+The code generator monad, for generators that cannot throw errors. The fact that they cannot throw errors is encoded in the forall, which disallows any operation on the error, except discarding it or passing it along without inspecting. This last operation is useful in order to allow embedding  computations inside Y computations, while disallowing the opposite embedding without explicit error handling.#Information for the code generator.Ambient config. APIs available to the generator.4Minimal version of base supported by a given module. 7.0 8.0!Flags for module code generation.DUse the standard prelude, instead of the haskell-gi-base short one."Information on a generated module.Full module name: [GI, Gtk, Label].Generated code for the module.'Interface going into the .hs-boot file.%Indexed by the relative module name.$Set of dependencies for this module.Exports for the module.Qualified (source) imports'Set of language pragmas for the module.%GHC options for compiling the module.Flags for the module.Documentation for the module.1Minimal version of base the module will work on.Possible types of exports.A type declaration.!An export in no specific section.!A method for a struct/union, etc.#A property for an object/interface.!A signal for an object/interface. Reexport of a whole module.!Possible exports for a given module. Every export type constructor has two parameters: the section of the haddocks where it should appear, and the symbol name to export in the export list of the module."Which kind of export.#Actual symbol to export.$Symbol to export.%LSubsection of the haddock documentation where the export should be located.No code.A single line, indented to current indentationIndented regionThe basic sequence of codeA grouped set of linesA y0 representation of the given base version bound.&Generate the empty module.'Run a  with given  and initial [, returning either the resulting exception, or the result and final state of the codegen.(4This is useful when we plan run a subgenerator, and )- the result to the original structure later.*zRun the given code generator using the state and config of an ambient CodeGen, but without adding the generated code to ", instead returning it explicitly.Like recurseA, giving explicitly the set of loaded APIs for the subgenerator.+:Merge everything but the generated code for the two given .,$Merge the infos, including code too.-IAdd the given submodule to the list of submodules of the current module..Run the given CodeGen in order to generate a single submodule of the current module. Note that we do not generate the submodule if the code generator generated no code and the module does not have submodules.mRun the given CodeGen in order to generate a submodule (specified an an ordered list) of the current module.Try running the given action, and if it fails run fallback instead.0Return the currently loaded set of dependencies.8Return the ambient configuration for the code generator.&Return the name of the current module.3Return the list of APIs available to the generator./ Due to the forall in the definition of A, if we want to run the monad transformer stack until we get an D action, our only option is ignoring the possible error code from 0S. This is perfectly safe, since there is no way to construct a computation in the > monad that throws an exception, due to the higher rank type.Like ), but discard the resulting output value.{Run a code generator, and return the information for the generated module together with the return value of the generator.0Mark the given dependency as used by the module.tReturn the transitive set of dependencies, i.e. the union of those of the module and (transitively) its submodules.wGiven a module name and a symbol in the module (including a proper namespace), return a qualified name for the symbol.1Import the given module name qualified (as a source import if the namespace is the same as the current one), and return the name under which the module was imported.2TConstruct a simplified version of the module name, suitable for a qualified import.PReturn the minimal base version supported by the module and all its submodules.MGive a friendly textual description of the error for presenting to the user.VFind the API associated with a given type. If the API cannot be found this raises an 3.4'Add some code to the current generator.&Print out a (newline-terminated) line.LPrint out the given line both to the normal module, and to the HsBoot file. A blank line.Increase the indent level for code generation.Group a set of related code.CWrite the given code into the .hs-boot file for the current module.5#Add a export to the current module.Reexport a whole module.8Export a toplevel (i.e. belonging to no section) symbol.&Add a type declaration-related export.,Add a method export under the given section.6Add a property-related export under the given section.4Add a signal-related export under the given section.0Set the language pragmas for the current module.HSet the GHC options for compiling this module (in a OPTIONS_GHC pragma).#Set the given flags for the module.=Set the minimum base version supported by the current module.UAdd the given text to the module-level documentation for the module being generated.$Return a text representation of the .6PPad a line to the given number of leading spaces, and add a newline at the end.7,Put a (padded) comma at the end of the text.8$Format the list of exported modules.9%Format the toplevel exported symbols.:%Format the type declarations section.;+Format a given section made of subsections.<Format the list of methods.=Format the list of properties.>Format the list of signals.?JFormat the given export list. This is just the inside of the parenthesis.@(Write down the list of language pragmas.A#Write down the list of GHC options.B!Standard fields for every module.CFThe haddock header for the module, including optionally a description.D:Generic module prelude. We reexport all of the submodules.ECode for loading the needed dependencies. One needs to give the prefix for the namespace being currently generated, modules with this prefix will be imported as {- SOURCE --}, and otherwise will be imported normally.FStandard imports.G{Write to disk the code for a module, under the given base directory. Does not write submodules recursively, for that use .H0Generate the .hs-boot file for the given module.I9Construct the filename corresponding to the given module.JMTurn an abstract module name into its dotted representation. For instance, [GI, Gtk, Types] -> GI.Gtk.Types.Write down the code for a module and its submodules to disk under the given base directory. It returns the list of written modules.Return the list of modules 9 would write, without actually writing anything to disk.K !L"#$%M&'(*+,-./12456789:;<=>?@ABCDEFGHIJJJ[K  !L"#$%M&'(*+,-./12456789:;<=>?@ABCDEFGHIJ$None (OT[NnObtain the minor version. That is, if the given version numbers are x.y.z, so branch is [x,y,z], we return y.OEObtain the haskell-gi minor version. Notice that we only append the minor version here, ignoring revisions. (So if the version is x.y.z, we drop the "z" part.) This gives us a mechanism for releasing bug-fix releases of haskell-gi without increasing the necessary dependency on haskell-gi-base, which only depends on x.y.PIf the haskell-gi version is of the form x.y[.z] and the pkgconfig version of the package being wrapped is a.b.c, this gives something of the form x.a.b.y.This strange seeming-rule is so that the packages that we produce follow the PVP, assuming that the package being wrapped follows the usual semantic versioning convention (http://semver.org) that increases in "a" indicate non-backwards compatible changes, increases in "b" backwards compatible additions to the API, and increases in "c" denote API compatible changes (so we do not need to regenerate bindings for these, at least in principle, so we do not encode them in the cabal version).In order to follow the PVP, then everything we need to do in the haskell-gi side is to increase x everytime the generated API changes (for a fixed a.b.c version).HIn any case, if such "strange" package numbers are undesired, or the wrapped package does not follow semver, it is possible to add an explicit cabal-pkg-version override. This needs to be maintained by hand (including in the list of dependencies of packages depending on this one), so think carefully before using this override!QODetermine the next version for which the minor of the package has been bumped.RDetermine the pkg-config name and installed version (major.minor only) for a given module, or throw an exception if that fails.SGiven a string a.b.c..., representing a version number, determine the major and minor versions, i.e. "a" and "b". If successful, return (a,b).[Try to generate the cabal project. In case of error return the corresponding error string. TNOPQRS TNOPQRS%None (OT[3Check whether the given name descends from GObject.UVUV&None (OT[ WFind the parent of a given object when building the instanceTree. For the purposes of the binding we do not need to distinguish between GObject.Object and GObject.InitiallyUnowned.<Compute the (ordered) list of parents of the current object.XIt is sometimes the case that a property name or signal is defined both in an object and in one of its ancestors/implemented interfaces. This is harmless if the properties are isomorphic (there will be more than one qualified set of property setters/getters that we can call, but they are all isomorphic). If they are not isomorphic we print a warning, and choose to use the one closest to the leaves of the object hierarchy.UList all properties defined for an object, including those defined by its ancestors.\List all properties defined for an interface, including those defined by its prerequisites.RList all signals defined for an object, including those defined by its ancestors.YList all signals defined for an interface, including those defined by its prerequisites.RList all methods defined for an object, including those defined by its ancestors.YList all methods defined for an interface, including those defined by its prerequisites.YZ[\W]^_`XYZ[\W]^_`X'None $(OT[bReturn a qualified form of the constraint for the given name (which should correspond to a valid I).Same as ;, but applicable directly to a type. The type should be a I$, otherwise an error will be raised.MForeign type associated with a callback type. It can be passed in qualified.IHaskell type exposing the closure arguments, which are generally elided.\The name of the dynamic wrapper for the given callback type. It can be passed in qualified.gThe name of the Haskell to foreign wrapper for the given callback type. It can be passed in qualified.The name of the Haskell to foreign wrapper for the given callback type, keeping the closure arguments (we usually elide them). The callback type can be passed in qualified. The name of a function which takes a callback without closure arguments, and generates a function which does accep the closures, but simply ignores them. ,The name for the foreign wrapper allocator (foreign import "wrapper" ...>) for the given callback type. It can be passed in qualified. _The name for the closure generator for the given callback type. It can be passed in qualified.anMove leading underscores to the end (for example in GObject::_Value_Data_Union -> GObject::Value_Data_Union_)OReturn an identifier for the given interface type valid in the current module.>Construct an identifier for the given symbol in the given API.Construct the submodule name (as a list, to be joined by intercalating ".") where the given API element will live. This is the path relative to the root for the corresponding namespace. I.e. the GI.Gtk part is not prepended.VSave a bit of typing for optional arguments in the case that we want to pass Nothing.4For a string of the form "one-sample-string" return OneSampleStringSimilarly, turn a name separated_by_underscores into CamelCase. We preserve final and initial underscores, and n>1 consecutive underscores are transformed into n-1 underscores.gName for the given argument, making sure it is a valid Haskell argument name (and escaping it if not).bReserved symbols, either because they are Haskell syntax or because the clash with symbols in scope for the generated bindings.   a  b             a  b(None (2MOT[c#Distinct types of foreign pointers.d Ordinary Ptr.eFunPtr.&Information on how to allocate a type. In bytes.fThe free monad.g$Lift some command to the Free monad.hTry to find the hash and equalO functions appropriate for the given type, when used as a key in a GHashTable.i GHashTable tries to fit every type into a pointer, the following function tries to find the appropriate (destroy,packer,unpacker) for the given type.(OWhether the callable has closure arguments (i.e. "user_data" style arguments).)Basically like 'g, but for types which admit a "isomorphic" version of the Haskell type distinct from the usual Haskell type. Generally the Haskell type we expose is isomorphic to the foreign type, but in some cases, such as callbacks with closure arguments, this does not hold, as we omit the closure arguments. This function returns a type which is actually isomorphic.,8Information on how to allocate the given type, if known.-0Returns whether the given type corresponds to a  ManagedPtr" instance (a thin wrapper over a  ForeignPtr)..JReturns whether the given type is represented by a pointer on the C side.j|For those types represented by pointers on the C side, return the type of pointer which represents them on the Haskell FFI./jIf the passed in type is nullable, return the conversion function between the FFI pointer type (may be a Ptr or a FunPtr) and the corresponding  type.0iAn appropriate NULL value for the given type, for types which are represented by pointers on the C side.1;Returns whether the given type should be represented by a & type on the Haskell side. This applies to all properties which have a C representation in terms of pointers, except for G(S)Lists, for which NULL is a valid G(S)List, and raw pointers, which we just pass through to the Haskell side. Notice that introspection annotations can override this.Scdeklmnopqrsftugvwxy !"z{|}~hi#$%&'()*+,-.j/012345678  !"#$%&'()*+,-./01234 " %!(#$')*&342-1./0+,Ccdeklmnopqrsftugvwxy !"z{|}~hi#$%&'()*+,-.j/012345678)None (OT[Data for a bidrectional pattern synonym. It is either a simple one of the form "pattern Name = value :: Type" or an explicit one of the form > pattern Name  -(view -; value) :: Type where > Name = expression value :: TypetAssign to the given name the given constant value, in a way that can be assigned to the corresponding Haskell type.TShow a basic type, in a way that can be assigned to the corresponding Haskell type. >>> >*None (OT[@ZVery similar to enums, but we also declare ourselves as members of the IsGFlag typeclass.,Support for enums encapsulating error codes.?@?@?@?@+None (OT[\A list of all overloadable identifiers in the set of APIs (current properties and methods).AAAA,None (OT[sGiven a property, return the set of constraints on the types, and the type variables for the object and its value.The property name as a lexically valid Haskell identifier. Note that this is not escaped, since it is assumed that it will be used with a prefix, so if a property is named "class", for example, this will return "class".NThe name of the type encoding the information for the property of the object.QGenerate a placeholder property for those cases in which code generation failed.DkGenerate gtk2hs compatible attribute labels (to ease porting). These are namespaced labels, for examples widgetSensitive. We take the list of methods, since there may be name clashes (an example is Auth::is_for_proxy method in libsoup, and the corresponding Auth::is-for-proxy property). When there is a clash we give priority to the method.BCDBCDCBDBCD-None (OT[E8Whether (not) to generate bindings for the given struct.KCanonical name for the type of a callback type embedded in a struct field.rFix the interface names of callback fields in the struct to correspond to the ones that we are going to generate.FFix the interface names of callback fields in an APIStruct to correspond to the ones that we are going to generate. If something other than an APIStruct is passed in we don't touch it.GExtract the callback types embedded in the fields of structs, and at the same time fix the type of the corresponding fields. Returns the list of APIs associated to this struct, not including the struct itself.MThe name of the type encoding the information for a field in a struct/union.2Whether a given field is an embedded struct/union.Extract a field from a struct.bWrite a field into a struct. Note that, since we cannot know for sure who will be deallocating the fields in the struct, we leave any conversions that involve pointers to the caller. What this means in practice is that scalar fields will get marshalled to/from Haskell, while anything that involves pointers will be returned in the C representation.Write a NULL" into a field of a struct of type Ptr.Name for the getter functionName for the setter functionName for the clear functionHaskell name for the fieldSupport for modifying fields as attributes. Returns a tuple with the name of the overloaded label to be used for the field, and the associated info type.Generate a constructor for a zero-filled struct/union of the given type, using the boxed (or GLib, for unboxed types) allocator.ISpecialization for structs of .JSpecialization for unions of .)Construct a import with the given prefix.Same as , but import a FunPtr to the symbol.KcGenerate the typeclass with information for how to allocate/deallocate unboxed structs and unions.EFGHIJKEFGHIJKHIJGFEKEFGHIJK.None (OT[LPFree a container and/or the contained elements, depending on the transfer mode.MGiven an input argument to a C callable, and its label in the code, return the list of actions relevant to freeing the memory allocated for the argument (if appropriate, depending on the ownership transfer semantics of the callable).NSame thing as freeInArg, but called in case the call to C didn't succeed. We thus free everything we allocated in preparation for the call, including args that would have been transferred to C.LMNLMNMNLLMN/None (OT[$Information about a dynamic wrapper.Haskell dynamic wrapperEName of the type synonym for the type of the function to be wrapped.OThe foreign symbol to wrap. It is either a foreign symbol wrapped in a foreign import, in which case we are given the name of the Haskell wrapper, or alternatively the information about a "dynamic" wrapper in scope.PHaskell symbol in scope.QInfo about the dynamic wrapper.R^Whether to expose closures and the associated destroy notify handlers in the Haskell wrapper.kGenerate a foreign import for the given C symbol. Return the name of the corresponding Haskell identifier.Make a wrapper for foreign FunPtrOs of the given type. Return the name of the resulting dynamic Haskell wrapper.VGiven an argument to a function, return whether it should be wrapped in a maybe type (useful for nullable types). We do some sanity checking to make sure that the argument is actually nullable (a relatively common annotation mistake is to mix up (optional) with (nullable)).5Name for the first argument in dynamic wrappers (the FunPtr).ZeThe Haskell signature for the given callable. It returns a tuple ([constraints], [(type, argname)]).[In\ arguments for the given callable on the Haskell side, together with the omitted arguments.\Out6 arguments for the given callable on the Haskell side.2Convert the result of the foreign call to Haskell.vMarshal a foreign out argument to Haskell, returning the name of the variable containing the converted Haskell value.Convert the list of out arguments to Haskell, returning the names of the corresponding variables containing the marshaled values.3Invoke the given C function, taking care of errors.@Return the result of the call, possibly including out arguments.:Generate a Haskell wrapper for the given foreign function.FGenerate the body of the Haskell wrapper for the given foreign symbol.]{caller-allocates arguments are arguments that the caller allocates, and the called function modifies. They are marked as outA argumens in the introspection data, we sometimes treat them as inout| arguments instead. The semantics are somewhat tricky: for memory management purposes they should be treated as "in" arguments, but from the point of view of the exposed API they should be treated as "out" or "inout". Unfortunately we cannot always just assume that they are purely "out", so in many cases the generated API is somewhat suboptimal (since the initial values are not important): for example for g_io_channel_read_chars the size of the buffer to read is determined by the caller-allocates argument. As a compromise, we assume that we can allocate anything that is not a TCArray of length determined by an argument.!Some debug info for the callable.^(Generate a wrapper for a known C symbol.LFor callbacks we do not need to keep track of which arguments are closures._|Generate a wrapper for a dynamic C symbol (i.e. a Haskell function that will invoke its first argument, which should be a FunPtru of the appropriate type). The caller should have created a type synonym with the right type for the foreign symbol.5OPQRSTUVWXYZ[\]^_OPQRSTUVWXYZ[\]^_^_OPQRSTUYXZ][\VW.OPQRSTUVWXYZ[\]^_0None (OT[/Qualified name for the info for a given method.AAppropriate instances so overloaded labels are properly resolved.` Generate the  MethodList> instance given the list of methods for the given named type.a Generate the  MethodInfo( type and instance for the given method.bkGenerate a method info that is not actually callable, but rather gives a type error when trying to use it.`ab`ab`ab`ab1None (OT[wGenerate the type synonym for the prototype of the callback on the C side. Returns the name given to the type synonym.Wrap the Haskell cb\ callback into a foreign function of the right type. Returns the name of the wrapped value.Generator of closures3A simple wrapper that drops every closure argument.d@Return the name for the signal in Haskell CamelCase conventions.cdecdeecdcde2None (OT[f+Generate the overloaded signal connectors: Clicked,  ActivateLink, ...@Qualified name for the "(sigName, info)" tag for a given signal.<Generate the given signal instance for the given API object.g/Signal instances for (GObject-derived) objects.h Signal instances for interfaces.fghfghghffgh3None (OT[ Generate wrapper for structures.Generated wrapper for unions.When parsing the GIR file we add the implicit object argument to methods of an object. Since we are prepending an argument we need to adjust the offset of the length arguments of CArrays, and closure and destroyer offsets.>Generate the code for a given API in the corresponding module.i     j>ij>iji     j4None (OT[ Generate the PkgInfog module, listing the build information for the module. We include in particular the versions for the  `pkg-config` dependencies of the module.MParse the set of flags given to configure into flags for the code generator.A convenience helper for @, such that bindings for the given module are generated in the  configure step of cabal.kThe entry point for Setup.hs files in bindings.nameversionverboseoverrides file output dir previous knameversionverboseoverrides file output dirkkk<=>?@ABCDEFGHIJKLMNOPQRSTUUVWXYZ[\]^_`abcdefghijklmnop q q r s t u v w x y z { | } ~                                                     !"##$%&'()**+,-./0123456789::;<=>?@ABCDEFGHIJKLLMNOPQRSTUUVWXYZ[\]^_`abaccdefghijkklmnopqrstuvwxxyz{|}~  !!!!!!!!!!!"""""""""""""############################################################################# # # # # #########$$$%%%%%&& &!&"&#&$&%&&&'&(')'*'+','-'.'/'0'1'2'3'4'5'6'7'8'9':'7(;(;(<(=(2(>(?(@(A(B(C(D(E(F(G(H(I(J(K(L(M(N(O(P(Q(R(S(T(U(V(W(X(Y(Z([(\(](^(_(`(a)b*c*d+e,f,g,h-i-j-k-l-m-n-o.p.q.r/s/t/u/v/w/x/y/z/{/|/}/~/////0001112223345555555555555 v              !!!!!!!!!!!!!! !!!"!#!$!%!&!'!(!)!*!+!,!-!.!/!0!1!2!3!4!5!6!7!8!!#9#:#;#<#=#>#?#@#A#B#C#D#E#F#G#H#I#JK#L#M#N#O#P#QRST#U#VWX#Y#Z#[#\#]#^#_#`#a#b#c#d#e#K#f#g#h#i#j#k#l#m#n#9#C#o$p$q$r$s$P$t$u%v%w&x&y&z&{&|&}&~&&&''((((((((((((((((((((((((((((((((((((((((((((((())))))))))****++,,,,,,,,,,,,,----------------.............///////////////////////////////// / / / 0 0111111111111122233333 3!3"3#3$3%3&3'3(4)44*+,-4./&haskell-gi-0.20-FagcbYOt6FSK6ziQ0JN2v1Data.GI.CodeGen.UtilData.GI.CodeGen.ProjectInfoData.GI.CodeGen.PkgConfigData.GI.CodeGen.GTypeData.GI.CodeGen.LibGIRepositoryData.GI.GIR.ParserData.GI.GIR.XMLUtilsData.GI.GIR.RepositoryData.GI.GIR.DocumentationData.GI.GIR.DeprecationData.GI.GIR.BasicTypesData.GI.GIR.EnumData.GI.GIR.FlagsData.GI.GIR.TypeData.GI.GIR.ConstantData.GI.CodeGen.TypeData.GI.GIR.ArgData.GI.GIR.CallableData.GI.GIR.CallbackData.GI.GIR.FieldData.GI.GIR.FunctionData.GI.GIR.SignalData.GI.GIR.MethodData.GI.GIR.PropertyData.GI.GIR.InterfaceData.GI.GIR.ObjectData.GI.GIR.AllocationData.GI.GIR.StructData.GI.GIR.UnionData.GI.GIR.AliasData.GI.CodeGen.APIData.GI.CodeGen.FixupsData.GI.CodeGen.OverridesData.GI.CodeGen.ConfigData.GI.CodeGen.CodeData.GI.CodeGen.CabalData.GI.CodeGen.GObjectData.GI.CodeGen.InheritanceData.GI.CodeGen.SymbolNamingData.GI.CodeGen.ConversionsData.GI.CodeGen.ConstantData.GI.CodeGen.EnumFlags Data.GI.CodeGen.OverloadedLabelsData.GI.CodeGen.PropertiesData.GI.CodeGen.StructData.GI.CodeGen.TransferData.GI.CodeGen.Callable!Data.GI.CodeGen.OverloadedMethodsData.GI.CodeGen.Signal!Data.GI.CodeGen.OverloadedSignalsData.GI.CodeGen.CodeGenData.GI.CodeGen.CabalHooksPaths_haskell_giGI.SymbolNamingescapedArgName System.Infoos Data.VersionVersionpadTo withCommentprime parenthesizetshowterrorucFirstlcFirstmodifyQualifiedhomepageauthors maintainerslicensedefaultExtensionsotherExtensions ghcOptionsdefaultLanguage standardDepscategory licenseText tryPkgConfigpkgConfigGetVersion+haskell-gi-base-0.20-BpB8aI9ZvCq2BmACjGP5gzData.GI.Base.GTypeGType FieldInfofieldInfoOffset girRequiregirStructFieldInfogirUnionFieldInfo girLoadGType$fBoxedObjectBaseInfogtypeIsA gtypeIsBoxed(xml-conduit-1.3.5-CdrNIja06U36ZW4ChmLDM9Text.XMLElementGIRXMLNamespace GLibGIRNSCGIRNS nodeToElement subelements localNamechildElemsWithLocalNamechildElemsWithNSNamefirstChildWithLocalNamegetElementContent lookupAttrlookupAttrWithNamespace xmlLocalName xmlNSName$fShowGIRXMLNamespacereadGiRepository DocumentationdocTextqueryDocumentation$fShowDocumentation$fEqDocumentationDeprecationInfodeprecatedPragmaqueryDeprecated$fShowDeprecationInfo$fEqDeprecationInfoType TBasicTypeTErrorTVariant TParamSpecTCArrayTGArray TPtrArray TByteArrayTGListTGSListTGHash TInterface BasicTypeTBooleanTIntTUIntTLongTULongTInt8TUInt8TInt16TUInt16TInt32TUInt32TInt64TUInt64TFloatTDoubleTUniCharTGTypeTUTF8 TFileNameTPtrTIntPtrTUIntPtrAliasTransferTransferNothingTransferContainerTransferEverythingName namespacename$fEqName $fOrdName $fShowName$fShowTransfer $fEqTransfer $fOrdTransfer $fOrdAlias $fEqAlias $fShowAlias $fEqBasicType$fShowBasicType$fOrdBasicType$fEqType $fShowType $fOrdTypeParser ParseError parseErrorcurrentNamespaceresolveQualifiedTypeNamegetAttrgetAttrWithNamespace queryAttrqueryAttrWithNamespace optionalAttr qualifyName parseNameparseDeprecationparseDocumentation parseIntegral parseBoolparseChildrenWithLocalNameparseAllChildrenWithLocalNameparseChildrenWithNSName runParser$fShowParseContext Enumeration enumValues errorDomain enumTypeInitenumStorageBytesenumDeprecated parseEnum$fShowEnumerationFlags parseFlags $fShowFlags parseTypeparseOptionalType parseCTypeConstant constantType constantValueconstantDeprecated parseConstant$fShowConstantconioptrfunptrmaybeTArgargCNameargType direction mayBeNullargScope argClosure argDestroyargCallerAllocatestransferScopeScopeTypeInvalid ScopeTypeCallScopeTypeAsyncScopeTypeNotified Direction DirectionIn DirectionOutDirectionInout parseTransferparseArg$fShowDirection $fEqDirection$fOrdDirection $fShowScope $fEqScope $fOrdScope $fShowArg$fEqArg$fOrdArgCallable returnTypereturnMayBeNullreturnTransferargs skipReturncallableDeprecated parseCallable$fShowCallable $fEqCallableCallback parseCallback$fShowCallback FieldInfoFlagField fieldName fieldVisible fieldTypefieldIsPointer fieldCallback fieldOffset fieldFlagsfieldDeprecated parseFields$fShowFieldInfoFlag $fShowFieldFunctionfnSymbolfnThrows fnMovedTo fnCallable parseFunction$fShowFunctionSignalsigName sigCallable sigDeprecated parseSignal $fShowSignal $fEqSignalMethod methodName methodSymbol methodThrows methodType methodMovedTomethodCallable MethodType ConstructorMemberFunctionOrdinaryMethod parseMethod$fEqMethodType$fShowMethodType $fEqMethod $fShowMethodPropertypropNamepropType propFlagspropReadNullablepropWriteNullable propTransferpropDeprecated PropertyFlagPropertyReadablePropertyWritablePropertyConstructPropertyConstructOnly parseProperty$fShowPropertyFlag$fEqPropertyFlag$fShowProperty $fEqProperty Interface ifTypeInitifPrerequisites ifProperties ifSignals ifMethods ifDeprecatedparseInterface$fShowInterfaceObject objParent objTypeInit objTypeName objInterfaces objDeprecatedobjDocumentation objMethods objProperties objSignals parseObject $fShowObject AllocationOpAllocationOpUnknownAllocationInfo allocCalloc allocCopy allocFreeunknownAllocationInfo$fShowAllocationOp$fEqAllocationOp$fShowAllocationInfoStruct structIsBoxedstructAllocationInfostructTypeInit structSizegtypeStructForstructIsDisguised structFields structMethodsstructDeprecatedstructDocumentation parseStruct $fShowStructUnion unionIsBoxedunionAllocationInfo unionSize unionTypeInit unionFields unionMethodsunionDeprecated parseUnion $fShowUniondocumentListAliasesAPIAPIConst APIFunction APICallbackAPIEnumAPIFlags APIInterface APIObject APIStructAPIUnionGIRRule GIRSetAttr GIRNameTag GIRPlainNameGIRRegex GIRNodeSpecGIRNamedGIRType GIRTypedNameGIRPathGIRInfo girPCPackages girNSName girNSVersiongirAPIs girCTypesloadRawGIRInfo loadGIRInfo$fShowGIRNameTag$fShowGIRNodeSpec $fShowGIRRule $fShowAPI$fShowGIRNamespace$fShowGIRInfoParse $fShowGIRInfodropMovedItemsguessPropertyNullability Overrides pkgConfigMapcabalPkgVersionnsChooseVersion girFixupsparseOverridesFilefilterAPIsAndDeps$fMonoidOverrides$fShowOverrides$fShowParserState $fShowOSTypeConfigmodNameverbose overridescgFlags CodeGenFlagscgOverloadedPropertiescgOverloadedSignalscgOverloadedMethods$fShowCodeGenFlags $fShowConfig ExcCodeGenCodeGen BaseCodeGenCGErrorCGErrorNotImplementedCGErrorBadIntrospectionInfoCGErrorMissingInfo BaseVersionBase47Base48 ModuleFlagImplicitPrelude ModuleInfo moduleName moduleCodebootCode submodules moduleDeps moduleExportsqualifiedImports modulePragmas moduleGHCOpts moduleFlags moduleDoc moduleMinBase ModuleNameCodeNoCodeLineIndentSequenceGroupshowBaseVersionrecurseWithAPIs submodule handleCGExcgetDepsconfig currentModulegetAPIsgenCode evalCodeGenregisterNSDependencytransitiveModuleDeps qualifiedminBaseVersiondescribeCGErrornotImplementedError badIntroErrormissingInfoErrorfindAPIgetAPI findAPIByNamelineblineblankindentgrouphsBoot exportModuleexportToplevel exportDecl exportMethodexportProperty exportSignalsetLanguagePragmas setGHCOptionssetModuleFlagssetModuleMinBaseaddModuleDocumentation codeToTextwriteModuleTreelistModuleTree $fMonoidCode$fEqCode $fShowCode$fShowExportType$fEqExportType$fOrdExportType $fShowExport $fEqExport $fOrdExport$fShowModuleFlag$fEqModuleFlag$fOrdModuleFlag$fShowBaseVersion$fEqBaseVersion$fOrdBaseVersion $fShowCGError cabalConfigsetupHsgenCabalProject isGObject nameIsGObject apiIsGObjectisInitiallyUnownedapiIsInitiallyUnowned instanceTreefullObjectPropertyListfullInterfacePropertyListfullObjectSignalListfullInterfaceSignalListfullObjectMethodListfullInterfaceMethodList$fInheritableMethod$fInheritableSignal$fInheritablePropertyclassConstrainttypeConstraint callbackCTypecallbackHTypeWithClosurescallbackDynamicWrappercallbackHaskellToForeign$callbackHaskellToForeignWithClosurescallbackDropClosurescallbackWrapperAllocatorcallbackClosureGenerator lowerName upperName qualifiedAPIqualifiedSymbolsubmoduleLocationnoNamehyphensToCamelCaseunderscoresToCamelCase TypeAllocInfotypeAllocInfoIsBoxedtypeAllocInfoSizePMIdapplymapCliteral genConversioncomputeArrayLengthconverthToFfToH unpackCArray argumentType haskellTypecallableHasClosuresisoHaskellType foreignType getIsScalar typeAllocInfo isManaged typeIsPtrmaybeNullConvertnullPtrForTypetypeIsNullableelementTypeAndMap elementType elementMap$fIsStringConstructor $fMonadFree$fApplicativeFree $fFunctorFree$fEqConstructor$fShowConstructor $fShowMap $fShowFExpr$fFunctorFExpr genConstantgenEnumgenFlagsgenOverloadedLabelsgenObjectPropertiesgenInterfacePropertiesgenNamespacedPropLabels ignoreStruct fixAPIStructsextractCallbacksInStructgenStructOrUnionFields genZeroStruct genZeroUnion genWrappedPtrfreeContainerType freeInArgfreeInArgOnError ForeignSymbolKnownForeignSymbolDynamicForeignSymbolExposeClosures WithClosuresWithoutClosureshOutType wrapMaybeinArgInterfacesarrayLengthsMap arrayLengthscallableSignaturecallableHInArgscallableHOutArgsfixupCallerAllocatesgenCCallableWrappergenDynamicCallableWrapper genMethodList genMethodInfogenUnsupportedMethodInfo genCallbacksignalHaskellName genSignalgenOverloadedSignalConnectorsgenObjectSignalsgenInterfaceSignals genFunction genModulesetupHaskellGIBindingcatchIOversionbindirlibdirdatadir libexecdir sysconfdir getBinDir getLibDir getDataDir getLibexecDir getSysconfDirgetDataFileName#text-1.2.2.1-9Yh8rJoh8fO2JMLWffT3QsData.Text.InternalTextTypelibBaseInfo girFindByName getFieldInfo girSymbol GTypeInit gtypeInitg_typelib_symbolg_union_info_get_fieldg_union_info_get_n_fieldsg_union_info_get_sizeg_struct_info_get_fieldg_struct_info_get_n_fieldsg_struct_info_get_sizeg_base_info_get_nameg_field_info_get_offsetg_irepository_find_by_nameg_irepository_requirec_g_base_info_gtype_get_type g_type_is_a gtypeBoxed girNamespace&xml-types-0.3.6-LXICdFNM88rEPxfvCuWvy2Data.XML.TypessplitOngirFile girDataDirs girFilePathgirFile'deprecatedSinceVersiondeprecationMessage ParseContextelementDescriptionnameInCurrentNS withElement ctxNamespace treePositioncurrentElement knownAliasesparseEnumMemberextractEnumStorageBytesget_storage_bytesnameToBasicTypeparseArrayInfoparseCArrayTypeparseHashTable parseListTypeparseFundamentalType parseTypeInfobaseGHC.BaseNothingparseTypeElementsparseCTypeNameparseCTypeNameElements queryTypeghc-prim GHC.TypesIOMaybe parseScopeparseDirection parseArgsparseOneReturn parseReturn parseFieldFieldIsReadableFieldIsWritableparseInstanceArgnamespaceListAliases parseAliases parseAliasdocumentListIncludesloadDependencies loadGIRFile toGIRInfogtypeInterfaceListPrereqsfixupInterface fixupStructfixupStructIsBoxedfixupStructSizeAndOffsets fixupUnionfixupUnionSizeAndOffsets fixupField fixupGIRInfosfixupGIRDocumentfixupGIR girSetAttrlookupAndMatch specMatch GIRInfoParse girIPPackage girIPIncludesgirIPNamespaces GIRNamespacensName nsVersionnsAPIsnsCTypesg_type_interface_prerequisitesparseAPIparseNSElementparseNamespace parseInclude parsePackageparseRootElementemptyGIRInfoParseparseGIRDocumentfilterMovedMethodsguessObjectPropertyNullability!guessInterfacePropertyNullabilityguessNullabilityguessReadNullabilityguessWriteNullability findMethodOSType ParserState currentNSflagsFalse ignoredElems ignoredAPIs sealedStructs allocInfodefaultOverridesemptyParserStategetNS withFlags parseOneLine parseIgnore parseSealparseAllocInfoparseKeyValuePairparsePkgConfigNameparseNsVersionparseCabalPkgVersion parseSetAttr parsePathSpecparseGIRNameTag parseNodeSpec parseXMLNamecheckOS parseVersioncheckPkgConfigVersionparseIf parseEndif filterMethodsfilterAllocInfo filterOneAPI filterAPIsLinuxOSXWindows CodeGenConfighConfig loadedAPIs ExportTypeExportTypeDeclExportToplevel ExportMethodExportProperty ExportSignal ExportModuleExport exportType exportSymbol SymbolNameHaddockSection emptyModule runCodeGen cleanInfomconcat recurseCGmergeInfoState mergeInfo addSubmodule submodule' unwrapCodeGentransformers-0.5.2.0Control.Monad.Trans.Except runExceptTqualifiedImportqualifiedModuleNameGHC.ErrerrortellCodeexport paddedLinecommaformatExportedModulesformatToplevelformatTypeDecls formatSection formatMethodsformatProperties formatSignalsformatExportListlanguagePragmasstandardFields moduleHaddock modulePrelude importDeps moduleImportswriteModuleInfo genHsBootmoduleNameToPath dotModuleNameDeps minorVersionhaskellGIMinorgiModuleVersion giNextMinorreadMajorMinorhaskellGIAPIVersiontypeDoParentSearchapiDoParentSearch getParentremoveDuplicates InheritableifInheritablesobjInheritablesiNameapiInheritablesfullAPIInheritableListfullObjectInheritableListfullInterfaceInheritableListsanitizeescapeReserved FFIPtrTypeFFIPtr FFIFunPtrFreeliftFhashTableKeyMappingshashTablePtrPackers typePtrTypeMapMapFirst MapSecond ConverterFExprApplyMapCLiteralPuremapNamemonadicMapNamemapFirst mapSecond hObjectToF hVariantToF hParamSpecToF hBoxedToF hStructToF hUnionToFhToF'getForeignConstructorhToF_PackedTypehToF_PackGHashTableboxedForeignPtr suForeignPtrstructForeignPtrunionForeignPtr fObjectToH fCallbackToH fVariantToH fParamSpecToHfToH'getHaskellConstructorfToH_PackedTypefToH_UnpackGHashTablehaskellBasicTypeforeignBasicTypePatternSynonym assignValue showBasicType PSExpressionPSViewPSTypePSValue SimpleSynonymExplicitSynonym writePatterngenErrorDomaingenEnumOrFlags genBoxedEnum genBoxedFlagsfindOverloadedgenOverloadedLabelattrType hPropNameinfoTypegenPlaceholderProperty propTypeStrgenPropertySettergenPropertyGettergenPropertyConstructorgenPropertyClearaccessorOrUndefinedgenOneProperty genPropertiesgenNamespacedAttrLabelsfieldCallbackTypefixCallbackStructFields isEmbeddedbuildFieldReaderbuildFieldWriterbuildFieldClear fieldGetter fieldSetter fieldClearfName genAttrInfo genZeroSUprefixedForeignImportprefixedFunPtrImportbuildFieldAttributes basicFreeFnbasicFreeFnOnError freeContainerfreeElem fullyFreefullyFreeOnError freeElementsfreeGHashTablefreeElementsOnErrorfreeIn freeInOnErrorfreeInGHashTablefreeOutDynamicWrapperdynamicWrapper dynamicTypemkForeignImportmkDynamicImportfunPtr convertResult convertOutArgconvertOutArgsinvokeCFunction returnResultgenHaskellWrappergenWrapperBodygenCallableDebugInfoforgetClosuresclassifyDuplicatesreadInArrayLengthsreadInArrayLengthcheckInArrayLength skipRetVal freeInArgs' freeInArgsfreeInArgsOnErrorprepareArgForCall prepareInArgprepareInCallbackprepareInoutArg prepareOutArgconvertOutCArrayreadOutArrayLengths touchInArgclosureToCallbackMapprepareClosuresfreeCallCallbacksformatHSignaturemethodInfoNamegenMethodResolvergenCCallbackPrototypegenWrappedCallback genClosuregenDropClosuresgenHaskellCallbackPrototypegenCallbackWrapperFactoryconvertNullableconvertCallbackInCArray saveOutArggenCallbackWrappersignalInfoName genInstancefindSignalNames genStructgenUnion fixMethodArgs genAPIModulegenBoxedObjectfixConstructorReturnType genMethodgenGObjectCasts genObject genInterfacesymbolFromFunctiongenAPI genModule' genPkgInfoconfCodeGenHookCabal-1.24.0.0Distribution.Simple.UserHooksconfHookConfHook