Re: Setting up a package to use gtk-doc
- From: Damon Chaplin <damon ximian com>
- To: rsteinke w-link net
- Cc: gtk-doc-list gnome org
- Subject: Re: Setting up a package to use gtk-doc
- Date: 02 Oct 2001 22:06:51 -0400
On Fri, 2001-09-28 at 23:09, rsteinke w-link net wrote:
> 2. If you don't have any functions in sections.txt, you get a
> divide-by-zero error at line 1763 of gtkdoc-mkdb when it tries to
> compute the percentage of functions documented. This isn't a serious
> problem, but makes the initial setup a little disconcerting.
I've changed it to:
if ($total == 0) {
$percent = 100;
} else {
$percent = ($n_documented / $total) * 100.0;
}
Hopefully that fixes it.
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]