Skip to content

Latest commit

 

History

History
22 lines (11 loc) · 438 Bytes

README.md

File metadata and controls

22 lines (11 loc) · 438 Bytes

lua-toml

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

Build

cd lua-toml and make build

Usage

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

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

Example

Please refer to the test.lua file.

License

MIT