summaryrefslogtreecommitdiff
path: root/src/bindings/mono/eina_mono/eina_list.cs
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-09-06 12:10:51 -0300
committerVitor Sousa <vitorsousa@expertisesolutions.com.br>2018-09-06 12:20:29 -0300
commit40d03dbef8a0e16a0a41158a5300b16a51210852 (patch)
treeaf46a543c29cd0dcdb04e23a3c091660d208827e /src/bindings/mono/eina_mono/eina_list.cs
parentf747e35f4813e7263a0b884b10d8b0b77e1e9081 (diff)
efl-mono: Make eina_list return the list
Summary: eina_list_reverse() returns the list, the C# version should do the same. This fixes the reference/csharp/eina/src/eina_list.cs example. Fixes T7112 Test Plan: The eina_list.cs example works after this change. Reviewers: lauromoura, vitor.sousa, felipealmeida Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7112 Differential Revision: https://phab.enlightenment.org/D6995
Diffstat (limited to 'src/bindings/mono/eina_mono/eina_list.cs')
-rw-r--r--src/bindings/mono/eina_mono/eina_list.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bindings/mono/eina_mono/eina_list.cs b/src/bindings/mono/eina_mono/eina_list.cs
index e31a8ff..03c2ba9 100644
--- a/src/bindings/mono/eina_mono/eina_list.cs
+++ b/src/bindings/mono/eina_mono/eina_list.cs
@@ -299,9 +299,10 @@ public class List<T> : IEnumerable<T>, IDisposable
299 return NativeToManaged<T>(ele); 299 return NativeToManaged<T>(ele);
300 } 300 }
301 301
302 public void Reverse() 302 public List<T> Reverse()
303 { 303 {
304 Handle = eina_list_reverse(Handle); 304 Handle = eina_list_reverse(Handle);
305 return this;
305 } 306 }
306 307
307 public void Shuffle() 308 public void Shuffle()