Chris Robinson chris.kcat@gmail.com writes:
After the previous attempt by Nick Burns was more or less abandoned, I decided to try making an acceptable version myself. This is the current result.
I used the original version Nick had and got rid a lot of the macro abuse. It still uses macros to declare/define and load the functions, but it isn't nearly as bad as it was. I know AJ isn't very thrilled with macro use, but I believe the current method is a nice balance between flexibility and clarity.
Sorry, but it's still very bad. If you don't want to type all the functions by hand, you should write a perl script to generate them like OpenGL does. Either way the end result should look as far as possible like normal C code.