On Mon, Nov 21, 2011 at 07:04:06PM +0100, Christophe Fergeau wrote:
We don't currently have any enum in our API, but we will need
some.
This commit adds the generation of libvirt-gconfig-enum-types.[ch]
using glib-mkenums. These files will register the various enums
that will get added to libvirt-gconfig header files with glib.
--
v2: move libvirt-gconfig-enum-types.h to HEADERS in Makefile.am so that
it's installed
---
configure.ac | 4 ++
libvirt-gconfig/Makefile.am | 23 +++++++++++-
.../libvirt-gconfig-enum-types.c.template | 36 ++++++++++++++++++++
.../libvirt-gconfig-enum-types.h.template | 24 +++++++++++++
libvirt-gconfig/libvirt-gconfig.h | 1 +
5 files changed, 86 insertions(+), 2 deletions(-)
create mode 100644 libvirt-gconfig/libvirt-gconfig-enum-types.c.template
create mode 100644 libvirt-gconfig/libvirt-gconfig-enum-types.h.template
ACK
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|