BEGIN{ open F,"Makefile"; our $top_dir=pop @{[split /\s/,(grep /^top_srcdir/,<F>)[0]]}; eval "use lib '$top_dir'"; close F; }
use My::Web;
-require "CGI";
-use project::captive::doc::Macros;
+require CGI;
+BEGIN { Wuse 'project::captive::doc::Macros'; }
-My::Web->init(
+project::captive::doc::Macros->init(
"__PACKAGE__"=>__PACKAGE__,
"title"=>'Captive NTFS Developer Documentation: API Calling Conventions',
- "head_css"=>$doc_Macros_head_css,
+ "rel_prev"=>'APITypes.html.pl',
+ "rel_next"=>'TODO.html.pl',
);
-My::Web->heading();
print <<"HERE";
<a name="calltype"><h1>API Function Calling Conventions</h1></a>
<p>Standard UNIX code compiled by GCC (GNU C Compiler) running on host
- $gnulinux always uses @{[ a_href '#calltype_cdecl','cdecl' ]} ABI (Application
+ $gnulinux always uses @{[ a_href 'CallType.html.pl#calltype_cdecl','cdecl' ]} ABI (Application
Binary Interface) calling convention. This calling convention is also the
default declaration type of UNIX functions.</p>
arguments are cleaned by the callee. Possible inconsistencies in the
number of function arguments with the function prototype used by the
caller will result in fatal crash. Variable arguments lists cannot be
- passed by this convention – use @{[ a_href '#calltype_cdecl','cdecl' ]}
+ passed by this convention – use @{[ a_href 'CallType.html.pl#calltype_cdecl','cdecl' ]}
instead.</p>
<table border="1" align="center">
<span class="constant">EDX</span> respectively. Possible inconsistencies
in the number of function arguments with the function prototype used by
the caller will result in fatal crash. Variable arguments lists cannot be
- passed by this convention – use @{[ a_href '#calltype_cdecl','cdecl' ]}
+ passed by this convention – use @{[ a_href 'CallType.html.pl#calltype_cdecl','cdecl' ]}
instead.</p>
<p>GCC (GNU C Compiler) native support for this calling convention
HERE
-My::Web->footer();
+project::captive::doc::Macros->footer();