free package:gi-glib

Frees the memory pointed to by mem. If you know the allocated size of mem, calling freeSized may be faster, depending on the libc implementation in use. Starting from GLib 2.78, this may happen automatically in case a GCC compatible compiler is used with some optimization level and the allocated size is known at compile time (see <https://gcc.gnu.org/onlinedocs/gcc/Object-Size-Checking.html documentation of `__builtin_object_size()`> to understand its caveats). If mem is Nothing it simply returns, so there is no need to check mem against Nothing before calling this function.
Frees the memory pointed to by mem, assuming it is has the given size. If mem is Nothing this is a no-op (and size is ignored). It is an error if size doesn’t match the size passed when mem was allocated. size is passed to this function to allow optimizations in the allocator. If you don’t know the allocation size, use free instead. In case a GCC compatible compiler is used, this function may be used automatically via free if the allocated size is known at compile time, since GLib 2.78. Since: 2.76
Declares a type of function which takes an arbitrary data pointer argument and has no return value. It is not currently used in GLib or GTK.
Type for the callback on the (unwrapped) C side.
Type for the callback on the (unwrapped) C side.
Type for the callback on the (unwrapped) C side.
No description available in the introspection data.
No description available in the introspection data.
No description available in the introspection data.
A simple wrapper that ignores the closure arguments.
A simple wrapper that ignores the closure arguments.
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
Wrap the callback into a GClosure.
Wrap the callback into a GClosure.
Wrap the callback into a GClosure.
Generate a function pointer callable from C code, from a C_FreeFunc.
Generate a function pointer callable from C code, from a C_IOFuncsIoFreeFieldCallback.
Generate a function pointer callable from C code, from a C_MemVTableFreeFieldCallback.
A convenience synonym for Nothing :: Maybe FreeFunc.
A convenience synonym for Nothing :: Maybe FreeFunc_WithClosures.
A convenience synonym for Nothing :: Maybe IOFuncsIoFreeFieldCallback.
A convenience synonym for Nothing :: Maybe MemVTableFreeFieldCallback.