jpeg pushed a commit to branch master.

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

commit 3830cbaa25329b94252eccc7ac00449d023d5a6b
Author: Bryce Harrington <[email protected]>
Date:   Mon Nov 13 12:04:32 2017 +0900

    eina: Improve eina_alloca API dox
    
    Reviewers: cedric, ajwillia.ms
    
    Subscribers: segfaultxavi, jpeg
    
    Differential Revision: https://phab.enlightenment.org/D5461
---
 src/lib/eina/eina_alloca.h | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/src/lib/eina/eina_alloca.h b/src/lib/eina/eina_alloca.h
index c0e1b10217..db6a3945a6 100644
--- a/src/lib/eina/eina_alloca.h
+++ b/src/lib/eina/eina_alloca.h
@@ -24,8 +24,8 @@
 
 /**
  * @file eina_alloca.h
- * simplifies usage of alloca() by including the proper file
- * depending on the platform.
+ * Check if GCC's alloca() is available.  If it is available via a different 
spelling,
+ * define alloca to that spelling.
  */
 
 # ifdef EINA_HAVE_ALLOCA_H
@@ -43,8 +43,13 @@
 extern "C"
 #   endif
 /**
- * Allocates memory in the stack frame of the caller, so it's automatically
- * freed when the caller returns. See alloca(3) for details.
+ * @brief Allocates memory in the stack frame of the caller, so that it
+ * is automatically freed when the caller returns.
+ *
+ * @param size Number of bytes of space to allocate.
+ * @return Pointer to beginning of the allocated space.
+ *
+ * @see alloca(3) for more details.
  */
 void *alloca(size_t size);
 #  endif

-- 


Reply via email to