vlc | branch: master | Filip Roséen <[email protected]> | Fri Mar 17 03:35:57 2017 +0100| [73023dd157b26b3fc343019c84d8859de1571a8b] | committer: Hugo Beauzée-Luyssen
lua/libs: variables: remove luaL_checklightuserdata (unused) The last usage of this function was removed by fe5df3d in March 2012. Signed-off-by: Hugo Beauzée-Luyssen <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=73023dd157b26b3fc343019c84d8859de1571a8b --- modules/lua/libs/variables.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/lua/libs/variables.c b/modules/lua/libs/variables.c index 0e27673..300e181 100644 --- a/modules/lua/libs/variables.c +++ b/modules/lua/libs/variables.c @@ -307,12 +307,6 @@ end: return 1; } -static inline const void *luaL_checklightuserdata( lua_State *L, int narg ) -{ - luaL_checktype( L, narg, LUA_TLIGHTUSERDATA ); /* can raise an error */ - return lua_topointer( L, narg ); -} - static int vlclua_trigger_callback( lua_State *L ) { vlc_object_t **pp_obj = luaL_checkudata( L, 1, "vlc_object" ); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
