Doing a bit more work with OpenGL-ctypes this evening. Mostly focusing on the array datatype handling. Basically what I want to allow is that any number of array-like datatypes can be registered with the system so that they can be passed to (and potentially returned from) functions expecting POINTER( basetype ) arguments.
Also tweaked the code-generator so that it only declares a pointer an array type if the base data-type is something we know how to handle as an array (i.e. a float, int, uint, short, etceteras, not a structure or a void).
Pingbacks are closed.