Browse Source

vlc_arrays: rename reserved identifier

double underscore is reserved to the implementation according to both
the C and C++ ISO standards; as such we should not use such naming.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
pull/57/head
Filip Roséen 9 years ago
committed by Rémi Denis-Courmont
parent
commit
c882a670e4
  1. 8
      include/vlc_arrays.h

8
include/vlc_arrays.h

@ -501,8 +501,8 @@ vlc_dictionary_all_keys( const vlc_dictionary_t * p_dict )
}
static inline void
__vlc_dictionary_insert( vlc_dictionary_t * p_dict, const char * psz_key,
void * p_value, bool rebuild )
vlc_dictionary_insert_impl_( vlc_dictionary_t * p_dict, const char * psz_key,
void * p_value, bool rebuild )
{
if( !p_dict->p_entries )
vlc_dictionary_init( p_dict, 1 );
@ -533,7 +533,7 @@ __vlc_dictionary_insert( vlc_dictionary_t * p_dict, const char * psz_key,
p_entry = p_dict->p_entries[i];
while( p_entry )
{
__vlc_dictionary_insert( &new_dict, p_entry->psz_key,
vlc_dictionary_insert_impl_( &new_dict, p_entry->psz_key,
p_entry->p_value,
false /* To avoid multiple rebuild loop */);
p_entry = p_entry->p_next;
@ -550,7 +550,7 @@ __vlc_dictionary_insert( vlc_dictionary_t * p_dict, const char * psz_key,
static inline void
vlc_dictionary_insert( vlc_dictionary_t * p_dict, const char * psz_key, void * p_value )
{
__vlc_dictionary_insert( p_dict, psz_key, p_value, true );
vlc_dictionary_insert_impl_( p_dict, psz_key, p_value, true );
}
static inline void

Loading…
Cancel
Save