summaryrefslogtreecommitdiff
path: root/src/lib/data-stack.h
AgeCommit message (Expand)AuthorLines
2021-05-24lib: data-stack - Keep the largest unused block in memory after allTimo Sirainen-0/+4
2021-05-04lib: Remove data_stack_set_clean_after_pop()Timo Sirainen-2/+0
2021-05-04lib: data-stack - Add data_stack_grow eventTimo Sirainen-0/+1
2021-05-04lib: data-stack - Add t_pop_pass_str() and T_END_PASS_STR[_IF]()Timo Sirainen-0/+31
2021-05-04lib: Add data_stack_frame_contains()Timo Sirainen-0/+3
2021-05-04lib: Add data_stack_get_alloc_size()Timo Sirainen-0/+2
2020-11-23lib: Add data_stack_get_used_size()Timo Sirainen-0/+3
2016-12-16lib: *_new(): Use the new MALLOC_MULTIPLY() macro to avoid overflowsTimo Sirainen-1/+2
2016-12-16lib: Remove t_buffer_*_type()Timo Sirainen-6/+0
2016-11-15lib: fix data stack marker generationJosef 'Jeff' Sipek-2/+3
2016-11-02data-stack: T_BEGIN should use file & line number as the t_push markerJosef 'Jeff' Sipek-2/+3
2016-11-02data-stack: t_push should always keep track of the markerJosef 'Jeff' Sipek-6/+2
2016-11-02use __func__ instead of __FUNCTION__Josef 'Jeff' Sipek-5/+1
2016-10-06lib-test: Fixed assert-crash in test_exit() with --enable-static-checkerTimo Sirainen-0/+2
2016-09-08lib: Allow static analyzers to check for t_pop() leaks.Timo Sirainen-2/+2
2016-09-02lib: If DEBUG is enabled, use a pointer type for data_stack_frame_tTimo Sirainen-0/+4
2016-09-02lib: Changed t_pop() API to make it a bit more like free()Timo Sirainen-6/+9
2016-09-02lib: Created data_stack_frame_t type for data_stack_frameTimo Sirainen-8/+10
2016-05-30Remove t_malloc in favour of t_malloc_no0Martti Rannanjärvi-1/+1
2014-07-28lib: cosmetic - whitespace cleanup in allocator/memory-related codePhil Carmody-1/+1
2014-07-28lib: add identifying markers to data-stack framesPhil Carmody-4/+18
2014-06-16lib: Use __attribute__((returns_nonnull)) for the common memory/string functi...Timo Sirainen-4/+4
2009-09-29Added ATTR_HOT and ATTR_COLD macros. Use them in a couple of places.Timo Sirainen-3/+3
2008-06-20Added more consts, ATTR_CONSTs and ATTR_PUREs.Timo Sirainen-1/+1
2008-03-03Added t_buffer_alloc_last_full().Timo Sirainen-0/+2
2008-02-11Renamed T_FRAME_BEGIN/END to T_BEGIN/END. Removed T_FRAME() macro andTimo Sirainen-10/+3
2007-12-22Removed DISABLE_DATA_STACK. Using it was probably broken anyway and it wasTimo Sirainen-4/+3
2007-12-05Added T_FRAME*() macros. It's too easy to accidentally break t_push/t_popTimo Sirainen-0/+16
2007-12-05Comment updatesTimo Sirainen-13/+13
2007-09-16Renamed __attr_*__ to ATTR_*. Renamed __attrs_used__ to ATTRS_DEFINED.Timo Sirainen-2/+2
2007-09-16Changed .h ifdef/defines to use <NAME>_H format.Timo Sirainen-2/+2
2007-03-18Added data_stack_set_clean_after_pop()Timo Sirainen-0/+3
2006-11-01Use malloc attribute for the most commonly used memory and string allocationTimo Sirainen-2/+2
2006-01-13Added "bool" type and changed all ints that were used as booleans to bool.Timo Sirainen-1/+1
2005-03-27Added t_get_bytes_available().Timo Sirainen-0/+4
2002-10-28changed t_push() and t_pop() to return unsigned int. added globalTimo Sirainen-4/+4
2002-10-09s/t_try_grow/t_try_realloc/Timo Sirainen-2/+5
2002-10-09typofixTimo Sirainen-1/+1
2002-10-09s/temporary memory pool/data stack/ which is the correct name for it.Timo Sirainen-0/+89