CPointer and CFunction how to invoke the method

I have a basic question with cinterop

var testFun:CPointer<CFunction<() -> GLuint>>? @CCall(“remoteapp_getter”) external get

How should we invoke this method named testFun in kotlin

testFun?.invoke()

this seems to be working

1 Like

Found another solution, better than .invoke()

testFun!!()