efl: make sure that the expected lifecycle of the children of Efl.Model is well descr...
authorCedric BAIL <cedric.bail@free.fr>
Tue, 29 Jan 2019 19:54:55 +0000 (11:54 -0800)
committerWonki Kim <wonki_.kim@samsung.com>
Fri, 8 Mar 2019 11:49:35 +0000 (20:49 +0900)
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7861

src/lib/efl/interfaces/efl_model.eo

index 48c4809..e7ff4aa 100644 (file)
@@ -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 {