summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdoc/doxydown/doxydown.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/doxydown/doxydown.pl b/doc/doxydown/doxydown.pl
index 95a6e101c..cb3713cff 100755
--- a/doc/doxydown/doxydown.pl
+++ b/doc/doxydown/doxydown.pl
@@ -172,6 +172,10 @@ EOD
print "No return\n";
}
+ if ( $f->{'available'} ) {
+ printf "\n**Available in:** %s\n", $f->{'available'};
+ }
+
if ( $f->{'example'} ) {
print <<EOD;
@@ -356,6 +360,8 @@ sub parse_function {
push @{ $f->{'returns'} }, $r;
} elsif ( /^\s*\@brief\s*(\S.+)$/ ) {
$f->{'brief'} = $1;
+ } elsif ( /^\s*\@available\s*(\S.+)$/ ) {
+ $f->{'available'} = $1;
}
elsif ( /^\s*\@example\s*(\S)?\s*$/ ) {
$example = 1;
@@ -382,6 +388,10 @@ sub parse_function {
chomp $f->{'example'};
}
+ if ( $f->{'available'} ) {
+ chomp $f->{'available'}
+ }
+
if ( !$f->{'brief'} && $f->{'data'} ) {