typeCheckInstanceCastOrThrow
fun <T : CPointed> typeCheckInstanceCastOrThrow(instance: TypeInstance, gType: GType): CPointer<T>
Content copied to clipboard
Checks if an instance is of gType, otherwise throws TypeCastException