Changeset 219e1deaa769e4f693cb41c59b2bf7c368a62f2c

Show
Ignore:
Timestamp:
06/28/08 20:31:20 (2 months ago)
Author:
Rémi Denis-Courmont <rdenis@simphalempin.com>
git-committer:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1214677880 +0300
git-parent:

[2d7ef1f4bb145fd0ea210edefd32f60e2eabb214]

git-author:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1214677880 +0300
Message:

Use sizeof(vlc_object_t) as appropriate

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/misc/gtk_main.c

    r3561b9b r219e1de  
    100100    } 
    101101 
    102     p_gtk_main = vlc_object_create( p_this, VLC_OBJECT_GENERIC ); 
     102    p_gtk_main = vlc_object_create( p_this, sizeof( vlc_object_t ) ); 
    103103 
    104104    /* Only initialize gthreads if it's the first time we do it */ 
  • modules/misc/testsuite/test4.c

    r3561b9b r219e1de  
    169169    for( i = 0; i < 10; i++ ) 
    170170    { 
    171         pp_objects[i] = vlc_object_create( p_this, VLC_OBJECT_GENERIC ); 
     171        pp_objects[i] = vlc_object_create( p_this, sizeof( vlc_object_t ) ); 
    172172        vlc_object_attach( pp_objects[i], p_this ); 
    173173        vlc_thread_create( pp_objects[i], "foo", MyThread, 0, true ); 
     
    301301    for( i = 0; i < MAXOBJ * i_level; i++ ) 
    302302    { 
    303         pp_objects[i] = vlc_object_create( p_this, VLC_OBJECT_GENERIC ); 
     303        pp_objects[i] = vlc_object_create( p_this, sizeof( vlc_object_t ) ); 
    304304    } 
    305305 
     
    386386    for( i = 0; i < MAXTH * i_level; i++ ) 
    387387    { 
    388         pp_objects[i] = vlc_object_create( p_this, VLC_OBJECT_GENERIC ); 
     388        pp_objects[i] = vlc_object_create( p_this, sizeof( vlc_object_t ) ); 
    389389        vlc_thread_create( pp_objects[i], "foo", Dummy, 0, true ); 
    390390    } 
     
    418418    for( i = 0; i < MAXOBJ/MAXTH; i++ ) 
    419419    { 
    420         pp_objects[i] = vlc_object_create( p_this, VLC_OBJECT_GENERIC ); 
     420        pp_objects[i] = vlc_object_create( p_this, sizeof( vlc_object_t ) ); 
    421421    } 
    422422 
  • modules/video_filter/remoteosd.c

    r42bb236 r219e1de  
    334334 
    335335    /* create the vnc worker thread */ 
    336     p_sys->p_worker_thread = vlc_object_create( p_this, VLC_OBJECT_GENERIC ); 
     336    p_sys->p_worker_thread = vlc_object_create( p_this, 
     337                                                sizeof( vlc_object_t ) ); 
    337338    vlc_object_attach( p_sys->p_worker_thread, p_this ); 
    338339    if( vlc_thread_create( p_sys->p_worker_thread, "vnc worker thread", 
     
    733734    /* create the update request thread */ 
    734735    p_sys->p_update_request_thread = vlc_object_create( p_filter, 
    735                                                         VLC_OBJECT_GENERIC ); 
     736                                                     sizeof( vlc_object_t ) ); 
    736737    vlc_object_attach( p_sys->p_update_request_thread, p_filter ); 
    737738    if( vlc_thread_create( p_sys->p_update_request_thread, 
  • modules/video_output/msw/wingdi.c

    r25bf450 r219e1de  
    200200 
    201201    p_vout->p_sys->p_event = (vlc_object_t *) 
    202         vlc_object_create( p_vout, VLC_OBJECT_GENERIC ); 
     202        vlc_object_create( p_vout, sizeof( vlc_object_t ) ); 
    203203    if( !p_vout->p_sys->p_event ) 
    204204    {