toGPointerList
fun <Error class: unknown class><<Error class: unknown class>>.toGPointerList(): List<<Error class: unknown class>>
Converts a native gpointer**
pointer into a Kotlin List of gpointer.
This function treats the array as null-terminated and processes elements until a null
is found.
Receiver
A pointer to a null-terminated array of gpointer
(gpointer**
).
Return
A List of gpointer representing the non-null contents of the native gpointer**
.
fun <Error class: unknown class><<Error class: unknown class>>.toGPointerList(size: Int): List<<Error class: unknown class>?>
Converts a native gpointer**
pointer into a Kotlin List of nullable gpointer.
This function processes exactly size elements from the array, allowing for the possibility of null values.
Receiver
A pointer to an array of gpointer
(gpointer**
).
Return
A List of nullable gpointer representing the contents of the native gpointer**
. Null elements are preserved as null
in the resulting list.
Parameters
size
The number of elements to process from the native array.