[glibmm/gmmproc-refactor] Hook up _CTOR_DEFAULT.



commit 495f8c541d84411dbf43fce846fd3ae0004ed036
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Wed Apr 18 05:25:57 2012 +0200

    Hook up _CTOR_DEFAULT.
    
    The implementation already existed.

 tools/pm/Common/WrapParser.pm |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/tools/pm/Common/WrapParser.pm b/tools/pm/Common/WrapParser.pm
index fccb692..91e3297 100644
--- a/tools/pm/Common/WrapParser.pm
+++ b/tools/pm/Common/WrapParser.pm
@@ -2487,6 +2487,15 @@ sub _on_module ($)
   $self->{'module'} = $str;
 }
 
+sub _on_ctor_default ($)
+{
+  my ($self) = @_;
+  $self->_extract_bracketed_text;
+
+# TODO: get default constructor from gir.
+  Common::Output::Ctor::ctor_default $self;
+}
+
 sub _on_pinclude ($)
 {
   my ($self) = @_;
@@ -2642,6 +2651,7 @@ sub new ($$$$$$$)
     '_INSERT_SECTION' => [$self, \&_on_insert_section],
     'class' => [$self, \&_on_class_keyword],
     '_MODULE' => [$self, \&_on_module],
+    '_CTOR_DEFAULT' => [$self, \&_on_ctor_default],
     '_PINCLUDE' => [$self, \&_on_pinclude]
   };
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]