handle families of functions with different signatures
authorAndy Wingo <wingo@pobox.com>
Fri, 1 Feb 2013 15:20:48 +0000 (16:20 +0100)
committerAndy Wingo <wingo@pobox.com>
Fri, 1 Feb 2013 15:20:48 +0000 (16:20 +0100)
commitbb894c9dabe86cd55982a19f837e992b879a5488
tree64a01d01484953ad066edd9b341762b3541c8203
parent0e9b22c23724d42812168211310d8e069ff925b4
handle families of functions with different signatures

* figl/parse.scm (gl-definition): Change prototype field to prototypes.
  (xml-funcprototypes): New func, replaces xml-prototype.
  (string->gl-type): Trim spaces.  Always make a symbol (what was going
  on here before with the double quote?)
  (parse-prototypes): Extract all prototypes.  Attempt to elide
  redundant procedures.
  (parse-gl-definitions, xml->definition): Don't generate definitions
  for man pages without prototypes.

* maint/update-low-level-bindings (write-scm): Adapt format of
  define-gl-procedure, and generate a correct export list.

* doc/low-level-gl.texi:
* doc/low-level-glu.texi:
* doc/low-level-glx.texi:
* figl/low-level/gl.scm:
* figl/low-level/glu.scm:
* figl/low-level/glx.scm: Update generated files.

* figl/low-level/support.scm (define-gl-procedure): Adapt to make
  multiple definitions.
doc/low-level-gl.texi
doc/low-level-glu.texi
doc/low-level-glx.texi
figl/low-level/gl.scm
figl/low-level/glu.scm
figl/low-level/glx.scm
figl/low-level/support.scm
figl/parse.scm
maint/update-low-level-bindings