+link rel
[www.jankratochvil.net.git] / project / captive / doc / CallType.html.pl
index 02f44d8..d1e3049 100755 (executable)
@@ -27,16 +27,16 @@ use warnings;
 
 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";
@@ -45,7 +45,7 @@ print <<"HERE";
 <a name="calltype"><h1>API Function Calling Conventions</h1></a>
 
        <p>Standard UNIX code compiled by GCC (GNU C&nbsp;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>
 
@@ -104,7 +104,7 @@ print <<"HERE";
                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 &ndash; use @{[ a_href '#calltype_cdecl','cdecl' ]}
+               passed by this convention &ndash; use @{[ a_href 'CallType.html.pl#calltype_cdecl','cdecl' ]}
                instead.</p>
 
                <table border="1" align="center">
@@ -125,7 +125,7 @@ print <<"HERE";
                <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 &ndash; use @{[ a_href '#calltype_cdecl','cdecl' ]}
+               passed by this convention &ndash; use @{[ a_href 'CallType.html.pl#calltype_cdecl','cdecl' ]}
                instead.</p>
 
                <p>GCC (GNU C&nbsp;Compiler) native support for this calling convention
@@ -160,4 +160,4 @@ print <<"HERE";
 HERE
 
 
-My::Web->footer();
+project::captive::doc::Macros->footer();