From 8c591404e3ce9a36acb5fbe26ceaf5d6f63048e5 Mon Sep 17 00:00:00 2001 From: ame Date: Thu, 28 Dec 2023 19:02:03 -0600 Subject: json parsing :p --- src/io.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/io.h') diff --git a/src/io.h b/src/io.h index d32d313..570e4b4 100644 --- a/src/io.h +++ b/src/io.h @@ -25,6 +25,8 @@ int l_warn(lua_State*); int l_error(lua_State*); int l_pprint(lua_State*); +int l_json_parse(lua_State*); + static const luaL_Reg io_function_list [] = { {"readfile",l_readfile}, {"debug",l_debug}, @@ -32,5 +34,6 @@ static const luaL_Reg io_function_list [] = { {"warn",l_warn}, {"error",l_error}, {"pprint",l_pprint}, + {"json_parse",l_json_parse}, {NULL,NULL} }; -- cgit v1.2.3