diff options
| author | Alon Levy <alevy@redhat.com> | 2012-06-14 11:43:20 +0300 |
|---|---|---|
| committer | Alon Levy <alevy@redhat.com> | 2012-06-14 13:53:46 +0300 |
| commit | a976c16cf3f77c38d9006c3d39c96d6c8aa04110 (patch) | |
| tree | 3a8568deb4dc32072c8a07912fa181f4b4ecb768 /python_modules/spice_parser.py | |
| parent | 5f4409494066b5f59df58d6207fdbb0441aa9e90 (diff) | |
| download | spice-common-a976c16cf3f77c38d9006c3d39c96d6c8aa04110.tar.gz spice-common-a976c16cf3f77c38d9006c3d39c96d6c8aa04110.tar.xz spice-common-a976c16cf3f77c38d9006c3d39c96d6c8aa04110.zip | |
python_modules/ptypes.py/EnumBaseType.c_enumname: add missing return to fix broken enums generation
Fixes the resulting enums.h from the invocation of:
./spice_codegen.py --generate-enums spice.proto spice-protocol/spice/enums.h
Right now any enum will contain None as the enum members, with this fix
it will contain the real enum members, i.e. SPICE_FOO.
Diffstat (limited to 'python_modules/spice_parser.py')
0 files changed, 0 insertions, 0 deletions
