Re: wine/server: removed obsolete one-iteration loop from request forming macro (try 2)

2012-08-23 Thread Marcus Meissner
On Thu, Aug 23, 2012 at 11:14:23AM +0400, Oleg Yarigin wrote: > An original message was sent with wrong author`s name by mistake, so > I resend this patch with hope it was the only reason to reject it. It was not the only reason. A single loop is a common pattern in C to allow safe encapsulation

Re: wine/server: removed obsolete one-iteration loop from request forming macro

2012-08-21 Thread Sergey Guralnik
On 2012-08-22 6:26, Архад wrote: #define SERVER_START_REQ(type) \ -do { \ -struct __server_request_info __req; \ ... -(void)reply; \ -do - -#define SERVER_END_REQ \ -while(0); \ -} while(0) +struct __server_request_info __req; \ ... +(void)rep