zmike pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=b5e5117992e2e8601cfa786f90614a4a2e0be39c

commit b5e5117992e2e8601cfa786f90614a4a2e0be39c
Author: Xavi Artigas <xavierarti...@yahoo.es>
Date:   Mon Sep 23 15:27:14 2019 -0400

    docs: Clarify behavior of NULL in Efl.Pack_Linear.
    
    Summary: Depends on D10023
    
    Reviewers: zmike, bu5hm4n
    
    Reviewed By: bu5hm4n
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Maniphest Tasks: T8210
    
    Differential Revision: https://phab.enlightenment.org/D10024
---
 src/lib/efl/interfaces/efl_pack_linear.eo | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/lib/efl/interfaces/efl_pack_linear.eo 
b/src/lib/efl/interfaces/efl_pack_linear.eo
index 0d152ec613..f23886e35f 100644
--- a/src/lib/efl/interfaces/efl_pack_linear.eo
+++ b/src/lib/efl/interfaces/efl_pack_linear.eo
@@ -36,29 +36,35 @@ interface Efl.Pack_Linear extends Efl.Pack
          return: bool; [[$false if $subobj could not be packed.]]
       }
       pack_before {
-         [[Prepend an object before an existing sub-object.
+         [[Prepend an object before the $existing sub-object.
 
            When this container is deleted, it will request deletion of the
            given $subobj. Use @Efl.Pack.unpack to remove $subobj from this
            container without deleting it.
+
+           If $existing is $NULL this method behaves like @.pack_begin.
          ]]
          params {
             @in subobj: Efl.Gfx.Entity; [[Object to pack before $existing.]]
-            @in existing: const(Efl.Gfx.Entity); [[Existing reference 
sub-object.]]
+            @in existing: const(Efl.Gfx.Entity); [[Existing reference 
sub-object. Must already belong to the container
+                                                   or be $NULL.]]
          }
          return: bool; [[$false if $existing could not be found or $subobj
                          could not be packed.]]
       }
       pack_after {
-         [[Append an object after an existing sub-object.
+         [[Append an object after the $existing sub-object.
 
            When this container is deleted, it will request deletion of the
            given $subobj. Use @Efl.Pack.unpack to remove $subobj from this
            container without deleting it.
+
+           If $existing is $NULL this method behaves like @.pack_end.
          ]]
          params {
             @in subobj: Efl.Gfx.Entity; [[Object to pack after $existing.]]
-            @in existing: const(Efl.Gfx.Entity); [[Existing reference 
sub-object.]]
+            @in existing: const(Efl.Gfx.Entity); [[Existing reference 
sub-object. Must already belong to the container
+                                                   or be $NULL.]]
          }
          return: bool; [[$false if $existing could not be found or $subobj
                          could not be packed.]]

-- 


Reply via email to