[PATCH][NIH] Better semantics for NIH_{SHOULD,ZERO,MUST}

Scott James Remnant scott at netsplit.com
Fri Feb 20 21:43:02 GMT 2009


On Tue, 2009-02-17 at 16:16 -0500, Casey Dahlin wrote:

> This patch makes NIH_{SHOULD,ZERO,MUST} return the values of their 
> arguments, so
> 
> 	NIH_MUST (foo = bar());
> 
> becomes
> 
> 	foo = NIH_MUST (bar());
> 
> --CJD
> 
Great!

Applied.

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/upstart-devel/attachments/20090220/0a7e48fa/attachment.pgp 


More information about the upstart-devel mailing list