Changeset 11983


Ignore:
Timestamp:
07/24/10 20:05:04 (19 months ago)
Author:
azawawi
Message:

Convert C++ constructor to ::DESTROY for now in wxwidgets.pod

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/parse_wxwidgets_docs.pl

    r11982 r11983  
    129129                            my $method = $2; 
    130130                            if($method eq "wx$1") { 
    131                                 # C++ constructor... convert to Perl ::new 
     131                                # Convert C++ constructor to ::new 
    132132                                $name = $class . '::new'; 
    133                             } elsif ($method =~ /operator.+/) { 
     133                            } elsif($method =~ /^~.+/) { 
     134                                # Convert C++ destructor to ::DESTROY 
     135                                $name = $class . '::DESTROY'; 
     136                            } elsif ($method =~ /^operator.+/) { 
    134137                                # Ignore operators 
    135138                                $name = undef; 
Note: See TracChangeset for help on using the changeset viewer.