[vala/wip/attributes: 1/4] Remove code that references unused ByRef and InstanceByReference



commit 3748d585dcc22997fe97c54ecf99066cc9e0fd7b
Author: Luca Bruno <lucabru src gnome org>
Date:   Wed Jun 22 12:52:54 2011 +0200

    Remove code that references unused ByRef and InstanceByReference

 vala/valastruct.vala |    4 ----
 vapi/glib-2.0.vapi   |    1 -
 2 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/vala/valastruct.vala b/vala/valastruct.vala
index c94bc0f..a492233 100644
--- a/vala/valastruct.vala
+++ b/vala/valastruct.vala
@@ -701,10 +701,6 @@ public class Vala.Struct : TypeSymbol {
 				return true;
 			}
 		}
-		if (get_attribute ("ByRef") != null) {
-			// used by time_t
-			return false;
-		}
 		if (CodeContext.get ().profile == Profile.DOVA) {
 			return true;
 		}
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 84be81c..a6ef990 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2283,7 +2283,6 @@ namespace GLib {
 		public void add (long microseconds);
 		[CCode (instance_pos = -1)]
 		public bool from_iso8601 (string iso_date);
-		[InstanceByReference]
 		public string to_iso8601 ();
 	}
 



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