Attempts to allocate
n_structs elements of type
struct_type, and returns
NULL on failure. Contrast with
g_new(), which aborts the program on failure.
The returned pointer is cast to a pointer to the given type.
The function returns
n_structs is 0 of if an overflow occurs.