mirror of https://github.com/GNOME/gimp.git
Slight cleanup of doc generating code.
2004-10-05 Manish Singh <yosh@gimp.org> * tools/pdbgen/lib.pl: Slight cleanup of doc generating code.
This commit is contained in:
parent
c5d20b35e9
commit
131da633d5
|
@ -1,3 +1,7 @@
|
|||
2004-10-05 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* tools/pdbgen/lib.pl: Slight cleanup of doc generating code.
|
||||
|
||||
2004-10-06 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* tools/pdbgen/lib.pl: for deprecated procedures, create a gtk-doc
|
||||
|
|
|
@ -456,28 +456,20 @@ CODE
|
|||
$sincedesc = "\n *\n * Since: GIMP $proc->{since}";
|
||||
}
|
||||
|
||||
if ($proc->{deprecated}) {
|
||||
$out->{code} .= <<CODE;
|
||||
|
||||
/**
|
||||
* $wrapped$funcname:
|
||||
$argdesc *
|
||||
@{[ &desc_wrap("This procedure is deprecated! Use $proc->{deprecated}() instead.") ]}
|
||||
CODE
|
||||
}
|
||||
else {
|
||||
$out->{code} .= <<CODE;
|
||||
|
||||
/**
|
||||
* $wrapped$funcname:
|
||||
$argdesc *
|
||||
@{[ &desc_wrap($proc->{blurb}) ]}
|
||||
*
|
||||
@{[ &desc_wrap($proc->{help}) ]}
|
||||
CODE
|
||||
}
|
||||
|
||||
if ($proc->{deprecated}) {
|
||||
$procdesc = &desc_wrap("This procedure is deprecated! " .
|
||||
"Use $proc->{deprecated}() instead.");
|
||||
}
|
||||
else {
|
||||
$procdesc = &desc_wrap($proc->{blurb}) . "\n *\n" .
|
||||
&desc_wrap($proc->{help});
|
||||
}
|
||||
$out->{code} .= <<CODE;
|
||||
|
||||
/**
|
||||
* $wrapped$funcname:
|
||||
$argdesc *
|
||||
$procdesc
|
||||
*
|
||||
* Returns: $retdesc$sincedesc
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue