> On Mar 30, 2017, at 9:40 AM, Kelvin Ma <kelvinsthirt...@gmail.com> wrote: > > There are hundreds of gl functions… I have to rewrite the signatures for all > of them??
Does GLFW expose any underlying loader mechanism or cached function pointer variables underneath the macros it defines? Possibly you could access those directly. Otherwise, code generation might be your best bet. You should be able to get types like GLenum or GLint just by importing them normally, since those are purely compile-time constructs. -Joe _______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users