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
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
Found another solution, better than .invoke()
testFun!!()