elementary: properly mark iterator usage in Efl.Ui.Factory.
authorCedric Bail <cedric.bail@free.fr>
Tue, 24 Sep 2019 23:48:31 +0000 (16:48 -0700)
committerJongmin Lee <jm105.lee@samsung.com>
Wed, 25 Sep 2019 21:12:44 +0000 (06:12 +0900)
Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D10132

src/lib/efl/interfaces/efl_ui_factory.eo

index 47dd203..b0518a0 100644 (file)
@@ -21,10 +21,10 @@ interface @beta Efl.Ui.Factory extends Efl.Ui.Property_Bind, Efl.Ui.Factory_Bind
            Note: This is the function you need to implement for a custom factory, but if you want to use a factory,
            you should rely on @Efl.Ui.View_Factory.create_with_event.]]
          params {
-            models: iterator<Efl.Model>; [[Efl iterator providing the model to be associated to the new item.
+            models: iterator<Efl.Model> @move; [[Efl iterator providing the model to be associated to the new item.
                                            It should remain valid until the end of the function call.]]
          }
-         return: future<Efl.Gfx.Entity>; [[Created UI object.]]
+         return: future<Efl.Gfx.Entity> @move @no_unused; [[Created UI object.]]
       }
       release {
          [[Release a UI object and disconnect from models.]]