[vala] girparser: Add mapping from GIR's gsize to Vala's size_t
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] girparser: Add mapping from GIR's gsize to Vala's size_t
- Date: Wed, 21 Jul 2010 15:28:23 +0000 (UTC)
commit f00fcf2e72c251f44398bbe5e53db0a85ee82036
Author: Philip Withnall <philip withnall collabora co uk>
Date: Wed Jul 21 15:01:00 2010 +0100
girparser: Add mapping from GIR's gsize to Vala's size_t
vala/valagirparser.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index 2993ecc..1e2ed82 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -521,6 +521,8 @@ public class Vala.GirParser : CodeVisitor {
type_name = "bool";
} else if (type_name == "GLib.offset") {
type_name = "int64";
+ } else if (type_name == "gsize") {
+ type_name = "size_t";
} else if (type_name == "GType") {
type_name = "GLib.Type";
} else if (type_name == "GLib.String") {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]