API Version: 2.0
Library Version: 2.76
Generated by gi-docgen 2023.2
gpointer g_malloc ( gsize n_bytes )
Allocates n_bytes bytes of memory. If n_bytes is 0 it returns NULL.
n_bytes
NULL
If the allocation fails (because the system is out of memory), the program is terminated.
Type: gsize
gsize
The number of bytes to allocate.
Type: gpointer
gpointer
A pointer to the allocated memory.