1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-13 10:49:17 +02:00
gluon-packages/libs/lua-jsonc/src/lua-jsonc.h
Matthias Schiffer d14cedea14
lua-jsonc: new package
This package replaces luci-lib-jsonc, and also provides utility functions
for use from other C libraries.
2018-01-18 16:27:40 +01:00

11 lines
242 B
C

#ifndef LUA_JSONC_H_
#define LUA_JSONC_H_
#include <json-c/json.h>
#include <lua.h>
void lua_jsonc_push_json(lua_State *L, struct json_object *obj);
struct json_object * lua_jsonc_tojson(lua_State *L, int index);
#endif /* LUA_JSONC_H_ */