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

Chris Lalancette clalance at redhat.com
Thu Oct 23 10:04:15 UTC 2008


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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-libvirt-migrate-optional-args.patch
Type: text/x-patch
Size: 1600 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20081023/ac28af42/attachment-0001.bin>


More information about the libvir-list mailing list