[libgee] Replace deprecated NoArrayLength annotation



commit 2a32dd2f6e51d2363d9cf7af5d05d5d4ac9070e9
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Thu Sep 29 15:55:40 2016 +0200

    Replace deprecated NoArrayLength annotation

 gee/concurrentset.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gee/concurrentset.vala b/gee/concurrentset.vala
index a82051d..dc4b249 100644
--- a/gee/concurrentset.vala
+++ b/gee/concurrentset.vala
@@ -1419,7 +1419,7 @@ public class Gee.ConcurrentSet<G> : AbstractSortedSet<G> {
                        return ah ? -1 : cmp(a._data, b);
                }
 
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public TowerNode<G>[] _nodes;
                public G _data;
                public int _height;
@@ -1431,7 +1431,7 @@ public class Gee.ConcurrentSet<G> : AbstractSortedSet<G> {
        }
 
        private struct TowerIter<G> {
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public Tower<G>? _iter[31 /*_MAX_HEIGHT*/];
        }
 


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