ecore, ecore_con: fix const on Eina.Slice

Fixes TODOs from dd5cdda64b
after fixing T5024.
This commit is contained in:
Daniel Kolesa 2017-08-10 12:53:14 +02:00
parent 4733b206dd
commit 436815ca00
3 changed files with 3 additions and 6 deletions

View File

@ -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]]
}
}

View File

@ -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]]
}
}

View File

@ -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]]
}
}