Dominaezzz
09/18/2018, 5:54 PMprivate val glShaderSource: CPointer<CFunction<(GLuint, GLsizei, CPointer<CPointerVar<GLcharVar>>?, CPointer<GLintVar>?) -> Unit>> get() = glfwGetProcAddress("glShaderSource")!!.reinterpret()
With another function to call it properly of course.
Since, I'm not relying on c_interop to do any magic for me at the border between Kotlin and C. What types are actually allowed at the border? Everything in kotlinx.cinterop.*
?olonho
09/19/2018, 7:59 AM