diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-06-23 18:24:22 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-06-23 18:24:22 +0000 |
commit | 51a342b88a4e022f4c08669633293fb7dc4ab0f1 (patch) | |
tree | 6eb5a0ecdaf27935e4269443416217b734265d81 /src/xine-utils/sorted_array.h | |
parent | 5ba0560dad4cc01ec8560dcf41d2395357b3063b (diff) | |
download | xine-lib-51a342b88a4e022f4c08669633293fb7dc4ab0f1.tar.gz xine-lib-51a342b88a4e022f4c08669633293fb7dc4ab0f1.tar.bz2 |
Miscellaneous static/const fixups.
Optimise away _xine_buffer_strcat.
CVS patchset: 8073
CVS date: 2006/06/23 18:24:22
Diffstat (limited to 'src/xine-utils/sorted_array.h')
-rw-r--r-- | src/xine-utils/sorted_array.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-utils/sorted_array.h b/src/xine-utils/sorted_array.h index c5fe1b413..5ca537f88 100644 --- a/src/xine-utils/sorted_array.h +++ b/src/xine-utils/sorted_array.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: sorted_array.h,v 1.1 2006/01/16 08:04:44 tmattern Exp $ + * $Id: sorted_array.h,v 1.2 2006/06/23 18:24:22 dsalt Exp $ * * Sorted array which grows automatically when you add elements. * A binary search is used to find the position of a new element. @@ -72,7 +72,7 @@ xine_sarray_t *xine_sarray_new(size_t initial_size, xine_sarray_comparator_t com void xine_sarray_delete(xine_sarray_t *sarray); /* Returns the number of element stored in the array */ -size_t xine_sarray_size(xine_sarray_t *sarray); +size_t xine_sarray_size(const xine_sarray_t *sarray); /* Removes all elements from an array */ void xine_sarray_clear(xine_sarray_t *sarray); |