Skip to content
Snippets Groups Projects
Commit 676ccceb authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

arm: box/lua/net_box.cc -> box/lua/net_box.c

parent a39900d5
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ add_library(box
lua/sophia.cc
lua/error.cc
lua/session.cc
lua/net_box.cc
lua/net_box.c
${bin_sources})
target_link_libraries(box ${sophia_lib})
......@@ -35,7 +35,6 @@
#include "box/iproto_constants.h"
#include "box/lua/tuple.h" /* luamp_convert_tuple() / luamp_convert_key() */
#include "box/lua/error.h"
#include "lua/msgpack.h"
#include <msgpuck/msgpuck.h> /* mp_store_u32() */
......
......@@ -30,12 +30,16 @@
* THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#include <box/tuple.h>
#include <stddef.h>
#if defined(__cplusplus)
extern "C" {
#endif
struct lua_State;
struct txn;
struct tuple;
struct mpstream;
struct luaL_serializer;
/**
* Push tuple on lua stack
......@@ -44,7 +48,7 @@ void
lbox_pushtuple(struct lua_State *L, struct tuple *tuple);
static inline int
lbox_pushtupleornil(lua_State *L, box_tuple_t *tuple)
lbox_pushtupleornil(struct lua_State *L, struct tuple *tuple)
{
if (tuple == NULL)
return 0;
......@@ -67,15 +71,11 @@ luamp_encode_tuple(struct lua_State *L, struct luaL_serializer *cfg,
struct mpstream *stream, int index);
char *
lbox_encode_tuple_on_gc(lua_State *L, int idx, size_t *p_len);
lbox_encode_tuple_on_gc(struct lua_State *L, int idx, size_t *p_len);
void
box_lua_tuple_init(struct lua_State *L);
#if defined(__cplusplus)
extern "C" {
#endif
struct tuple *
boxffi_tuple_update(struct tuple *tuple, const char *expr, const char *expr_end);
......
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