[vala] pango: set AttrIterator free_function
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] pango: set AttrIterator free_function
- Date: Sat, 15 Sep 2012 23:28:44 +0000 (UTC)
commit f4be2a0b5cac639bc38b2d8881e48be5d3b63c38
Author: Rico Tzschichholz <ricotz t-online de>
Date: Sat Sep 15 16:25:25 2012 -0700
pango: set AttrIterator free_function
vapi/metadata/Pango-1.0-custom.vala | 5 +++++
vapi/pango.vapi | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/vapi/metadata/Pango-1.0-custom.vala b/vapi/metadata/Pango-1.0-custom.vala
index d76376c..e0b3267 100644
--- a/vapi/metadata/Pango-1.0-custom.vala
+++ b/vapi/metadata/Pango-1.0-custom.vala
@@ -23,6 +23,11 @@ namespace Pango {
public AttrFontDesc (Pango.FontDescription desc);
}
+ [CCode (cheader_filename = "pango/pango.h", free_function = "pango_attr_iterator_destroy")]
+ [Compact]
+ public class AttrIterator {
+ }
+
[CCode (cheader_filename = "pango/pango.h")]
[Compact]
public class AttrLanguage {
diff --git a/vapi/pango.vapi b/vapi/pango.vapi
index 76d9fd7..db57f6d 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -48,7 +48,7 @@ namespace Pango {
public class AttrInt : Pango.Attribute {
public int value;
}
- [CCode (cheader_filename = "pango/pango.h")]
+ [CCode (cheader_filename = "pango/pango.h", free_function = "pango_attr_iterator_destroy")]
[Compact]
public class AttrIterator {
public Pango.AttrIterator copy ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]