[libvirt] [PATCH]: Update ruby-libvirt migrate binding to use rb_scan_args

David Lutterkort lutter at redhat.com
Tue Oct 28 17:21:11 UTC 2008


On Thu, 2008-10-23 at 12:04 +0200, Chris Lalancette wrote:
> It's really not a good idea to hand parse variable number of args to a ruby
> binding, like I implemented for the "migrate" method.  Convert this to use
> rb_scan_args, which is the proper way to do it, and matches all of the other
> variable argument implementations in the binding.
> 
> Signed-off-by: Chris Lalancette <clalance at redhat.com>

ACK .. nice cleanup.

David





More information about the libvir-list mailing list