From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 622962A71F for ; Mon, 19 Mar 2018 14:10:51 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LCrmmR44uDi3 for ; Mon, 19 Mar 2018 14:10:51 -0400 (EDT) Received: from smtp44.i.mail.ru (smtp44.i.mail.ru [94.100.177.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 539652A698 for ; Mon, 19 Mar 2018 14:10:50 -0400 (EDT) From: Nikita Pettik Subject: [tarantool-patches] [PATCH 1/4] Move space_is_system helper from CPP define guard Date: Mon, 19 Mar 2018 21:10:37 +0300 Message-Id: <1172241ca154d5d8f812662996b20c998369102b.1521479592.git.korablev@tarantool.org> In-Reply-To: References: In-Reply-To: References: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org Cc: Nikita Pettik It uses no C++ functionality, so should be available from C source files. --- src/box/schema.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/box/schema.h b/src/box/schema.h index 9df4d4e24..b612b8b6f 100644 --- a/src/box/schema.h +++ b/src/box/schema.h @@ -92,6 +92,9 @@ space_foreach(int (*func)(struct space *sp, void *udata), void *udata); const char * schema_find_name(enum schema_object_type type, uint32_t object_id); +bool +space_is_system(struct space *space); + #if defined(__cplusplus) } /* extern "C" */ @@ -116,9 +119,6 @@ space_cache_replace(struct space *space); struct space * space_cache_delete(uint32_t id); -bool -space_is_system(struct space *space); - void schema_init(); -- 2.15.1