Added some "type" elements to docbook output, although they don't really
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 11 Feb 2008 16:42:28 +0000 (16:42 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 11 Feb 2008 16:42:28 +0000 (16:42 +0000)
have much effect.

doc/mkref

index aeeafb12d05ef24e645575e325835a8687518917..50837fed2f4b753173fb9352a1ffeb14c4d0b5a3 100755 (executable)
--- a/doc/mkref
+++ b/doc/mkref
@@ -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;