diff options
author | Max Kellermann <max@duempel.org> | 2008-08-29 09:38:33 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-02 00:19:57 -0700 |
commit | b24dbaef8dc73ccff85ae3948ff508c1cab4ede9 (patch) | |
tree | fa1a97e6b2a9fb663850385e9a6a59b1a048218b /src/tag.h | |
parent | 62f527a609d14890886580fe453a9219ae0a2bf7 (diff) | |
download | mpd-b24dbaef8dc73ccff85ae3948ff508c1cab4ede9.tar.gz mpd-b24dbaef8dc73ccff85ae3948ff508c1cab4ede9.tar.xz mpd-b24dbaef8dc73ccff85ae3948ff508c1cab4ede9.zip |
tag: converted tag_item.value to a char array
The value is stored in the same memory allocation as the tag_item
struct; this saves memory because we do not store the value pointer
anymore. Also remove the getTagItemString()/removeTagItemString()
dummies.
Diffstat (limited to 'src/tag.h')
-rw-r--r-- | src/tag.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -41,8 +41,8 @@ extern const char *mpdTagItemKeys[]; struct tag_item { enum tag_type type; - char *value; -}; + char value[1]; +} mpd_unused; struct mpd_tag { int time; |