Need help understanding this macro from ltp testsuite file tst_res.c <p>What does this macro do? I am not able to understand its definition:</p> <pre><code>#define PAIR(def) [def] = { .name = #def, .val = def, }, </code></pre> <p>From : ltp-full-20120401/lib/tst_res.c line 183</p> <p>You can get the source from this <a href="http://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20120401/ltp-full-20120401.bz2/download" rel="nofollow">link</a></p>