Re: [libvirt] [PATCH] Allow nwfilter functions to be compiled with C++

2010-05-25 Thread Chris Lalancette
On 05/24/2010 04:35 PM, Eric Blake wrote: On 05/24/2010 02:24 PM, Chris Lalancette wrote: Unfortunately the NWFilter functions were outside of the extern C { ... } declaration in include/libvirt/libvirt.h.in, which means that they couldn't be properly used with C++. Move them inside of the

[libvirt] [PATCH] Allow nwfilter functions to be compiled with C++

2010-05-24 Thread Chris Lalancette
Unfortunately the NWFilter functions were outside of the extern C { ... } declaration in include/libvirt/libvirt.h.in, which means that they couldn't be properly used with C++. Move them inside of the braces, which should fix the problem. Signed-off-by: Chris Lalancette clala...@redhat.com ---

Re: [libvirt] [PATCH] Allow nwfilter functions to be compiled with C++

2010-05-24 Thread Eric Blake
On 05/24/2010 02:24 PM, Chris Lalancette wrote: Unfortunately the NWFilter functions were outside of the extern C { ... } declaration in include/libvirt/libvirt.h.in, which means that they couldn't be properly used with C++. Move them inside of the braces, which should fix the problem. ACK.