astobj2: Additional refactoring to push impl specific code down into the impls.
authorGeorge Joseph <george.joseph@fairview5.com>
Fri, 20 Jun 2014 15:27:43 +0000 (15:27 +0000)
committerGeorge Joseph <george.joseph@fairview5.com>
Fri, 20 Jun 2014 15:27:43 +0000 (15:27 +0000)
commit577632dec957bfec258918a381133a3c41411b37
tree4eec13395db7c190e79cbedf3669b80fff4f98ea
parentd87f8c429e6852d11f7a3bddf6981e2f754c1ea8
astobj2: Additional refactoring to push impl specific code down into the impls.

Move some implementation specific code from astobj2_container.c into
astobj2_hash.c and astobj2_rbtree.c.  This completely removes the need for
astobj2_container to switch on RTTI and it no longer has any knowledge of
the implementation details.

Also adds AO2_DEBUG as a new compile option in menuselect which controls
astobj2 debugging independently of AST_DEVMODE and REF_DEBUG.

Tested by: George Joseph
Review: https://reviewboard.asterisk.org/r/3593/
........

Merged revisions 416806 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@416807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
build_tools/cflags.xml
main/astobj2_container.c
main/astobj2_container_private.h
main/astobj2_hash.c
main/astobj2_private.h
main/astobj2_rbtree.c
tests/test_astobj2.c