Commit 46b0eb66 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Kill VLC_OBJECT_INTF

parent 1ac60c8c
...@@ -73,9 +73,11 @@ int intf_Create( vlc_object_t *p_this, const char *psz_module ) ...@@ -73,9 +73,11 @@ int intf_Create( vlc_object_t *p_this, const char *psz_module )
{ {
libvlc_int_t *p_libvlc = p_this->p_libvlc; libvlc_int_t *p_libvlc = p_this->p_libvlc;
intf_thread_t * p_intf; intf_thread_t * p_intf;
static const char psz_type[] = "interface";
/* Allocate structure */ /* Allocate structure */
p_intf = vlc_object_create( p_libvlc, VLC_OBJECT_INTF ); p_intf = vlc_custom_create( p_libvlc, sizeof( *p_intf ),
VLC_OBJECT_GENERIC, psz_type );
if( !p_intf ) if( !p_intf )
return VLC_ENOMEM; return VLC_ENOMEM;
......
...@@ -53,7 +53,6 @@ void system_End ( libvlc_int_t * ); ...@@ -53,7 +53,6 @@ void system_End ( libvlc_int_t * );
#define vlc_object_signal_unlocked( obj ) #define vlc_object_signal_unlocked( obj )
vlc_list_t *vlc_list_find( vlc_object_t *, int, int ); vlc_list_t *vlc_list_find( vlc_object_t *, int, int );
#define VLC_OBJECT_INTF (-4)
/* /*
* Threads subsystem * Threads subsystem
......
...@@ -205,10 +205,6 @@ void * __vlc_object_create( vlc_object_t *p_this, int i_type ) ...@@ -205,10 +205,6 @@ void * __vlc_object_create( vlc_object_t *p_this, int i_type )
switch( i_type ) switch( i_type )
{ {
case VLC_OBJECT_INTF:
i_size = sizeof(intf_thread_t);
psz_type = "interface";
break;
case VLC_OBJECT_DECODER: case VLC_OBJECT_DECODER:
i_size = sizeof(decoder_t); i_size = sizeof(decoder_t);
psz_type = "decoder"; psz_type = "decoder";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment