From 43c5d1305eca158be09eb7ef3e61a041e45d76a9 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Tue, 29 Jan 2019 11:54:55 -0800 Subject: [PATCH] efl: make sure that the expected lifecycle of the children of Efl.Model is well described. Reviewed-by: Xavi Artigas 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 {