Changeset 219e1deaa769e4f693cb41c59b2bf7c368a62f2c
- 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
| r3561b9b |
r219e1de |
|
| 100 | 100 | } |
|---|
| 101 | 101 | |
|---|
| 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 ) ); |
|---|
| 103 | 103 | |
|---|
| 104 | 104 | /* Only initialize gthreads if it's the first time we do it */ |
|---|
| r3561b9b |
r219e1de |
|
| 169 | 169 | for( i = 0; i < 10; i++ ) |
|---|
| 170 | 170 | { |
|---|
| 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 ) ); |
|---|
| 172 | 172 | vlc_object_attach( pp_objects[i], p_this ); |
|---|
| 173 | 173 | vlc_thread_create( pp_objects[i], "foo", MyThread, 0, true ); |
|---|
| … | … | |
| 301 | 301 | for( i = 0; i < MAXOBJ * i_level; i++ ) |
|---|
| 302 | 302 | { |
|---|
| 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 ) ); |
|---|
| 304 | 304 | } |
|---|
| 305 | 305 | |
|---|
| … | … | |
| 386 | 386 | for( i = 0; i < MAXTH * i_level; i++ ) |
|---|
| 387 | 387 | { |
|---|
| 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 ) ); |
|---|
| 389 | 389 | vlc_thread_create( pp_objects[i], "foo", Dummy, 0, true ); |
|---|
| 390 | 390 | } |
|---|
| … | … | |
| 418 | 418 | for( i = 0; i < MAXOBJ/MAXTH; i++ ) |
|---|
| 419 | 419 | { |
|---|
| 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 ) ); |
|---|
| 421 | 421 | } |
|---|
| 422 | 422 | |
|---|
| r42bb236 |
r219e1de |
|
| 334 | 334 | |
|---|
| 335 | 335 | /* 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 ) ); |
|---|
| 337 | 338 | vlc_object_attach( p_sys->p_worker_thread, p_this ); |
|---|
| 338 | 339 | if( vlc_thread_create( p_sys->p_worker_thread, "vnc worker thread", |
|---|
| … | … | |
| 733 | 734 | /* create the update request thread */ |
|---|
| 734 | 735 | p_sys->p_update_request_thread = vlc_object_create( p_filter, |
|---|
| 735 | | VLC_OBJECT_GENERIC ); |
|---|
| | 736 | sizeof( vlc_object_t ) ); |
|---|
| 736 | 737 | vlc_object_attach( p_sys->p_update_request_thread, p_filter ); |
|---|
| 737 | 738 | if( vlc_thread_create( p_sys->p_update_request_thread, |
|---|
| r25bf450 |
r219e1de |
|
| 200 | 200 | |
|---|
| 201 | 201 | 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 ) ); |
|---|
| 203 | 203 | if( !p_vout->p_sys->p_event ) |
|---|
| 204 | 204 | { |
|---|