vlc | branch: master | Pierre Ynard <[email protected]> | Wed Nov 16 09:40:47 2016 +0100| [09b208c2899875bceee729b30b00c7284447a724] | committer: Pierre Ynard
lua: privatize intf_sys_t > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=09b208c2899875bceee729b30b00c7284447a724 --- modules/lua/intf.c | 10 ++++++++++ modules/lua/vlc.h | 11 ----------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/modules/lua/intf.c b/modules/lua/intf.c index 210caf0..46738dc 100644 --- a/modules/lua/intf.c +++ b/modules/lua/intf.c @@ -47,6 +47,16 @@ static void *Run( void * ); static const char * const ppsz_intf_options[] = { "intf", "config", NULL }; /***************************************************************************** + * Local structures + *****************************************************************************/ +struct intf_sys_t +{ + char *psz_filename; + lua_State *L; + vlc_thread_t thread; + vlclua_dtable_t dtable; +}; +/***************************************************************************** * *****************************************************************************/ static inline void luaL_register_submodule( lua_State *L, const char *psz_name, diff --git a/modules/lua/vlc.h b/modules/lua/vlc.h index 6d55b3d..0186bfa 100644 --- a/modules/lua/vlc.h +++ b/modules/lua/vlc.h @@ -204,16 +204,5 @@ void vlclua_fd_interrupt( vlclua_dtable_t * ); void vlclua_fd_cleanup( vlclua_dtable_t * ); struct vlc_interrupt *vlclua_set_interrupt( lua_State *L ); -/** - * Per-interface private state - */ -struct intf_sys_t -{ - char *psz_filename; - lua_State *L; - vlc_thread_t thread; - vlclua_dtable_t dtable; -}; - #endif /* VLC_LUA_H */ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
