I am trying to get basic custom shaders working on a LibGDX project. When I try to generate the VAO it says that glGenVertexArrays() requires an int (n) and an IntBuffer (buffer). I know the IntBuffer is how you access the allocated buffer space, but I honestly have no idea what is supposed to go into n. In every example I have found while searching around, glGenVertexArrays() is a method with no arguments and just returns the int index for the VAO, which you can use to set it up, bind to it, etc.
How am I supposed to use this to set up a VAO and why is my method signature different than all the other LWJGL examples I have looked at?