fix the resolver mess, and add glut to the build
authorAndy Wingo <wingo@pobox.com>
Tue, 5 Feb 2013 09:30:41 +0000 (10:30 +0100)
committerAndy Wingo <wingo@pobox.com>
Tue, 5 Feb 2013 10:14:46 +0000 (11:14 +0100)
commit25072f02f0a57f0a5adab2a662d89651d70eb439
treeff9653606d37b612ba66d9b3455a89cc03a9eaf9
parent167c96352b9557fca02741f8b96af4ec82b5c1a2
fix the resolver mess, and add glut to the build

* maint/update-low-level-bindings (write-scm): Update to use
  module-specific runtimes, and to generate define-FOO-procedure forms.
  This way modules can control how their symbols are loaded.

* figl/runtime.scm: Remove the default resolver; instead have
  define-foreign-procedure take a resolver form.

* figl/gl/runtime.scm:
* figl/glu/runtime.scm:
* figl/glut/runtime.scm:
* figl/glx/runtime.scm: New support modules.

* figl/gl/low-level.scm:
* figl/glu/low-level.scm:
* figl/glx/low-level.scm: Regenerate.

* figl/glut/low-level.scm: Change to use define-glut-procedure, and to
  delegate all the resolver business to the runtime module.

* Makefile.am: Add new files, and add glut to the build.
12 files changed:
Makefile.am
figl/gl/low-level.scm
figl/gl/runtime.scm [new file with mode: 0644]
figl/glu/low-level.scm
figl/glu/runtime.scm [new file with mode: 0644]
figl/glut/low-level.scm
figl/glut/runtime.scm [new file with mode: 0644]
figl/glx.scm
figl/glx/low-level.scm
figl/glx/runtime.scm [new file with mode: 0644]
figl/runtime.scm
maint/update-low-level-bindings