aboutsummaryrefslogtreecommitdiff
path: root/src/io.h
diff options
context:
space:
mode:
authorame <[email protected]>2023-12-28 19:02:03 -0600
committerame <[email protected]>2023-12-28 19:02:03 -0600
commit6c0a32d32ee310a78a8c5651dca443d378bb1f32 (patch)
tree6a266ec7e4f61e90c23ce6df557203f948d36d29 /src/io.h
parent730313437437a9495390b7c2f0a6eded3dbc2653 (diff)
json parsing :p
Diffstat (limited to 'src/io.h')
-rw-r--r--src/io.h3
1 files changed, 3 insertions, 0 deletions
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}
};