Added some "type" elements to docbook output, although they don't really
have much effect.
This commit is contained in:
parent
a7ece13dbd
commit
d2809f82d5
1 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ while($s = <>){
|
|||
<funcsynopsis>
|
||||
<funcsynopsisinfo>$header</funcsynopsisinfo>
|
||||
<funcprototype>
|
||||
<funcdef>$1 <function>$funcname</function></funcdef>
|
||||
<funcdef><type>$1</type> <function>$funcname</function></funcdef>
|
||||
";
|
||||
$end =
|
||||
" </funcprototype>
|
||||
|
@ -66,7 +66,7 @@ while($s = <>){
|
|||
$p = $1;
|
||||
$p =~ m/(.*) (.*)/;
|
||||
print
|
||||
" <paramdef>$1 <parameter>$2</parameter></paramdef>
|
||||
" <paramdef><type>$1</type> <parameter>$2</parameter></paramdef>
|
||||
"
|
||||
}elsif($s =~ m/^Description:/){
|
||||
print $end;
|
||||
|
|
Loading…
Add table
Reference in a new issue