From: Jürg Billeter Date: Mon, 22 Dec 2008 14:16:00 +0000 (+0000) Subject: Use BOXED as marshaller name for structs with type id X-Git-Tag: VALA_0_5_4~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f746471fc77de00ac44dbefa678fedc95582251;p=thirdparty%2Fvala.git Use BOXED as marshaller name for structs with type id 2008-12-22 Jürg Billeter * vala/valastruct.vala: Use BOXED as marshaller name for structs with type id svn path=/trunk/; revision=2236 --- diff --git a/ChangeLog b/ChangeLog index ff281151a..d1f5f4e7d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-12-22 Jürg Billeter + + * vala/valastruct.vala: + + Use BOXED as marshaller name for structs with type id + 2008-12-21 Jürg Billeter * vala/valastruct.vala: diff --git a/vala/valastruct.vala b/vala/valastruct.vala index 48a99e713..7cf5ad7df 100644 --- a/vala/valastruct.vala +++ b/vala/valastruct.vala @@ -415,6 +415,8 @@ public class Vala.Struct : TypeSymbol { } if (is_simple_type ()) { Report.error (source_reference, "The type `%s` doesn't declare a marshaller type name".printf (get_full_name ())); + } else if (has_type_id) { + return "BOXED"; } else { return "POINTER"; }