Changeset 11982
- Timestamp:
- 07/24/10 20:01:51 (19 months ago)
- File:
-
- 1 edited
-
trunk/tools/parse_wxwidgets_docs.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/parse_wxwidgets_docs.pl
r11981 r11982 127 127 $name =~ s/wx(.+?)/Wx::$1/; 128 128 if($name =~ /^Wx::(.+?)::(.+?)$/) { 129 if($2 eq "wx$1") { 129 my $method = $2; 130 if($method eq "wx$1") { 130 131 # C++ constructor... convert to Perl ::new 131 $name = "$class\:\:new" 132 $name = $class . '::new'; 133 } elsif ($method =~ /operator.+/) { 134 # Ignore operators 135 $name = undef; 132 136 } 133 137 } … … 142 146 143 147 # print out method description 144 $desc = HTML::FormatText->new->format(parse_html($desc));148 $desc = HTML::FormatText->new->format(parse_html($desc)); 145 149 print $pod "=head2 $name\n$desc\n"; 146 150
Note: See TracChangeset
for help on using the changeset viewer.
