un-inline iterator functions
authorJosh Coalson <jcoalson@users.sourceforce.net>
Sat, 25 Sep 2004 23:46:26 +0000 (23:46 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Sat, 25 Sep 2004 23:46:26 +0000 (23:46 +0000)
src/plugin_common/canonical_tag.c
src/plugin_common/canonical_tag.h

index 7195119..65a1f42 100644 (file)
@@ -573,6 +573,30 @@ char *FLAC_plugin__canonical_get_formatted(FLAC__tag_iterator it)
 }\r
 \r
 /*\r
+ * enumeration\r
+ */\r
+unsigned FLAC_plugin__canonical_get_count(FLAC_Plugin__CanonicalTag *tag)\r
+{\r
+       return tag->count;\r
+}\r
+FLAC__tag_iterator FLAC_plugin__canonical_first(FLAC_Plugin__CanonicalTag *tag)\r
+{\r
+       return tag->head;\r
+}\r
+FLAC__tag_iterator FLAC_plugin__canonical_next(FLAC__tag_iterator it)\r
+{\r
+       return it->next;\r
+}\r
+wchar_t *FLAC_plugin__canonical_get_name(FLAC__tag_iterator it)\r
+{\r
+       return it->name;\r
+}\r
+wchar_t *FLAC_plugin__canonical_get_value(FLAC__tag_iterator it)\r
+{\r
+       return it->value;\r
+}\r
+\r
+/*\r
  *  merging\r
  */\r
 \r
index 3133c5a..5aa6bab 100644 (file)
@@ -70,26 +70,11 @@ FLAC__bool FLAC_plugin__canonical_remove(FLAC_Plugin__CanonicalTag *tag, const w
 void FLAC_plugin__canonical_remove_all(FLAC_Plugin__CanonicalTag *tag, const wchar_t *name);\r
 \r
 /* enumeration */\r
-static __inline unsigned FLAC_plugin__canonical_get_count(FLAC_Plugin__CanonicalTag *tag)\r
-{\r
-       return tag->count;\r
-}\r
-static __inline FLAC__tag_iterator FLAC_plugin__canonical_first(FLAC_Plugin__CanonicalTag *tag)\r
-{\r
-       return tag->head;\r
-}\r
-static __inline FLAC__tag_iterator FLAC_plugin__canonical_next(FLAC__tag_iterator it)\r
-{\r
-       return it->next;\r
-}\r
-static __inline wchar_t *FLAC_plugin__canonical_get_name(FLAC__tag_iterator it)\r
-{\r
-       return it->name;\r
-}\r
-static __inline wchar_t *FLAC_plugin__canonical_get_value(FLAC__tag_iterator it)\r
-{\r
-       return it->value;\r
-}\r
+unsigned FLAC_plugin__canonical_get_count(FLAC_Plugin__CanonicalTag *tag);\r
+FLAC__tag_iterator FLAC_plugin__canonical_first(FLAC_Plugin__CanonicalTag *tag);\r
+FLAC__tag_iterator FLAC_plugin__canonical_next(FLAC__tag_iterator it);\r
+wchar_t *FLAC_plugin__canonical_get_name(FLAC__tag_iterator it);\r
+wchar_t *FLAC_plugin__canonical_get_value(FLAC__tag_iterator it);\r
 \r
 /* returns a new string containing the current entry in UTF-8 in "NAME=VALUE" form */\r
 char *FLAC_plugin__canonical_get_formatted(FLAC__tag_iterator it);\r