vala r2236 - in trunk: . vala



Author: juergbi
Date: Mon Dec 22 14:16:00 2008
New Revision: 2236
URL: http://svn.gnome.org/viewvc/vala?rev=2236&view=rev

Log:
2008-12-22  JÃrg Billeter  <j bitron ch>

	* vala/valastruct.vala:

	Use BOXED as marshaller name for structs with type id


Modified:
   trunk/ChangeLog
   trunk/vala/valastruct.vala

Modified: trunk/vala/valastruct.vala
==============================================================================
--- trunk/vala/valastruct.vala	(original)
+++ trunk/vala/valastruct.vala	Mon Dec 22 14:16:00 2008
@@ -415,6 +415,8 @@
 			}
 			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";
 			}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]