TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
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.
the number of bytes to allocate
a pointer to the allocated memory
Allocates
n_bytesbytes of memory. Ifn_bytesis 0 it returnsnull.If the allocation fails (because the system is out of memory), the program is terminated.