Mon, 28 Jul 2014 15:10:22 +0200
fixed doc
Doxyfile | file | annotate | diff | comparison | revisions | |
ucx/stack.h | file | annotate | diff | comparison | revisions |
--- a/Doxyfile Mon Jul 28 15:02:17 2014 +0200 +++ b/Doxyfile Mon Jul 28 15:10:22 2014 +0200 @@ -336,22 +336,6 @@ TYPEDEF_HIDES_STRUCT = NO -# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to -# determine which symbols to keep in memory and which to flush to disk. -# When the cache is full, less often used symbols will be written to disk. -# For small to medium size projects (<1000 input files) the default value is -# probably good enough. For larger projects a too small cache size can cause -# doxygen to be busy swapping symbols to and from disk most of the time -# causing a significant performance penalty. -# If the system has enough physical memory increasing the cache will improve the -# performance by keeping more symbols in memory. Note that the value works on -# a logarithmic scale so increasing the size by one will roughly double the -# memory usage. The cache size is given by this formula: -# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, -# corresponding to a cache size of 2^16 = 65536 symbols. - -SYMBOL_CACHE_SIZE = 0 - # Similar to the SYMBOL_CACHE_SIZE the size of the symbol lookup cache can be # set using LOOKUP_CACHE_SIZE. This cache is used to resolve symbols given # their name and scope. Since this can be an expensive process and often the
--- a/ucx/stack.h Mon Jul 28 15:02:17 2014 +0200 +++ b/ucx/stack.h Mon Jul 28 15:10:22 2014 +0200 @@ -104,7 +104,7 @@ * @return a pointer to the allocated memory * @see ucx_stack_malloc */ -#define ucx_stack_push(s, n) ucx_stack_malloc(s, n) +#define ucx_stack_push(stack, n) ucx_stack_malloc(stack, n) /** * Allocates an array of stack memory @@ -123,12 +123,12 @@ * Alias for #ucx_stack_calloc(). * * @param stack a pointer to the stack - * @param nelem amount of elements to allocate + * @param n amount of elements to allocate * @param elsize amount of memory per element * @return a pointer to the allocated memory * @see ucx_stack_calloc */ -#define ucx_stack_pusharr(st,n,es) ucx_stack_calloc(st,n,es) +#define ucx_stack_pusharr(stack,n,elsize) ucx_stack_calloc(stack,n,elssize) /** * Reallocates memory on the stack.