[libvirt] [PATCH v2] rpc: Make the dispatch generator handle 'void name(void)' style procedures

2011-07-21 Thread Matthias Bolte
The only 'void name(void)' style procedure in the protocol is 'close' that is handled special, but also programming errors like a missing _args or _ret suffix on the structs in the .x files can create such a situation by accident. Making the generator aware of this avoids bogus errors from the

Re: [libvirt] [PATCH v2] rpc: Make the dispatch generator handle 'void name(void)' style procedures

2011-07-21 Thread Eric Blake
On 07/21/2011 05:58 AM, Matthias Bolte wrote: The only 'void name(void)' style procedure in the protocol is 'close' that is handled special, but also programming errors like a missing _args or _ret suffix on the structs in the .x files can create such a situation by accident. Making the

Re: [libvirt] [PATCH v2] rpc: Make the dispatch generator handle 'void name(void)' style procedures

2011-07-21 Thread Matthias Bolte
2011/7/21 Eric Blake ebl...@redhat.com: On 07/21/2011 05:58 AM, Matthias Bolte wrote: The only 'void name(void)' style procedure in the protocol is 'close' that is handled special, but also programming errors like a missing _args or _ret suffix on the structs in the .x files can create such a