add ifdef/endif methods to spice code generator
authorChristophe Fergeau <cfergeau@redhat.com>
Wed, 22 Jun 2011 11:22:22 +0000 (13:22 +0200)
committerMarc-André Lureau <marcandre.lureau@gmail.com>
Thu, 23 Jun 2011 18:05:33 +0000 (20:05 +0200)
commit9b159ff7d88c7c6dc851a1833b50ad2512d136a2
tree369c079d01ceda2c78670e14adfa6760ad8c8c37
parentf36bc5e2575d235d231f0d1df17c8f2791ed8f8d
add ifdef/endif methods to spice code generator

These methods will be needed to be able to make some fields optional
in spice.proto
python_modules/codegen.py