dict: move struct AVDictionary definition to dict.c
authorMans Rullgard <mans@mansr.com>
Wed, 8 Aug 2012 16:31:44 +0000 (17:31 +0100)
committerMans Rullgard <mans@mansr.com>
Fri, 10 Aug 2012 14:15:00 +0000 (15:15 +0100)
This makes struct AVDictionary fully opaque now that nothing
needs to access it directly any more.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavutil/dict.c
libavutil/internal.h

index 1344613..bbee732 100644 (file)
 #include "internal.h"
 #include "mem.h"
 
+struct AVDictionary {
+    int count;
+    AVDictionaryEntry *elems;
+};
+
 int av_dict_count(const AVDictionary *m)
 {
     return m ? m->count : 0;
index 75c5156..12b7108 100644 (file)
 #include "timer.h"
 #include "dict.h"
 
-struct AVDictionary {
-    int count;
-    AVDictionaryEntry *elems;
-};
-
 #ifndef attribute_align_arg
 #if ARCH_X86_32 && AV_GCC_VERSION_AT_LEAST(4,2)
 #    define attribute_align_arg __attribute__((force_align_arg_pointer))