Mon, 28 Jul 2014 15:10:22 +0200
fixed doc
Doxyfile | file | annotate | diff | comparison | revisions | |
ucx/stack.h | file | annotate | diff | comparison | revisions |
1.1 --- a/Doxyfile Mon Jul 28 15:02:17 2014 +0200 1.2 +++ b/Doxyfile Mon Jul 28 15:10:22 2014 +0200 1.3 @@ -336,22 +336,6 @@ 1.4 1.5 TYPEDEF_HIDES_STRUCT = NO 1.6 1.7 -# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to 1.8 -# determine which symbols to keep in memory and which to flush to disk. 1.9 -# When the cache is full, less often used symbols will be written to disk. 1.10 -# For small to medium size projects (<1000 input files) the default value is 1.11 -# probably good enough. For larger projects a too small cache size can cause 1.12 -# doxygen to be busy swapping symbols to and from disk most of the time 1.13 -# causing a significant performance penalty. 1.14 -# If the system has enough physical memory increasing the cache will improve the 1.15 -# performance by keeping more symbols in memory. Note that the value works on 1.16 -# a logarithmic scale so increasing the size by one will roughly double the 1.17 -# memory usage. The cache size is given by this formula: 1.18 -# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, 1.19 -# corresponding to a cache size of 2^16 = 65536 symbols. 1.20 - 1.21 -SYMBOL_CACHE_SIZE = 0 1.22 - 1.23 # Similar to the SYMBOL_CACHE_SIZE the size of the symbol lookup cache can be 1.24 # set using LOOKUP_CACHE_SIZE. This cache is used to resolve symbols given 1.25 # their name and scope. Since this can be an expensive process and often the
2.1 --- a/ucx/stack.h Mon Jul 28 15:02:17 2014 +0200 2.2 +++ b/ucx/stack.h Mon Jul 28 15:10:22 2014 +0200 2.3 @@ -104,7 +104,7 @@ 2.4 * @return a pointer to the allocated memory 2.5 * @see ucx_stack_malloc 2.6 */ 2.7 -#define ucx_stack_push(s, n) ucx_stack_malloc(s, n) 2.8 +#define ucx_stack_push(stack, n) ucx_stack_malloc(stack, n) 2.9 2.10 /** 2.11 * Allocates an array of stack memory 2.12 @@ -123,12 +123,12 @@ 2.13 * Alias for #ucx_stack_calloc(). 2.14 * 2.15 * @param stack a pointer to the stack 2.16 - * @param nelem amount of elements to allocate 2.17 + * @param n amount of elements to allocate 2.18 * @param elsize amount of memory per element 2.19 * @return a pointer to the allocated memory 2.20 * @see ucx_stack_calloc 2.21 */ 2.22 -#define ucx_stack_pusharr(st,n,es) ucx_stack_calloc(st,n,es) 2.23 +#define ucx_stack_pusharr(stack,n,elsize) ucx_stack_calloc(stack,n,elssize) 2.24 2.25 /** 2.26 * Reallocates memory on the stack.