18,700
edits
(testing support for variadic functions; trying clearer code style) |
(guess we do need the wrapping comments to avoid adding linebreaks to the table) |
||
Line 15: | Line 15: | ||
|- | |- | ||
|{{#ifeq:{{{mac|yes}}}|no|{{#ifeq:{{{win|yes}}}|no|[[Image:Cmbox deletion.png|20px]] <!--if neither platform, show error icon | |{{#ifeq:{{{mac|yes}}}|no|{{#ifeq:{{{win|yes}}}|no|[[Image:Cmbox deletion.png|20px]] <!--if neither platform, show error icon | ||
-->|[[Image:Platform-Win.png|20px]] [[Image:Platform-empty.png|20px]] <!--if only Win, show Win and blank icon | |||
-->}}<!-- | -->}}<!-- | ||
-->|{{#ifeq:{{{win|yes}}}|no|[[Image:Platform-empty.png|20px]] [[Image:Platform-Mac.png|20px]] <!--if only Mac, show blank and Mac icon | -->|{{#ifeq:{{{win|yes}}}|no|[[Image:Platform-empty.png|20px]] [[Image:Platform-Mac.png|20px]] <!--if only Mac, show blank and Mac icon | ||
-->|[[Image:Platform-Win.png|20px]] [[Image:Platform-Mac.png|20px]] <!--if both platforms, show both icons | |||
-->}}<!-- | -->}}<!-- | ||
-->}} | -->}} | ||
|style="font-size:166%; vertical-align:bottom"|{{{name}}}( | |style="font-size:166%; vertical-align:bottom"|{{{name}}}( | ||
|style="font-size:166%; vertical-align:bottom"|{{#if:{{{arg1variadic|}}}|''|}} | |style="font-size:166%; vertical-align:bottom"|{{#if:{{{arg1variadic|}}}|''|}}<!-- use italics if variadic | ||
-->{{#if:{{{arg1name|}}}<!-- | |||
-->|{{{arg1name|}}}<!-- print arg 1 name if supplied | |||
{{#if:{{{arg1altname|}}} | {{#if:{{{arg1altname|}}}<!-- | ||
-->|<u>or</u> {{{arg1altname|}}}<!--print alternative arg 1 if present | |||
-->|<!-- | |||
-->}}<!-- | |||
-->{{#if:{{{arg2name|}}}|, |}}<!-- if there is a next arg, print comma | |||
-->|void );<!-- if no args, print "void" and a close parens | |||
-->}} | |||
|style="font-size:166%; vertical-align:bottom"|{{#if:{{{arg2name|}}} | |style="font-size:166%; vertical-align:bottom"|{{#if:{{{arg2name|}}} | ||
|{{{arg2name|}}} {{#if:{{{arg2altname|}}} | |{{{arg2name|}}} {{#if:{{{arg2altname|}}} |