[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [PATCH 04/13] remote_generator: support general dynamic array
- From: "Daniel P. Berrange" <berrange redhat com>
- To: Lai Jiangshan <laijs cn fujitsu com>
- Cc: Lai Jiangshan <laijs fujitsu com>, libvirt-list redhat com
- Subject: Re: [libvirt] [PATCH 04/13] remote_generator: support general dynamic array
- Date: Wed, 25 May 2011 17:40:44 +0100
On Wed, May 25, 2011 at 05:37:46PM +0800, Lai Jiangshan wrote:
> It will allow us use "dynamic_array_basic_type member_name<MAX>"
> for remote protocol and avoid so many manual coding.
>
> For avoiding ambiguity, dynamic_array_basic_type must have a "_DABT" suffix.
>
> Signed-off-by: Lai Jiangshan <laijs fujitsu com>
A good idea to make the generator support more, but rather
than requiring a magic name for the data type, add an
annotation to the data type
eg, kind of like Matthias has done to annotate 'hyper'
http://www.redhat.com/archives/libvir-list/2011-May/msg01434.html
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]