aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-09-07 19:14:43 +0200
committerMax Kellermann <max@duempel.org>2008-09-07 19:14:43 +0200
commit194c8c3c0fc92e5d781a6cc23252a701c84bb380 (patch)
tree299329455ca90997b8128bb4816f8d34eb455ca5 /INSTALL
parent4dd9d4b2fdfb6adde66920d4fd1bb65a1cf0695a (diff)
downloadmpd-194c8c3c0fc92e5d781a6cc23252a701c84bb380.tar.gz
mpd-194c8c3c0fc92e5d781a6cc23252a701c84bb380.tar.xz
mpd-194c8c3c0fc92e5d781a6cc23252a701c84bb380.zip
tag: introduce handy items_size() function
Trying to read or remember "tag->numOfItems * sizeof(*tag->items)" requires too much thinking and mental effort on my part. Also, favor "sizeof(struct mpd_tag)" over "sizeof(*tag->items)" because the former is easier to read and follow, even though the latter is easier to modify if the items member changes to a different type.
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions