Fix #130: Convert box.pack() and box.unpack() to a new 'pickle' module
This patch adds a new Lua module called 'pickle'. This module incorporates former box.pack() and box.unpack() functions. These functions removed from core because they are not needed for box anymore. This patch also removes all box-specific formats from these functions.
Showing
- src/CMakeLists.txt 1 addition, 0 deletionssrc/CMakeLists.txt
- src/box/lua/call.cc 0 additions, 394 deletionssrc/box/lua/call.cc
- src/lua/init.cc 2 additions, 0 deletionssrc/lua/init.cc
- src/lua/pickle.cc 266 additions, 0 deletionssrc/lua/pickle.cc
- src/lua/pickle.h 35 additions, 0 deletionssrc/lua/pickle.h
- test/box/bsdsocket.result 7 additions, 4 deletionstest/box/bsdsocket.result
- test/box/bsdsocket.test.lua 4 additions, 3 deletionstest/box/bsdsocket.test.lua
- test/box/misc.result 1 addition, 3 deletionstest/box/misc.result
- test/box/misc.test.lua 1 addition, 1 deletiontest/box/misc.test.lua
- test/box/pack.result 26 additions, 59 deletionstest/box/pack.result
- test/box/pack.test.lua 21 additions, 27 deletionstest/box/pack.test.lua
Loading
Please register or sign in to comment