]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Remove code that references unused ByRef and InstanceByReference
authorLuca Bruno <lucabru@src.gnome.org>
Wed, 22 Jun 2011 10:52:54 +0000 (12:52 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Sat, 25 Jun 2011 12:01:21 +0000 (14:01 +0200)
vala/valastruct.vala
vapi/glib-2.0.vapi

index c94bc0f4a5e3a064d857fab1b164f468820a010b..a492233fbb234caa5c767e5cd8d02be1cd443312 100644 (file)
@@ -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;
                }
index 84be81c0a975ff30bc616cc898ec3589a244e457..a6ef9905a899023b2d6470442160674ad0db6b81 100644 (file)
@@ -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 ();
        }