summaryrefslogtreecommitdiff
path: root/src/bindings/mono/eina_mono/eina_list.cs
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-06-27 13:49:42 -0300
committerVitor Sousa <vitorsousa@expertisesolutions.com.br>2019-06-27 14:07:33 -0300
commit967e32d27a2a324a37f8f2b5cc5c07ff063f5f82 (patch)
tree3fd5508ae58db0edfd84cdb3ae671ea808d02793 /src/bindings/mono/eina_mono/eina_list.cs
parent920a1b4a52b96a84d724583f442e867c4f39168b (diff)
csharp: Update after iterator changes
Summary: Iterator and Accessors are views only, not owning the data they point to. Also updated the tests by handling some test data that were leaking. Fixes T8036 Reviewers: vitor.sousa, felipealmeida Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers, segfaultxavi, q66 Tags: #efl Maniphest Tasks: T8036 Differential Revision: https://phab.enlightenment.org/D9189
Diffstat (limited to 'src/bindings/mono/eina_mono/eina_list.cs')
-rw-r--r--src/bindings/mono/eina_mono/eina_list.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bindings/mono/eina_mono/eina_list.cs b/src/bindings/mono/eina_mono/eina_list.cs
index 4b9e5f5..4c25c25 100644
--- a/src/bindings/mono/eina_mono/eina_list.cs
+++ b/src/bindings/mono/eina_mono/eina_list.cs
@@ -353,12 +353,12 @@ public class List<T> : IEnumerable<T>, IDisposable
353 353
354 public Eina.Iterator<T> GetIterator() 354 public Eina.Iterator<T> GetIterator()
355 { 355 {
356 return new Eina.Iterator<T>(eina_list_iterator_new(Handle), true, false); 356 return new Eina.Iterator<T>(eina_list_iterator_new(Handle), true);
357 } 357 }
358 358
359 public Eina.Iterator<T> GetReversedIterator() 359 public Eina.Iterator<T> GetReversedIterator()
360 { 360 {
361 return new Eina.Iterator<T>(eina_list_iterator_reversed_new(Handle), true, false); 361 return new Eina.Iterator<T>(eina_list_iterator_reversed_new(Handle), true);
362 } 362 }
363 363
364 public IEnumerator<T> GetEnumerator() 364 public IEnumerator<T> GetEnumerator()