type-specific wrapping and unwrapping of scheme values
authorAndy Wingo <wingo@pobox.com>
Sat, 2 Feb 2013 20:38:31 +0000 (21:38 +0100)
committerAndy Wingo <wingo@pobox.com>
Sat, 2 Feb 2013 20:38:31 +0000 (21:38 +0100)
commit93f72ad8a53530f768f6ae2562c442aaf17532e4
tree42dd50e4f5b8abf2ae391244a8f0946c168d5491
parentf53f928c1340a9aa9122e8b8f599a3c50e7e9477
type-specific wrapping and unwrapping of scheme values

* figl/runtime.scm (foreign-trampoline):
  (define-foreign-procedure):
  (define-foreign-type):
  (define-simple-foreign-type): Provide for a way for types to wrap and
  unwrap foreign values.

* figl/glx/types.scm:
* figl/glu/types.scm:
* figl/gl/types.scm: Adapt to define types with the runtime's macros.
figl/gl/types.scm
figl/glu/types.scm
figl/glx/types.scm
figl/runtime.scm