generator: Refactor code for Perl bindings.
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 21 Oct 2010 12:59:36 +0000 (13:59 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 23 Oct 2010 12:13:46 +0000 (13:13 +0100)
commit26bc340ea16479164ffee3e05610b6f857cd6c4b
tree2f0f218bc1af0c3fbf89cab09c4711784e4118f6
parent7b941097a11aa884f003229b16620fce4f896df7
generator: Refactor code for Perl bindings.

This simplifies the code that generates the Perl bindings
by removing repeated sections.

Cherry picked from ea6209198026080a9d9e588283e83aa9c4e2f177
and backported to stable-1.2.
src/generator.ml