summaryrefslogtreecommitdiff
path: root/src/script/common/c_content.h
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2013-12-18 16:46:53 -0500
committerShadowNinja <shadowninja@minetest.net>2013-12-18 16:46:53 -0500
commit1ed90c90c304c6cc9cfddb722e4d15a1221d0177 (patch)
tree915dec8c285fa72866c5f250e84bec9af339fc11 /src/script/common/c_content.h
parent49cec3f78240ed6310a9b5dd05ce09a79ed5a12e (diff)
downloadminetest-1ed90c90c304c6cc9cfddb722e4d15a1221d0177.tar.gz
minetest-1ed90c90c304c6cc9cfddb722e4d15a1221d0177.tar.bz2
minetest-1ed90c90c304c6cc9cfddb722e4d15a1221d0177.zip
Add 'minetest.write_json'
Diffstat (limited to 'src/script/common/c_content.h')
-rw-r--r--src/script/common/c_content.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/common/c_content.h b/src/script/common/c_content.h
index 27019e29e..3b85e5403 100644
--- a/src/script/common/c_content.h
+++ b/src/script/common/c_content.h
@@ -150,6 +150,9 @@ void luaentity_get (lua_State *L,u16 id);
bool push_json_value (lua_State *L,
const Json::Value &value,
int nullindex);
+void get_json_value (lua_State *L,
+ Json::Value &root,
+ int index);
extern struct EnumString es_TileAnimationType[];