[PATCH v3 4/7] memtx: hide index implementation details from header

Vladimir Davydov vdavydov.dev at gmail.com
Mon Feb 25 18:33:25 MSK 2019


On Fri, Feb 22, 2019 at 06:42:29PM +0300, Kirill Shcherbatov wrote:
> Refactored memtx_tree code so that memtx_tree.h, memtx_rtree.h,
> memtx_bitset.h, memtx_hash.h contained only the signature of the
> tree object constructor while all implementation details were in
> corresponding *.c files.
> 
> Needed for #3961
> ---
>  src/box/memtx_bitset.c | 17 +++++++++--
>  src/box/memtx_bitset.h | 26 ++--------------
>  src/box/memtx_hash.c   | 43 ++++++++++++++++++++++++--
>  src/box/memtx_hash.h   | 44 +++------------------------
>  src/box/memtx_rtree.c  | 12 ++++++--
>  src/box/memtx_rtree.h  | 16 ++--------
>  src/box/memtx_space.c  | 16 +++++-----
>  src/box/memtx_tree.c   | 62 ++++++++++++++++++++++++++++++++++++--
>  src/box/memtx_tree.h   | 68 ++----------------------------------------
>  9 files changed, 147 insertions(+), 157 deletions(-)

Pushed to 2.1.



More information about the Tarantool-patches mailing list