diff options
Diffstat (limited to 'plugins/MirLua/Modules/m_msg_buttonsbar/src/main.cpp')
-rw-r--r-- | plugins/MirLua/Modules/m_msg_buttonsbar/src/main.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/plugins/MirLua/Modules/m_msg_buttonsbar/src/main.cpp b/plugins/MirLua/Modules/m_msg_buttonsbar/src/main.cpp index 00ba7a7419..a52338d9ad 100644 --- a/plugins/MirLua/Modules/m_msg_buttonsbar/src/main.cpp +++ b/plugins/MirLua/Modules/m_msg_buttonsbar/src/main.cpp @@ -131,20 +131,10 @@ static int bcd__index(lua_State *L) return 1;
}
-static int bcd_topointer(lua_State *L)
-{
- CustomButtonClickData *bcd = *(CustomButtonClickData**)luaL_checkudata(L, 1, MT_CUSTOMBUTTONCLICKDATA);
-
- lua_pushlightuserdata(L, bcd);
-
- return 1;
-}
-
static luaL_Reg bcdMeta[] =
{
{ "__call", bcd__call },
{ "__index", bcd__index },
- { "topointer", bcd_topointer },
{ NULL, NULL }
};
|