TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.88.0
Generated with TypeDoc via ts-for-gir v4.0.0-beta.41
Attempts to allocate n_bytes, and returns null on failure. Contrast with g_malloc(), which aborts the program on failure.
n_bytes
null
g_malloc()
number of bytes to allocate.
the allocated memory, or null.
Attempts to allocate
n_bytes, and returnsnullon failure. Contrast withg_malloc(), which aborts the program on failure.