int vlclua_fd_init( lua_State *L, vlclua_dtable_t *dt ) { #ifndef _WIN32 if( vlc_pipe( dt->fd ) ) return -1; #endif dt->fdv = NULL; dt->fdc = 0; vlclua_set_object( L, vlclua_get_dtable, dt ); luaopen_net_intf( L ); return 0; }
void vlclua_set_this( lua_State *L, vlc_object_t *p_this ) { vlclua_set_object( L, vlclua_set_this, p_this ); }
void vlclua_set_playlist_internal( lua_State *L, playlist_t *pl ) { vlclua_set_object( L, vlclua_set_playlist_internal, pl ); }