> that it could be wiser to write a semi 
> automatic tool for making guile bindings from C headers

For gl.c in the snd (or libxm) tarball, that's tools/makegl.scm,
using the predigested header info in gldata.scm.  gl.c needs
only xen.[ch], I think, so you could easily extract it from Snd.
There's a similar (but much fancier) script for the Glib/Gdk/Gtk
bindings in xg.c: makexg.scm which uses xgdata.scm. 
snd-gl.scm has a few examples of using openGL in Guile.
I just remembered, you'll also need mus-config.h.




Reply via email to