[vlc-commits] [Git][videolan/vlc][master] vlc_array: constify count
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Sep 1 12:48:40 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
cbccfbe4 by Francois Cartegnie at 2023-09-01T12:01:42+00:00
vlc_array: constify count
- - - - -
1 changed file:
- include/vlc_arrays.h
Changes:
=====================================
include/vlc_arrays.h
=====================================
@@ -271,7 +271,7 @@ static inline void vlc_array_clear( vlc_array_t * p_array )
}
/* Read */
-static inline size_t vlc_array_count( vlc_array_t * p_array )
+static inline size_t vlc_array_count( const vlc_array_t * p_array )
{
return p_array->i_count;
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/cbccfbe45b951c7d27ccfae5750f386f591a49d6
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/cbccfbe45b951c7d27ccfae5750f386f591a49d6
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list