aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_item.h
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2013-06-25 11:02:02 -0400
committerkwolekr <kwolekr@minetest.net>2013-06-27 22:35:35 -0400
commitd6ac3d8d9a6484f2d348d1caea203de0069b6bd6 (patch)
treeaacdcb34b068a45a7f798769519632657813a554 /src/script/lua_api/l_item.h
parente47f6fdfe985b8907e0aa7372bb325ceb5ed5f4c (diff)
downloadminetest-d6ac3d8d9a6484f2d348d1caea203de0069b6bd6.tar.gz
minetest-d6ac3d8d9a6484f2d348d1caea203de0069b6bd6.tar.bz2
minetest-d6ac3d8d9a6484f2d348d1caea203de0069b6bd6.zip
Add LuaVoxelManip
Diffstat (limited to 'src/script/lua_api/l_item.h')
-rw-r--r--src/script/lua_api/l_item.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/script/lua_api/l_item.h b/src/script/lua_api/l_item.h
index cbed4ae0b..bad517e08 100644
--- a/src/script/lua_api/l_item.h
+++ b/src/script/lua_api/l_item.h
@@ -140,10 +140,12 @@ class ModApiItemMod
public:
ModApiItemMod();
- bool Initialize(lua_State *L,int top);
+ bool Initialize(lua_State *L, int top);
static int l_register_item_raw(lua_State *L);
static int l_register_alias_raw(lua_State *L);
+ static int l_get_content_id(lua_State *L);
+ static int l_get_name_from_content_id(lua_State *L);
};