diff options
author | Kahrl <kahrl@gmx.net> | 2013-09-02 02:01:49 +0200 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2013-09-02 02:20:08 +0200 |
commit | 1ecf51a13f434f5cbc0f6ccc1b9a2ac6402a895f (patch) | |
tree | e8ac8ced0ed73bd9a4a803dc703a213e3a9b91ec /src/script/common/c_content.h | |
parent | 71a6ffa76203a13b6cb0ec88b7ee57e04f809148 (diff) | |
download | minetest-1ecf51a13f434f5cbc0f6ccc1b9a2ac6402a895f.tar.gz minetest-1ecf51a13f434f5cbc0f6ccc1b9a2ac6402a895f.tar.bz2 minetest-1ecf51a13f434f5cbc0f6ccc1b9a2ac6402a895f.zip |
Add minetest.parse_json, engine.parse_json
Diffstat (limited to 'src/script/common/c_content.h')
-rw-r--r-- | src/script/common/c_content.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/script/common/c_content.h b/src/script/common/c_content.h index 6d1dfe1d5..27019e29e 100644 --- a/src/script/common/c_content.h +++ b/src/script/common/c_content.h @@ -39,6 +39,8 @@ extern "C" { #include "irrlichttypes_bloated.h" #include "util/string.h" +namespace Json { class Value; } + struct MapNode; class INodeDefManager; struct PointedThing; @@ -145,6 +147,10 @@ bool read_schematic (lua_State *L, int index, void luaentity_get (lua_State *L,u16 id); +bool push_json_value (lua_State *L, + const Json::Value &value, + int nullindex); + extern struct EnumString es_TileAnimationType[]; #endif /* C_CONTENT_H_ */ |