mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	core: Stop using AST_INLINE_API for allocator functions.
This replaces AST_INLINE_API allocators in utils.h with real functions implemented in astmm.c. Associated macro's are also moved from utils.h to astmm.h. Remove menuselect conflicts between MALLOC_DEBUG and DEBUG_CHAOS as they can now be combined. This has multiple benefits: * Simplifies asterisk/utils.h by removing inline functions and use of the logger. * Removal of these inline functions decreases size of Asterisk and module binaries by 1% or more. * Puts memory management functions together with and without MALLOC_DEBUG enabled, simplifying management of the code. * Enables DEBUG_CHAOS for ASTMM_REDIRECT and bundled pjproject. Change-Id: If9df4377f74bdbb627461b27a473123e05525887
This commit is contained in:
		| @@ -26,6 +26,7 @@ | ||||
| 	<support_level>extended</support_level> | ||||
|  ***/ | ||||
|  | ||||
| #define ASTMM_LIBC ASTMM_IGNORE | ||||
| #include "asterisk.h" | ||||
|  | ||||
| #include <newt.h> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user