X-SCL: 7 83.82% Received: from abricotier.foret ([10.10.3.13]) by bonsai.jungle.qosmos.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 27 Apr 2007 10:51:09 +0200 Received: by abricotier.foret (Postfix, from userid 896) id 44A3C70C38; Fri, 27 Apr 2007 10:51:09 +0200 (CEST) Date: Fri, 27 Apr 2007 08:51:09 +0000 From: xxx To: xxx Subject: macros Message-ID: <20070427085109.GA18484@abricotier.foret> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline User-Agent: Mutt/1.5.11 Return-Path: xxx --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename="macros.c" void istiti(int a, int b) { printf("titi: %d %d\n", a, b); } void istoto(int a, int b) { printf("toto: %d %d\n", a, b); } #define IS(suffix) is ## suffix (a,b) int main() { int a= 12; int b= 13; IS(toto); IS(titi); } --6c2NcOVqGQ03X4Wi--