Skip to content
Snippets Groups Projects
Commit 9932adc0 authored by Eugine Blikh's avatar Eugine Blikh Committed by Konstantin Osipov
Browse files

`iterator_type` is missing in public API

closes gh-2576
parent 7b1028a4
No related branches found
No related tags found
No related merge requests found
......@@ -169,6 +169,7 @@ set(api_headers
${CMAKE_SOURCE_DIR}/src/box/schema.h
${CMAKE_SOURCE_DIR}/src/box/box.h
${CMAKE_SOURCE_DIR}/src/box/index.h
${CMAKE_SOURCE_DIR}/src/box/iterator_type.h
${CMAKE_SOURCE_DIR}/src/box/error.h
${CMAKE_SOURCE_DIR}/src/box/lua/call.h
${CMAKE_SOURCE_DIR}/src/box/lua/tuple.h
......
......@@ -37,6 +37,8 @@
extern "C" {
#endif /* defined(__cplusplus) */
/** \cond public */
/**
* Controls how to iterate over tuples in an index.
* Different index types support different iterator types.
......@@ -74,6 +76,8 @@ enum iterator_type {
iterator_type_MAX
};
/** \endcond public */
extern const char *iterator_type_strs[];
/**
......
......@@ -49,6 +49,7 @@ args(box_function_ctx_t *ctx, const char *args, const char *args_end)
int
multi_inc(box_function_ctx_t *ctx, const char *args, const char *args_end)
{
(void )ITER_ALL;
static const char *SPACE_NAME = "test";
static const char *INDEX_NAME = "primary";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment