Re: [libvirt] [PATCH] esx: Improve dynamic cast detection in the generator

2011-05-14 Thread Matthias Bolte
2011/5/13 Eric Blake : > On 05/01/2011 01:57 PM, Matthias Bolte wrote: >> Detect it based on usage as parameter, return type and member of other >> object types. >> --- >>  src/esx/esx_vi_generator.py |   32 ++-- >>  1 files changed, 18 insertions(+), 14 deletions(-) > >

Re: [libvirt] [PATCH] esx: Improve dynamic cast detection in the generator

2011-05-13 Thread Eric Blake
On 05/01/2011 01:57 PM, Matthias Bolte wrote: > Detect it based on usage as parameter, return type and member of other > object types. > --- > src/esx/esx_vi_generator.py | 32 ++-- > 1 files changed, 18 insertions(+), 14 deletions(-) Very much like the last one. AC

[libvirt] [PATCH] esx: Improve dynamic cast detection in the generator

2011-05-01 Thread Matthias Bolte
Detect it based on usage as parameter, return type and member of other object types. --- src/esx/esx_vi_generator.py | 32 ++-- 1 files changed, 18 insertions(+), 14 deletions(-) diff --git a/src/esx/esx_vi_generator.py b/src/esx/esx_vi_generator.py index 70cf2ee..0d