]> git.sesse.net Git - vlc/commitdiff
src/playlist/item*
authorSigmund Augdal Helberg <sigmunau@videolan.org>
Sat, 17 Jan 2004 14:08:37 +0000 (14:08 +0000)
committerSigmund Augdal Helberg <sigmunau@videolan.org>
Sat, 17 Jan 2004 14:08:37 +0000 (14:08 +0000)
 * Updated documentation on playlist_Add* (they return a id, not the position)

src/playlist/item-ext.c
src/playlist/item.c

index deb1973feea4374500722d230888dd45b8b0c37c..5bc777b1dfe35f2f2fda20d0c9a73f362b141b56 100644 (file)
@@ -2,7 +2,7 @@
  * item-ext.c : Exported playlist item functions
  *****************************************************************************
  * Copyright (C) 1999-2004 VideoLAN
- * $Id: item-ext.c,v 1.9 2004/01/17 12:28:57 gbazin Exp $
+ * $Id: item-ext.c,v 1.10 2004/01/17 14:08:37 sigmunau Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *          ClĂ©ment Stenac <zorglub@videolan.org>
@@ -42,7 +42,7 @@
  *        PLAYLIST_END the item will be added at the end of the playlist
  *        regardless of it's size
  * \param i_duration length of the item in milliseconds.
- * \return the position of the new item
+ * \return The id of the playlist item
 */
 int playlist_AddWDuration( playlist_t *p_playlist, const char * psz_uri,
                            const char *psz_name, int i_mode, int i_pos,
@@ -89,7 +89,7 @@ int playlist_AddWDuration( playlist_t *p_playlist, const char * psz_uri,
  * \param i_pos the position in the playlist where to add. If this is
  *        PLAYLIST_END the item will be added at the end of the playlist
  *        regardless of it's size
- * \return the position of the new item
+ * \return The id of the playlist item
 */
 int playlist_Add( playlist_t *p_playlist, const char * psz_uri,
                      const char *psz_name, int i_mode, int i_pos )
index e1af3ee74934d7ed808312aeae1614e825ebeb1d..f49bde3c8603f5918b5eb9502049f13ab358186e 100644 (file)
@@ -2,7 +2,7 @@
  * item.c : Playlist item functions
  *****************************************************************************
  * Copyright (C) 1999-2004 VideoLAN
- * $Id: item.c,v 1.11 2004/01/06 08:50:20 zorglub Exp $
+ * $Id: item.c,v 1.12 2004/01/17 14:08:37 sigmunau Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -40,7 +40,7 @@
  * \param i_pos the possition in the playlist where to add. If this is
  *        PLAYLIST_END the item will be added at the end of the playlist
  *        regardless of it's size
- * \return position of the new item
+ * \return The id of the playlist item
 */
 int playlist_AddItem( playlist_t *p_playlist, playlist_item_t * p_item,
                 int i_mode, int i_pos)