From 258e1b92ebbfdebefabc120969ab87c3d8b75c3d Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 15 Jun 2014 03:50:12 +0200 Subject: old c,cc examples --- c,cc/cond.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 c,cc/cond.h (limited to 'c,cc/cond.h') diff --git a/c,cc/cond.h b/c,cc/cond.h new file mode 100644 index 0000000..0d9e572 --- /dev/null +++ b/c,cc/cond.h @@ -0,0 +1,9 @@ +#ifndef _COND_H_ +#define _COND_H_ + + +#define cond(expr, a, b) (expr) ? (a) : (b) + + +#endif /* _COND_H_ */ + -- cgit v1.2.3