Re: [libvirt] [PATCH 1/7] Allow for multi-level inheritance of virObject classes

2013-01-14 Thread Daniel P. Berrange
On Fri, Jan 11, 2013 at 04:17:20PM -0700, Eric Blake wrote: > On 01/11/2013 05:13 AM, Daniel P. Berrange wrote: > > From: "Daniel P. Berrange" > > > > Currently all classes must directly inherit from virObject. > > This allows for arbitrarily deep hierarchy. There's not much > > too this aside fr

Re: [libvirt] [PATCH 1/7] Allow for multi-level inheritance of virObject classes

2013-01-11 Thread Eric Blake
On 01/11/2013 05:13 AM, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > Currently all classes must directly inherit from virObject. > This allows for arbitrarily deep hierarchy. There's not much > too this aside from chaining up the 'dispose' handlers from s/too/to/ > each class & pr

[libvirt] [PATCH 1/7] Allow for multi-level inheritance of virObject classes

2013-01-11 Thread Daniel P. Berrange
From: "Daniel P. Berrange" Currently all classes must directly inherit from virObject. This allows for arbitrarily deep hierarchy. There's not much too this aside from chaining up the 'dispose' handlers from each class & providing APIs to check types. --- src/conf/domain_conf.c| 3 +- s