mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Change stringify to admit multiple parameters (including lists and vectors).
This commit is contained in:
parent
a6f63a9257
commit
a0555b87d9
1 changed files with 2 additions and 2 deletions
|
@ -143,8 +143,8 @@ h1 { background: #2080C0; color: white; padding:25px 5% 8px; margin: 4% 7% 0px;
|
|||
|
||||
<pre><code><span>#define VERSION 1.13</span>
|
||||
<span>#define REVISION b</span>
|
||||
<span>#define VERBATIM_STRINGIFY(x) #x</span>
|
||||
<span>#define STRINGIFY(x) VERBATIM_STRINGIFY(x)</span>
|
||||
<span>#define VERBATIM_STRINGIFY(...) #__VA_ARGS__</span>
|
||||
<span>#define STRINGIFY(...) VERBATIM_STRINGIFY(__VA_ARGS__)</span>
|
||||
<span>...</span>
|
||||
<span>llOwnerSay("Program version " STRINGIFY(VERSION)</span>
|
||||
<span> ", revision " STRINGIFY(REVISION));</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue