Modify apidoc.pl to warn about duplicate apidoc entries, and
remove duplicates for av_tindex and toLOWER_LC
$ret = $docref->{retval};
}
+ if (exists $docs{$inline_where}{$curheader}{$name}) {
+ warn "$0: duplicate API entry for '$name' in $inline_where/$curheader\n";
+ next;
+ }
$docs{$inline_where}{$curheader}{$name}
= [$flags, $docs, $ret, $file, @args];
(A slightly shorter form is C<av_tindex>.)
-=for apidoc av_tindex
-
-Same as L</av_top_index>.
-
=for apidoc av_len
Same as L</av_top_index>. Note that, unlike what the name implies, it returns
The input character at C<p> is assumed to be well-formed.
-=for apidoc Am|U8|toLOWER_LC|U8 ch
-Converts the specified character to lowercase using the current locale's rules,
-if possible; otherwise returns the input character itself.
-
=for apidoc Am|U8|toTITLE|U8 ch
Converts the specified character to titlecase. If the input is anything but an
ASCII lowercase character, that input character itself is returned. Variant