Alaric Snell-Pym scripsit:
> >No. The idea is this:
> >
> >(module open-gl
> > (export ...)
> > (cond-expand
> > (has-open-gl (include "open-gl-glue.scm"))
> > (else (include "open-gl-emulator.scm"))))
>
> Ah, but where in this appears your import of the OpenGL library, if
> it's available? :-)
The actual library is written in C, and I assume we don't import C
source into Scheme. The "open-gl-glue.scm" would be Scheme code
that uses the FFI to talk to OpenGL itself.
--
Go, and never darken my towels again! John Cowan
--Rufus T. Firefly http://ccil.org/~cowan
_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss