I've just done a bit of hacking to make the (Py)OpenGL.raw hierarchy a little more "normal" looking when you read the auto-generated code. There are now functions declared, the functions are then annotated with decorators to make them into wrappers (which actually replaces the original functions). Doesn't really affect how the code works, it just uses Python structures to define "functions" rather than raw data-structures. It also reduces the distribution's size by about 5%, but I doubt the 44KB matters to anyone.
[Update] and then I did even more, so the unimportant package size is now down around 12%, but more importantly, the core library is being auto-generated from headers (again), which is what I really wanted to get to, as I want that change for future work.
Pingbacks are closed.