alloc

fun alloc(): List

Allocates space for one #GList element. It is called by g_list_append(), g_list_prepend(), g_list_insert() and g_list_insert_sorted() and so is rarely used on its own.

Return

a pointer to the newly-allocated #GList element