cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=43c5d1305eca158be09eb7ef3e61a041e45d76a9
commit 43c5d1305eca158be09eb7ef3e61a041e45d76a9 Author: Cedric BAIL <[email protected]> Date: Tue Jan 29 11:54:55 2019 -0800 efl: make sure that the expected lifecycle of the children of Efl.Model is well described. Reviewed-by: Xavi Artigas <[email protected]> Differential Revision: https://phab.enlightenment.org/D7861 --- src/lib/efl/interfaces/efl_model.eo | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/efl/interfaces/efl_model.eo b/src/lib/efl/interfaces/efl_model.eo index 48c4809aa8..e7ff4aa05f 100644 --- a/src/lib/efl/interfaces/efl_model.eo +++ b/src/lib/efl/interfaces/efl_model.eo @@ -117,6 +117,10 @@ interface @beta Efl.Model See @.children_count.get + 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. + @since 1.14 ]] params { --
