[vala/0.50] pango: Fix a few binding errors
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.50] pango: Fix a few binding errors
- Date: Sun, 28 Feb 2021 08:58:20 +0000 (UTC)
commit b7c5747094872aaa18cc8af0b32be218c7113fea
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Jan 26 13:03:17 2021 +0100
pango: Fix a few binding errors
vapi/metadata/Pango-1.0.metadata | 6 ++++++
vapi/pango.vapi | 6 +++---
2 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/vapi/metadata/Pango-1.0.metadata b/vapi/metadata/Pango-1.0.metadata
index e1ebdd2bf..03745c299 100644
--- a/vapi/metadata/Pango-1.0.metadata
+++ b/vapi/metadata/Pango-1.0.metadata
@@ -22,9 +22,13 @@ AttrDataCopyFunc skip
// Fields
AttrColor
.color unowned=false
+EngineInfo
+ .scripts array unowned=false array_length_field="n_scripts"
GlyphString
.glyphs unowned=false array_length_field="num_glyphs"
.log_clusters array unowned=false array_length_field="num_glyphs"
+Renderer
+ .matrix skip
// G-I doesn't support non-GObject, non-GBoxed return values
AttrIterator
@@ -77,3 +81,5 @@ Coverage
.unref destroys_instance=false
Item
.free destroys_instance
+log2vis_get_embedding_levels
+ .pbase_dir ref
diff --git a/vapi/pango.vapi b/vapi/pango.vapi
index b669bfa55..97b4f9151 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -594,7 +594,6 @@ namespace Pango {
[CCode (cheader_filename = "pango/pango.h", type_id = "pango_renderer_get_type ()")]
[Version (since = "1.8")]
public abstract class Renderer : GLib.Object {
- public Pango.Matrix matrix;
[CCode (has_construct_function = false)]
protected Renderer ();
public void activate ();
@@ -690,7 +689,8 @@ namespace Pango {
public weak string id;
public weak string engine_type;
public weak string render_type;
- public Pango.EngineScriptInfo scripts;
+ [CCode (array_length_cname = "n_scripts")]
+ public Pango.EngineScriptInfo[] scripts;
public int n_scripts;
}
[CCode (cheader_filename = "pango/pango.h", has_type_id = false)]
@@ -1269,7 +1269,7 @@ namespace Pango {
public static GLib.List<Pango.Item> itemize_with_base_dir (Pango.Context context, Pango.Direction
base_dir, string text, int start_index, int length, Pango.AttrList attrs, Pango.AttrIterator? cached_iter);
[CCode (cheader_filename = "pango/pango.h")]
[Version (since = "1.4")]
- public static uint8 log2vis_get_embedding_levels (string text, int length, Pango.Direction pbase_dir);
+ public static uint8 log2vis_get_embedding_levels (string text, int length, ref Pango.Direction
pbase_dir);
[CCode (cheader_filename = "pango/pango.h")]
[Version (since = "1.31.0")]
public static bool markup_parser_finish (GLib.MarkupParseContext context, out Pango.AttrList
attr_list, out string text, out unichar accel_char) throws GLib.Error;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]