Template:ApiBinaryItem: Difference between revisions

From ADVACAM Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{{HeSym}}} {{{Nam}}} {{{HeSym}}}
{{{HeSym}}} {{{Nam}}} {{{HeSym}}}
----
{{#switch: {{{HeSym}}} | {{=}} =  | {{=}}{{=}} =  | ---- }}
<noinclude><br>HeSym = Header symbol - ====, Nam = function name to using in header and definition<br></noinclude>
<noinclude><br>HeSym = Header symbol - ====, Nam = function name to using in header and definition<br>
(provizorní verze templatu / temporary version of template)<br>
Creates chapter header and adds line if HeSym is not = or ==
 
</noinclude>
;Summary
:{{{Sum}}}
:{{{Sum}}}


;Definition
;Definition
:{{{DefH}}} '''{{{Nam}}}'''({{{DefP}}});
:{{#tag:syntaxhighlight
|{{{DefH}}} {{{Nam}}}({{{DefP}}});
|lang=C
}}
<noinclude>:{{{DefH}}} '''{{{Nam}}}'''({{{DefP}}});<noinclude>
<noinclude><br>DefH = definition header - int, DefP = definition parameters - char*msg, int len<br></noinclude>
<noinclude><br>DefH = definition header - int, DefP = definition parameters - char*msg, int len<br></noinclude>
'''Parameters'''<br>
'''Parameters'''<br>
* {{{1}}}
{{#if: {{{1}}} |* {{{1}}} |: (no pars)}}
{{#if: {{{2}}} | * {{{2}}} | }}
* {{{2}}}
{{#if: {{{3}}} | * {{{3}}} | }}
* {{{3}}}
{{#if: {{{4}}} | * {{{4}}} | }}
* {{{4}}}
{{#if: {{{5}}} | * {{{5}}} | }}
* {{{5}}}
{{#if: {{{6}}} | * {{{6}}} | }}
* {{{6}}}
{{#if: {{{7}}} | * {{{7}}} | }}
* {{{7}}}
{{#if: {{{8}}} | * {{{8}}} | }}
* {{{8}}}
<br>
 
;Return value
;Return value
:{{{Ret}}}
:{{{Ret}}}
 
{{#if: {{{Not}}} | '''Note'''<br>| }}
{{#if: {{{Not}}} | ;Note<br>:{{{Not}}} | }}
: {{{Not}}}
{{#if: {{{War}}} | ;Warning<br>:{{{War}}} | }}
{{#if: {{{War}}} | '''Warning'''<br>| }}
<noinclude>
: {{{War}}}
{{#if: {{{Exa}}} | '''Example'''<br> <code>{{{Exa}}}</code><br> | }}
</noinclude>
{{#if: {{{Exa}}} | '''Example'''<br> {{#tag:syntaxhighlight
{{#if: {{{Exa}}} | '''Example'''<br> {{#tag:syntaxhighlight
|{{{Exa}}}
|{{{Exa}}}
|line
|lang=C
|lang=C
}}<br> | }}
}}<br> | }}

Latest revision as of 18:07, 29 June 2023

{{{HeSym}}} {{{Nam}}} {{{HeSym}}}



HeSym = Header symbol - ====, Nam = function name to using in header and definition
Creates chapter header and adds line if HeSym is not = or ==

{{{Sum}}}
Definition
{{{DefH}}} {{{Nam}}}({{{DefP}}});
{{{DefH}}} {{{Nam}}}({{{DefP}}});


DefH = definition header - int, DefP = definition parameters - char*msg, int len
Parameters

  • {{{1}}}
  • {{{2}}}
  • {{{3}}}
  • {{{4}}}
  • {{{5}}}
  • {{{6}}}
  • {{{7}}}
  • {{{8}}}
Return value
{{{Ret}}}

Note

{{{Not}}}

Warning

{{{War}}}

Example

{{{Exa}}}