summaryrefslogtreecommitdiff
path: root/tools/pm/Property.pm
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pm/Property.pm')
-rw-r--r--tools/pm/Property.pm10
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/pm/Property.pm b/tools/pm/Property.pm
index f89140ea..8e2a131f 100644
--- a/tools/pm/Property.pm
+++ b/tools/pm/Property.pm
@@ -112,15 +112,21 @@ sub get_writable($)
sub get_docs($$)
{
- my ($self, $deprecation_docs) = @_;
+ my ($self, $deprecation_docs, $newin) = @_;
my $text = $$self{docs};
- #Add note about deprecation if we have specified that in our _WRAP_METHOD() call:
+ #Add note about deprecation if we have specified that in our _WRAP_PROPERTY()
+ #or_WRAP_CHILD_PROPERTY() call:
if($deprecation_docs ne "")
{
$text .= "\n * \@deprecated $deprecation_docs";
}
+ if ($newin ne "")
+ {
+ $text .= "\n *\n * \@newin{$newin}";
+ }
+
return $text;
}