Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. genDynamicCallableWrapper :: Name -> Text -> Callable -> ExcCodeGen Text

    haskell-gi Data.GI.CodeGen.Callable

    Generate a wrapper for a dynamic C symbol (i.e. a Haskell function that will invoke its first argument, which should be a FunPtr of the appropriate type). The caller should have created a type synonym with the right type for the foreign symbol.

  2. signatureCallable :: Signature -> Callable

    haskell-gi Data.GI.CodeGen.Callable

    No documentation available.

  3. TypeAlloc :: Text -> Int -> TypeAllocInfo

    haskell-gi Data.GI.CodeGen.Conversions

    No documentation available.

  4. data TypeAllocInfo

    haskell-gi Data.GI.CodeGen.Conversions

    Information on how to allocate a type: allocator function and size of the struct.

  5. callableHasClosures :: Callable -> Bool

    haskell-gi Data.GI.CodeGen.Conversions

    Whether the callable has closure arguments (i.e. "user_data" style arguments).

  6. typeAllocInfo :: Type -> CodeGen e (Maybe TypeAllocInfo)

    haskell-gi Data.GI.CodeGen.Conversions

    Information on how to allocate the given type, if known.

  7. typeIsCallback :: Type -> CodeGen e Bool

    haskell-gi Data.GI.CodeGen.Conversions

    Check whether the given type corresponds to a callback.

  8. fixCallbackUserData :: (Name, API) -> (Name, API)

    haskell-gi Data.GI.CodeGen.Fixups

    The last argument of callbacks is often a user_data argument, but currently gobject-introspection does not have an annotation representing this. This is generally OK, since the gir generator will mark these arguments as (closure) if they are named user_data, and we do the right things in this case, but recently there has been a push to "fix" these annotations by removing them without providing any replacement, which breaks the bindings. See https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/450 Here we try to guess which arguments in callbacks are user_data arguments.

  9. ExternalLink :: Link -> Token

    haskell-gi Data.GI.CodeGen.GtkDoc

    No documentation available.

  10. fullInterfaceSignalList :: Name -> Interface -> CodeGen e [(Name, Signal)]

    haskell-gi Data.GI.CodeGen.Inheritance

    List all signals defined for an interface, including those defined by its prerequisites.

Page 347 of many | Previous | Next