【文件属性】:
文件名称:lua-conf:使用 lua 作为配置文件
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-28 21:26:10
C
lua-conf
使用 lua 作为配置文件
依赖关系
liblua.a
建造
./start_build.sh
应用程序接口
参见sample.c和src/conf.h
int conf_init(const char *filename);
int conf_get_string(const char *expr, const char **out);
int conf_get_double(const char *expr, double *out);
int conf_get_int(const char *expr, int *out);
int conf_get_bool(const char *expr, int *out);
void conf_free(void);
【文件预览】:
lua-conf-master
----.gitignore(230B)
----package.json(192B)
----src()
--------conf.c(3KB)
--------conf.h(473B)
----.travis.yml(108B)
----sample.c(1KB)
----LICENSE(1KB)
----start_build.sh(98B)
----README.md(522B)
----conf()
--------config.lua(185B)
----CMakeLists.txt(308B)