Skip to content
Snippets Groups Projects
  • Corey Farrell's avatar
    4d1c9d87
    core: Stop using AST_INLINE_API for allocator functions. · 4d1c9d87
    Corey Farrell authored
    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
    4d1c9d87
    History
    core: Stop using AST_INLINE_API for allocator functions.
    Corey Farrell authored
    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
.gitignore 310 B
aelbison.c
aelparse
aelparse.c
ast_expr2.c
ast_expr2f.c
astmm.c
astman
astcanary
astdb2bdb
astdb2sqlite3
check_expr
check_expr2
check_expr2.dSYM/
conf2ael
db1-ast/libdb1.a
hashtab.c
lock.c
md5.c
muted
pbx_ael.c
pval.c
smsq
stereorize
strcompat.c
streamplayer
threadstorage.c
conf_bridge_binaural_hrir_importer