[glibmm/gmmproc-refactor] Push C type information in _WRAP_CLASS_* macros.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm/gmmproc-refactor] Push C type information in _WRAP_CLASS_* macros.
- Date: Mon, 9 Jul 2012 20:37:01 +0000 (UTC)
commit de73d79e461ea371e6bbfee07e4948763fd9f29d
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Mon Jul 9 22:19:03 2012 +0200
Push C type information in _WRAP_CLASS_* macros.
tools/pm/Common/WrapParser.pm | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/tools/pm/Common/WrapParser.pm b/tools/pm/Common/WrapParser.pm
index 69b0c04..722afb5 100644
--- a/tools/pm/Common/WrapParser.pm
+++ b/tools/pm/Common/WrapParser.pm
@@ -1446,7 +1446,8 @@ sub _on_class_generic ($)
# TODO: should we check also other things? like Union or Glib::Boxed?
}
- $self->push_gir_record ($gir_record);
+ $self->_push_gir_record ($gir_record);
+ $self->_push_c_class ($c_type);
Common::Output::Generic::output ($self, $c_type, $cxx_type);
}
@@ -1862,7 +1863,8 @@ sub _on_class_boxed_type ($)
$self->fixed_error ('Free/unref function can not be NONE.');
}
- $self->push_gir_record ($gir_record);
+ $self->_push_gir_record ($gir_record);
+ $self->_push_c_class ($c_type);
Common::Output::BoxedType::output $self,
$c_type,
@@ -1915,7 +1917,8 @@ sub _on_class_boxed_type_static ($)
$self->fixed_error ('Record `' . $c_type . '\' has no get type function.');
}
- $self->push_gir_record ($gir_record);
+ $self->_push_gir_record ($gir_record);
+ $self->_push_c_class ($c_type);
Common::Output::BoxedTypeStatic::output $self,
$c_type,
@@ -2078,6 +2081,7 @@ sub _on_class_interface ($)
my $cxx_parent_type = $type_info_local->c_to_cxx ($c_parent_type);
$self->_push_gir_class ($gir_class);
+ $self->_push_c_class ($c_type);
Common::Output::Interface::output $self,
$c_type,
@@ -2246,7 +2250,8 @@ sub _on_class_opaque_copyable ($)
$self->fixed_error ('Free/unref function can not be NONE.');
}
- $self->push_gir_record ($gir_record);
+ $self->_push_gir_record ($gir_record);
+ $self->_push_c_class ($c_type);
Common::Output::OpaqueCopyable::output $self,
$c_type,
@@ -2413,7 +2418,8 @@ sub _on_class_opaque_refcounted ($)
$self->fixed_error ('Free/unref function can not be NONE.');
}
- $self->push_gir_record ($gir_record);
+ $self->_push_gir_record ($gir_record);
+ $self->_push_c_class ($c_type);
Common::Output::OpaqueRefcounted::output $self,
$c_type,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]