# include "config.h"
#endif
-#include <vlc/vlc.h>
+#undef NDEBUG
+#include <assert.h>
+
+#include <vlc_common.h>
#include "vlc_arrays.h"
#include <stdio.h>
for( j = 0; keys[j]; j++ )
{
- vlc_bool_t found = VLC_FALSE;
+ bool found = false;
for( i = 0; i < size; i++ )
{
if(!strcmp( keys[j], our_keys[i] ))
{
- found = VLC_TRUE;
+ found = true;
break;
}
}
test_dictionary_validity( &dict, our_keys, size );
- vlc_dictionary_remove_value_for_key( &dict, our_keys[size-1] );
+ vlc_dictionary_remove_value_for_key( &dict, our_keys[size-1], NULL, NULL );
test_dictionary_validity( &dict, our_keys, size-1 );
-
- vlc_dictionary_clear( &dict );
+
+ vlc_dictionary_clear( &dict, NULL, NULL );
assert( vlc_dictionary_keys_count( &dict ) == 0 );
return 0;