toList

inline fun <T> CPointer<GList>.toList(noinline wrapPointer: VoidPointer.() -> T, noinline getPointer: T.() -> VoidPointer): List<T>