Tarantool development patches archive
 help / color / mirror / Atom feed
From: Nikita Pettik <korablev@tarantool.org>
To: tarantool-patches@freelists.org
Cc: Nikita Pettik <korablev@tarantool.org>
Subject: [tarantool-patches] [PATCH 1/4] Move space_is_system helper from CPP define guard
Date: Mon, 19 Mar 2018 21:10:37 +0300	[thread overview]
Message-ID: <1172241ca154d5d8f812662996b20c998369102b.1521479592.git.korablev@tarantool.org> (raw)
In-Reply-To: <cover.1521479592.git.korablev@tarantool.org>
In-Reply-To: <cover.1521479592.git.korablev@tarantool.org>

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

  reply	other threads:[~2018-03-19 18:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-19 18:10 [tarantool-patches] [PATCH 0/4] Remove space id and index id from cursor Nikita Pettik
2018-03-19 18:10 ` Nikita Pettik [this message]
2018-03-19 18:10 ` [tarantool-patches] [PATCH 2/4] sql: rework OP_Clear internals Nikita Pettik
2018-03-20 10:54   ` [tarantool-patches] " Kirill Yukhin
2018-03-20 12:27     ` n.pettik
2018-03-19 18:10 ` [tarantool-patches] [PATCH 3/4] sql: remove struct ta_cursor and refactor BtCursor Nikita Pettik
2018-03-19 18:10 ` [tarantool-patches] [PATCH 4/4] sql: replace pgnoRoot with struct space in BtCursor Nikita Pettik
2018-03-20 10:58   ` [tarantool-patches] " Kirill Yukhin
2018-03-20 12:28     ` n.pettik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1172241ca154d5d8f812662996b20c998369102b.1521479592.git.korablev@tarantool.org \
    --to=korablev@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='Re: [tarantool-patches] [PATCH 1/4] Move space_is_system helper from CPP define guard' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox