Changeset 91bf9631ce65c0e5183573810f338fe7cbc7ea1e
- Timestamp:
- 31/05/08 22:30:58
(5 months ago)
- Author:
- Rémi Denis-Courmont <rdenis@simphalempin.com>
- git-committer:
- Rémi Denis-Courmont <rdenis@simphalempin.com> 1212265858 +0300
- git-parent:
[c45fbbdf1014b87cc36f2cab4bb683415e123377]
- git-author:
- Rémi Denis-Courmont <rdenis@simphalempin.com> 1212265858 +0300
- Message:
vlc_current_object: remove, vlc_object_get does the same thing
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r13a1c6b |
r91bf963 |
|
| 130 | 130 | |
|---|
| 131 | 131 | static void InitDeviceValues( libvlc_int_t * ); |
|---|
| 132 | | |
|---|
| 133 | | /***************************************************************************** |
|---|
| 134 | | * vlc_current_object: return the current object. |
|---|
| 135 | | ***************************************************************************** |
|---|
| 136 | | * If i_object is non-zero, return the corresponding object. Otherwise, |
|---|
| 137 | | * return the statically allocated p_vlc object. |
|---|
| 138 | | *****************************************************************************/ |
|---|
| 139 | | libvlc_int_t * vlc_current_object( int i_object ) |
|---|
| 140 | | { |
|---|
| 141 | | return i_object ? vlc_object_get( i_object ) : p_static_vlc; |
|---|
| 142 | | } |
|---|
| 143 | | |
|---|
| 144 | 132 | |
|---|
| 145 | 133 | /** |
|---|
| r234a17d |
r91bf963 |
|
| 164 | 164 | |
|---|
| 165 | 165 | libvlc_global_data_t *vlc_global (void); |
|---|
| 166 | | libvlc_int_t *vlc_current_object (int i_object); |
|---|
| 167 | 166 | |
|---|
| 168 | 167 | /** |
|---|
| rd666030 |
r91bf963 |
|
| 506 | 506 | /* Destination object-id is following object: */ |
|---|
| 507 | 507 | i_id = atoi( &val.psz_string[7] ); |
|---|
| 508 | | p_dest = ( vlc_object_t* )vlc_current_object( i_id ); |
|---|
| | 508 | p_dest = ( vlc_object_t* )vlc_object_get( i_id ); |
|---|
| 509 | 509 | if( !p_dest ) |
|---|
| 510 | 510 | { |
|---|