]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Re-arrange python generator to make it clear what's auto-generated
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 16 Sep 2009 13:03:53 +0000 (14:03 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 21 Sep 2009 13:41:46 +0000 (14:41 +0100)
commitf991a006530100feb713b2d0554ee7664a36f5bc
tree19341edff4dac0383c5c3fa80a5417a6081bd48b
parent81c28325aae8b7db091f9822b745a9a5fc9219bd
Re-arrange python generator to make it clear what's auto-generated

* README: New file describing what each file is used for
* livvirt-override.c, libvirt-override.py, libvirt-override-api.xml,
  libvirt-override-virConnect.py: Manually written code overriding
  the generator
* typewrappers.c, typewrappers.h: Data type wrappers
* generator.py: Automatically pre-prend contents of libvirt-override.py
  to generated libvirt.py. Output into libvirt.py directly instead of
  libvirtclass.py. Don't generate libvirtclass.txt at all. Write C
  files into libvirt.c/.h directly
* Makefile.am: Remove rule for creating libvirt.py from libvirt-override.py
  and libvirtclass.py, since generator.py does it directly
16 files changed:
python/.gitignore
python/Makefile.am
python/README [new file with mode: 0644]
python/generator.py
python/libvir.c [deleted file]
python/libvir.py [deleted file]
python/libvirt-override-api.xml [new file with mode: 0644]
python/libvirt-override-virConnect.py [new file with mode: 0644]
python/libvirt-override.c [new file with mode: 0644]
python/libvirt-override.py [new file with mode: 0644]
python/libvirt-python-api.xml [deleted file]
python/libvirt_wrap.h [deleted file]
python/types.c [deleted file]
python/typewrappers.c [new file with mode: 0644]
python/typewrappers.h [new file with mode: 0644]
python/virConnect.py [deleted file]