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. sigCallable :: Signal -> Callable

    haskell-gi Data.GI.CodeGen.API

    No documentation available.

  2. structAllocationInfo :: Struct -> AllocationInfo

    haskell-gi Data.GI.CodeGen.API

    No documentation available.

  3. unionAllocationInfo :: Union -> AllocationInfo

    haskell-gi Data.GI.CodeGen.API

    No documentation available.

  4. unknownAllocationInfo :: AllocationInfo

    haskell-gi Data.GI.CodeGen.API

    A convenience function, filling in all the allocation info to unknown.

  5. module Data.GI.CodeGen.Callable

    No documentation available.

  6. callableHInArgs :: Callable -> ExposeClosures -> ([Arg], [Arg])

    haskell-gi Data.GI.CodeGen.Callable

    In arguments for the given callable on the Haskell side, together with the omitted arguments.

  7. callableHOutArgs :: Callable -> [Arg]

    haskell-gi Data.GI.CodeGen.Callable

    Out arguments for the given callable on the Haskell side.

  8. callableSignature :: Callable -> ForeignSymbol -> ExposeClosures -> ExcCodeGen Signature

    haskell-gi Data.GI.CodeGen.Callable

    The Haskell signature for the given callable. It returns a tuple ([constraints], [(type, argname)]).

  9. fixupCallerAllocates :: Callable -> Callable

    haskell-gi Data.GI.CodeGen.Callable

    caller-allocates arguments are arguments that the caller allocates, and the called function modifies. They are marked as out 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.

  10. genCCallableWrapper :: Name -> Text -> Callable -> ExcCodeGen ()

    haskell-gi Data.GI.CodeGen.Callable

    Generate a wrapper for a known C symbol.

Page 346 of many | Previous | Next