The ini
library written in C
exports interfaces for Lua
to use.
cd lua-ini
and make build
-
use
ini.load(config_string)
to loadini
string and returntable
. -
use
ini.loadfile(config_filename)
to loadini
file and returntable
.
Please refer to the test.lua
file.