* Dictionaries
************************************************************************/
+extern "C"
+{
/* This function is not intended to be crypto-secure, we only want it to be
* fast and not suck too much. This one is pretty fast and did 0 collisions
* in wenglish's dictionary.
i_new = i_low;
}
p_dict->p_entries = realloc( p_dict->p_entries, (p_dict->i_entries + 1) *
- sizeof( struct vlc_dictionary_entries_t ) );
+ sizeof(struct vlc_dictionary_entries_t) );
p_dict->i_entries++;
if( i_new != p_dict->i_entries -1 )
{
p_dict->p_entries[i_new].p_value = p_value;
}
-
+} /* extern "C" */
/************************************************************************
* Dynamic arrays with progressive allocation
************************************************************************/