source: mainline/uspace/app/pcc/cc/cpp/tests/test10@ 087c27f6

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 087c27f6 was 711e7fe5, checked in by Prutkov Alex <prutkov.alex@…>, 14 years ago

Added printf module

  • Property mode set to 100755
File size: 412 bytes
Line 
1#define __CONCAT(x,y) x ## y
2#define dev_type_open(n) int n(int)
3#define dev_decl(n,t) __CONCAT(dev_type_,t)(__CONCAT(n,t))
4#define cdev_decl(n) dev_decl(n,open)
5
6cdev_decl(midi);
7
8# define __GETOPT_PREFIX foo_
9# define __GETOPT_CONCAT(x, y) x ## y
10# define __GETOPT_XCONCAT(x, y) __GETOPT_CONCAT (x, y)
11# define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
12# define optarg __GETOPT_ID (optarg)
13
14optarg
Note: See TracBrowser for help on using the repository browser.