From: Cedric Bail Date: Tue, 24 Sep 2019 23:48:31 +0000 (-0700) Subject: elementary: properly mark iterator usage in Efl.Ui.Factory. X-Git-Tag: submit/tizen/20190925.214157~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7ba49d69f1e49ebd771af0d83461003fffbaac62;p=platform%2Fupstream%2Fefl.git elementary: properly mark iterator usage in Efl.Ui.Factory. Reviewed-by: SangHyeon Jade Lee Differential Revision: https://phab.enlightenment.org/D10132 --- diff --git a/src/lib/efl/interfaces/efl_ui_factory.eo b/src/lib/efl/interfaces/efl_ui_factory.eo index 47dd203..b0518a0 100644 --- a/src/lib/efl/interfaces/efl_ui_factory.eo +++ b/src/lib/efl/interfaces/efl_ui_factory.eo @@ -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 iterator providing the model to be associated to the new item. + models: iterator @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; [[Created UI object.]] + return: future @move @no_unused; [[Created UI object.]] } release { [[Release a UI object and disconnect from models.]]