q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=436815ca007298578bf43b3a05f71a28ff1c22df

commit 436815ca007298578bf43b3a05f71a28ff1c22df
Author: Daniel Kolesa <d.kol...@osg.samsung.com>
Date:   Thu Aug 10 12:53:14 2017 +0200

    ecore, ecore_con: fix const on Eina.Slice
    
    Fixes TODOs from dd5cdda64b5fd3966718af62d417117942e2f323
    after fixing T5024.
---
 src/lib/ecore/efl_io_buffered_stream.eo | 3 +--
 src/lib/ecore/efl_io_copier.eo          | 3 +--
 src/lib/ecore_con/efl_net_ip_address.eo | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/lib/ecore/efl_io_buffered_stream.eo 
b/src/lib/ecore/efl_io_buffered_stream.eo
index 5ae8085ad4..bad0240648 100644
--- a/src/lib/ecore/efl_io_buffered_stream.eo
+++ b/src/lib/ecore/efl_io_buffered_stream.eo
@@ -87,8 +87,7 @@ class Efl.Io.Buffered_Stream (Efl.Loop_User, Efl.Io.Reader, 
Efl.Io.Writer, Efl.I
                [[Changes line delimiter to use. If empty, no delimiter is to 
be used]]
             }
             values {
-                // TODO: eolian generates wrong type for getter with 
const(Eina.Slice)
-                slice: Eina.Slice; [[The contents may contain \0 and will be 
copied]]
+                slice: const(Eina.Slice); [[The contents may contain \0 and 
will be copied]]
             }
         }
 
diff --git a/src/lib/ecore/efl_io_copier.eo b/src/lib/ecore/efl_io_copier.eo
index b93e1097f4..5eb59b88bc 100644
--- a/src/lib/ecore/efl_io_copier.eo
+++ b/src/lib/ecore/efl_io_copier.eo
@@ -192,8 +192,7 @@ class Efl.Io.Copier (Efl.Loop_User, Efl.Io.Closer) {
                [[Changes line delimiter to use. If empty, no delimiter is to 
be used]]
             }
             values {
-                // TODO: eolian generates wrong type for getter with 
const(Eina.Slice)
-                slice: Eina.Slice; [[The contents may contain \0 and will be 
copied]]
+                slice: const(Eina.Slice); [[The contents may contain \0 and 
will be copied]]
             }
         }
 
diff --git a/src/lib/ecore_con/efl_net_ip_address.eo 
b/src/lib/ecore_con/efl_net_ip_address.eo
index 5241553fe5..2cfc6cb98f 100644
--- a/src/lib/ecore_con/efl_net_ip_address.eo
+++ b/src/lib/ecore_con/efl_net_ip_address.eo
@@ -161,8 +161,7 @@ class Efl.Net.Ip_Address (Efl.Object) {
               Must be set after @.family.
             ]]
             values {
-                // TODO: eolian generates wrong type for getter with 
const(Eina.Slice)
-                address: Eina.Slice; [[Address bytes. If AF_INET it's 4 bytes. 
If AF_INET6, it's 16 bytes. This matches exactly what is in struct 
sockaddr_in::sin_addr or struct sockaddr_in6:sin6_addr, see @.sockaddr]]
+                address: const(Eina.Slice); [[Address bytes. If AF_INET it's 4 
bytes. If AF_INET6, it's 16 bytes. This matches exactly what is in struct 
sockaddr_in::sin_addr or struct sockaddr_in6:sin6_addr, see @.sockaddr]]
             }
         }
 

-- 


Reply via email to