comparison libpurple/upnp.h @ 27697:d1b882345f5b

Surround this macro in do { } while (0); so that callers don't need to remember that it needs to be surrounded in braces. I think the do-while isn't strictly necessary, as I think you can have braces where ever you want, but everytime I see someone else use this technique they always have the do-while
author Mark Doliner <mark@kingant.net>
date Sun, 19 Jul 2009 16:31:32 +0000
parents 6bf32c9e15a7
children
comparison
equal deleted inserted replaced
27696:c800bdb5ebbc 27697:d1b882345f5b