X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=project%2Fcaptive%2Fdoc%2FCallType.html.pl;h=d1e3049417cd7f55468074dae452b57c19a710df;hb=7727ab02734783b8fd3082b55976f6b818f7529f;hp=02f44d8ab9579ce73f744c8c5a9253f44f42a674;hpb=eaf5486ee98b0e23461912535cc20c6f51a2dd73;p=www.jankratochvil.net.git diff --git a/project/captive/doc/CallType.html.pl b/project/captive/doc/CallType.html.pl index 02f44d8..d1e3049 100755 --- a/project/captive/doc/CallType.html.pl +++ b/project/captive/doc/CallType.html.pl @@ -27,16 +27,16 @@ use warnings; BEGIN{ open F,"Makefile"; our $top_dir=pop @{[split /\s/,(grep /^top_srcdir/,)[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";

API Function Calling Conventions

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.

@@ -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 – use @{[ a_href '#calltype_cdecl','cdecl' ]} + passed by this convention – use @{[ a_href 'CallType.html.pl#calltype_cdecl','cdecl' ]} instead.

@@ -125,7 +125,7 @@ print <<"HERE"; EDX 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.

GCC (GNU C Compiler) native support for this calling convention @@ -160,4 +160,4 @@ print <<"HERE"; HERE -My::Web->footer(); +project::captive::doc::Macros->footer();