This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository efl.
View the commit online.
commit 4dea60e40cafc663b5b8a5c921a5f4d12ce3a8a6
Author: Cedric BAIL <[email protected]>
AuthorDate: Mon Nov 9 17:20:41 2026 -0600
efl: say which rows Efl.Model.children_slice_get answers with
A model that wraps another one has to know whether a slice means the
rows as they were when it was asked, or the rows there are when the
future is done: rows can be added or removed in between. The first is
what the models of EFL answer, so write it down.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
src/lib/efl/interfaces/efl_model.eo | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/lib/efl/interfaces/efl_model.eo b/src/lib/efl/interfaces/efl_model.eo
index 16f416e475..c9627328fd 100644
--- a/src/lib/efl/interfaces/efl_model.eo
+++ b/src/lib/efl/interfaces/efl_model.eo
@@ -136,6 +136,11 @@ interface Efl.Model
See @.children_count.get
+ The answer is the rows as they were when the call was made:
+ rows that are added or removed before the future is done do not
+ change which rows it holds, and a row that left meanwhile is
+ still in it (its index is then invalid).
+
Note: The returned children will live only as long as the future
itself. Once the future is done, if you want to keep the object
alive, you need to take a reference for yourself.
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.