use warnings;
use My::Web;
-require CGI;
sub handler
@{[ doc_img 'fig/calltype_cdecl',
'W32 Calling Convention <span class="constant">cdecl</span> Scheme' ]}
- <table border="0" width="100%"><tr><td align="center"><table border="1">
+ <table border="1" class="margin-center">
<caption>Calling Convention <span class="constant">cdecl</span> Characteristics</caption>
<tr><td>Arguments freed by </td><td>caller</td></tr>
<tr><td>Arguments on the stack </td><td>#0 ... #(n-1)</td></tr>
<tr><td>Arguments in the registers </td><td>none</td></tr>
<tr><td>GCC attribute </td><td><span class="command">__attribute__((__cdecl__))</span> (default)</td></tr>
- </table></td></tr></table>
+ </table>
<h2 id="calltype_stdcall">W32 Calling Convention "stdcall"</h2>
passed by this convention – use @{[ a_href 'CallType.pm#calltype_cdecl','cdecl' ]}
instead.</p>
- <table border="0" width="100%"><tr><td align="center"><table border="1">
+ <table border="1" class="margin-center">
<caption>Calling Convention <span class="constant">stdcall</span> Characteristics</caption>
<tr><td>Arguments freed by </td><td>callee</td></tr>
<tr><td>Arguments on the stack </td><td>#0 ... #(n-1)</td></tr>
<tr><td>Arguments in the registers </td><td>none</td></tr>
<tr><td>GCC attribute </td><td><span class="command">__attribute__((__stdcall__))</span></td></tr>
- </table></td></tr></table>
+ </table>
<h2 id="calltype_fastcall">W32 Calling Convention "fastcall"</h2>
@{[ doc_img 'fig/calltype_fastcall',
'W32 Calling Convention <span class="constant">fastcall</span> Scheme' ]}
- <table border="0" width="100%"><tr><td align="center"><table border="1">
+ <table border="1" class="margin-center">
<caption>Calling Convention <span class="constant">fastcall</span> Characteristics</caption>
<tr><td>Arguments freed by </td><td>callee</td></tr>
<tr><td>Arguments on the stack </td><td>#2 ... #(n-1)</td></tr>
<tr><td>GCC ≥3.4 attribute </td><td><span class="command">__attribute__((__fastcall__))</span></td></tr>
<tr><td>GCC <3.4 attr. emulation</td><td><span class="command">__attribute__((__stdcall__))</span></td></tr>
<tr><td> </td><td><span class="command">__attribute__((__regparm__(3) /* EAX,EDX,ECX */))</span></td></tr>
- </table></td></tr></table>
+ </table>
HERE
-project::captive::doc::Macros->footer();
+exit;
}
1;