aboutsummaryrefslogtreecommitdiffstats
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
parentelm_code: make the hoversel not focusable. (diff)
downloadefl-40d03dbef8a0e16a0a41158a5300b16a51210852.tar.gz
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 https://phab.enlightenment.org/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: https://phab.enlightenment.org/T7112 Differential Revision: https://phab.enlightenment.org/D6995
-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 e31a8ffed3..03c2ba90e7 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
return NativeToManaged<T>(ele);
}
- public void Reverse()
+ public List<T> Reverse()
{
Handle = eina_list_reverse(Handle);
+ return this;
}
public void Shuffle()