diff options
author | Max Kellermann <max@duempel.org> | 2013-07-30 20:11:57 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-07-30 20:19:53 +0200 |
commit | 06f898cc1240a29b293de0e97ad95a4fdc971254 (patch) | |
tree | 001a6d3db039cdc03323f3bfddc13b94bde31ce4 /test/dump_rva2.cxx | |
parent | 6a9ab8bc0e2f5d34803513bb2d94d041a607a58c (diff) | |
download | mpd-06f898cc1240a29b293de0e97ad95a4fdc971254.tar.gz mpd-06f898cc1240a29b293de0e97ad95a4fdc971254.tar.xz mpd-06f898cc1240a29b293de0e97ad95a4fdc971254.zip |
tag: convert to C++
Diffstat (limited to 'test/dump_rva2.cxx')
-rw-r--r-- | test/dump_rva2.cxx | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/test/dump_rva2.cxx b/test/dump_rva2.cxx index c849f6a89..9dbb018d6 100644 --- a/test/dump_rva2.cxx +++ b/test/dump_rva2.cxx @@ -22,7 +22,7 @@ #include "TagRva2.hxx" #include "replay_gain_info.h" #include "conf.h" -#include "tag.h" +#include "Tag.hxx" #include <id3tag.h> @@ -41,23 +41,13 @@ config_get_string(gcc_unused enum ConfigOption option, return default_value; } -struct tag * -tag_new(void) -{ - return NULL; -} - void -tag_add_item_n(gcc_unused struct tag *tag, gcc_unused enum tag_type type, - gcc_unused const char *value, gcc_unused size_t len) +Tag::AddItem(gcc_unused enum tag_type type, + gcc_unused const char *value) { } -void -tag_free(struct tag *tag) -{ - g_free(tag); -} +Tag::~Tag() {} int main(int argc, char **argv) { |