cfadmin-cn / lua-ini

lua ini parsing library implemented by cfadmin.

Home Page:https://cfadmin.cn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lua-ini

The ini library written in C exports interfaces for Lua to use.

Build

cd lua-ini and make build

Usage

  • use ini.load(config_string) to load ini string and return table.

  • use ini.loadfile(config_filename) to load ini file and return table.

Example

Please refer to the test.lua file.

License

MIT

About

lua ini parsing library implemented by cfadmin.

https://cfadmin.cn

License:MIT License


Languages

Language:C 91.4%Language:Lua 5.4%Language:Makefile 3.2%