Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 652 Bytes

README.md

File metadata and controls

28 lines (15 loc) · 652 Bytes

About

Tokyo Cabinet from Tokyo Cabinet: a modern implementation of DBM, version 1.4.48, with Lua binding from slact/lua-tokyocabinet-static.

Origin Lua binding export tokyocabinet to global ENV, I modified this, make it return table.

Build

please modify build.sh for Lua/LuaJIT library path.

$ ./build.sh tokyocabinet # build tokyocabinet DBM
$ ./build.sh lua -I/usr/local/include -L/usr/local/lib -lluajit # build Lua library

and run test

$ sh test.sh

Usage

refers to lua-example, build.sh it and run test.sh to get a glance.