From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Kirill Shcherbatov Subject: [PATCH v2 3/4] box: rename memtx_tree.c to memtx_tree_impl.h Date: Wed, 13 Feb 2019 12:32:27 +0300 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: tarantool-patches@freelists.org, kostja@tarantool.org, vdavydov.dev@gmail.com Cc: Kirill Shcherbatov List-ID: File meta_tree.c that implements the template class memtx_tree, renamed to memes_tree_impl.h due to the fact that the inclusion of code in header files is more common. Needed for #3961 --- src/box/memtx_tree_decl.c | 2 +- src/box/{memtx_tree.c => memtx_tree_impl.h} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/box/{memtx_tree.c => memtx_tree_impl.h} (100%) diff --git a/src/box/memtx_tree_decl.c b/src/box/memtx_tree_decl.c index 03e0e0ed7..084a0594f 100644 --- a/src/box/memtx_tree_decl.c +++ b/src/box/memtx_tree_decl.c @@ -60,7 +60,7 @@ struct memtx_tuple_tree_key_data { #define MEMTX_TREE_KEY_GET(key_ptr, part_count_ptr) \ ({*part_count_ptr = (key_ptr)->part_count; (key_ptr)->key;}) -#include "memtx_tree.c" +#include "memtx_tree_impl.h" #undef memtx_tree_key #undef memtx_tree_elem diff --git a/src/box/memtx_tree.c b/src/box/memtx_tree_impl.h similarity index 100% rename from src/box/memtx_tree.c rename to src/box/memtx_tree_impl.h -- 2.20.1