Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
tryMalloc :: (HasCallStack, MonadIO m) => CSize -> m (Ptr ())gi-glib GI.GLib.Functions Attempts to allocate nBytes, and returns Nothing on failure. Contrast with malloc, which aborts the program on failure.
tryMalloc0 :: (HasCallStack, MonadIO m) => CSize -> m (Ptr ())gi-glib GI.GLib.Functions Attempts to allocate nBytes, initialized to 0's, and returns Nothing on failure. Contrast with malloc0, which aborts the program on failure. Since: 2.8
tryMalloc0N :: (HasCallStack, MonadIO m) => CSize -> CSize -> m (Ptr ())gi-glib GI.GLib.Functions This function is similar to tryMalloc0, allocating (nBlocks * nBlockBytes) bytes, but care is taken to detect possible overflow during multiplication. Since: 2.24
tryMallocN :: (HasCallStack, MonadIO m) => CSize -> CSize -> m (Ptr ())gi-glib GI.GLib.Functions This function is similar to tryMalloc, allocating (nBlocks * nBlockBytes) bytes, but care is taken to detect possible overflow during multiplication. Since: 2.24
tryRealloc :: (HasCallStack, MonadIO m) => Ptr () -> CSize -> m (Ptr ())gi-glib GI.GLib.Functions Attempts to realloc mem to a new size, nBytes, and returns Nothing on failure. Contrast with realloc, which aborts the program on failure. If mem is Nothing, behaves the same as tryMalloc.
tryReallocN :: (HasCallStack, MonadIO m) => Ptr () -> CSize -> CSize -> m (Ptr ())gi-glib GI.GLib.Functions This function is similar to tryRealloc, allocating (nBlocks * nBlockBytes) bytes, but care is taken to detect possible overflow during multiplication. Since: 2.24
dateTimeNewFromTimevalLocal :: (HasCallStack, MonadIO m) => TimeVal -> m (Maybe DateTime)gi-glib GI.GLib.Structs.DateTime Deprecated: (Since version 2.62)TimeVal is not year-2038-safe. UsedateTimeNewFromUnixLocal instead.
matchInfoFetchAll :: (HasCallStack, MonadIO m) => MatchInfo -> m [Text]gi-glib GI.GLib.Structs.MatchInfo Bundles up pointers to each of the matching substrings from a match and stores them in an array of gchar pointers. The first element in the returned array is the match number 0, i.e. the entire matched text. If a sub pattern didn't match anything (e.g. sub pattern 1, matching "b" against "(a)?b") then an empty string is inserted. If the last match was obtained using the DFA algorithm, that is using regexMatchAll or regexMatchAllFull, the retrieved strings are not that matched by sets of parentheses but that of the matched substring. Substrings are matched in reverse order of length, so the first one is the longest match. The strings are fetched from the string passed to the match function, so you cannot call this function after freeing the string. Since: 2.14
memChunkAlloc :: (HasCallStack, MonadIO m) => MemChunk -> m (Ptr ())gi-glib GI.GLib.Structs.MemChunk No description available in the introspection data.
memChunkAlloc0 :: (HasCallStack, MonadIO m) => MemChunk -> m (Ptr ())gi-glib GI.GLib.Structs.MemChunk No description available in the introspection data.