Generate structs and struct lists generically.
authorRichard Jones <rjones@trick.home.annexia.org>
Tue, 7 Jul 2009 12:42:34 +0000 (13:42 +0100)
committerRichard Jones <rjones@trick.home.annexia.org>
Tue, 7 Jul 2009 12:42:34 +0000 (13:42 +0100)
commitd5532e9ad29b28c2b323ad0abe4e0caa6e03f675
tree14eda67960afaf590159df7ac3ef89b44b0172e3
parent6c87a747cae61097915c71f6d505f101579e8c7a
Generate structs and struct lists generically.

This modifies the way that struct and struct lists are generated
(for return values) so that there is no need to add an explicit
new type when adding a new structure.

All tests pass, and the C API should be compatible.

I have also inspected the changes that are made to the generated
code by hand.
.gitignore
daemon/augeas.c
daemon/daemon.h
daemon/lvm.c
java/com/redhat/et/libguestfs/IntBool.java [deleted file]
src/generator.ml
src/guestfs.c
src/guestfs.h