source: EcnlProtoTool/trunk/tcc-0.9.27/tests/pp/20.c@ 331

Last change on this file since 331 was 331, checked in by coas-nagasima, 6 years ago

prototoolに関連するプロジェクトをnewlibからmuslを使うよう変更・更新
ntshellをnewlibの下位の実装から、muslのsyscallの実装に変更・更新
以下のOSSをアップデート
・mruby-1.3.0
・musl-1.1.18
・onigmo-6.1.3
・tcc-0.9.27
以下のOSSを追加
・openssl-1.1.0e
・curl-7.57.0
・zlib-1.2.11
以下のmrbgemsを追加
・iij/mruby-digest
・iij/mruby-env
・iij/mruby-errno
・iij/mruby-iijson
・iij/mruby-ipaddr
・iij/mruby-mock
・iij/mruby-require
・iij/mruby-tls-openssl

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csrc
File size: 511 bytes
Line 
1/* Various things I encountered while hacking the pre processor */
2#define wrap(x) x
3#define pr_warning(fmt, ...) printk(KERN_WARNING fmt, ##__VA_ARGS__)
4#define pr_warn(x,y) pr_warning(x,y)
5#define net_ratelimited_function(function, ...) function(__VA_ARGS__)
6X1 net_ratelimited_function(pr_warn, "pipapo", bla);
7X2 net_ratelimited_function(wrap(pr_warn), "bla", foo);
8#define two m n
9#define chain4(a,b,c,d) a ## b ## c ## d
10X2 chain4(two,o,p,q)
11X3 chain4(o,two,p,q)
12X4 chain4(o,p,two,q)
13X5 chain4(o,p,q,two)
Note: See TracBrowser for help on using the repository browser.