remove C interface and convert jit.gl.hap to objective-c.