1 // Use g_new() & friends where that makes obvious sense
10 -g_try_malloc(sizeof(T))
20 -g_try_malloc0(sizeof(T))
26 -g_malloc(sizeof(T) * (n))
32 -g_try_malloc(sizeof(T) * (n))
38 -g_malloc0(sizeof(T) * (n))
44 -g_try_malloc0(sizeof(T) * (n))
50 -g_realloc(p, sizeof(T) * (n))
56 -g_try_realloc(p, sizeof(T) * (n))
74 -(T *)g_renew(T, p, n)