diff options
author | Max Kellermann <max@duempel.org> | 2008-10-08 11:06:26 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-10-11 19:21:48 -0700 |
commit | aae48c97fb3d2b0140daa8e49459a7afe3488683 (patch) | |
tree | 0e250f502f03f005ecb0f5cd7156c6819b5ef486 /doc/COMMANDS | |
parent | e4ca5f5b5c051f98b90070303a83f53b68851034 (diff) | |
download | mpd-aae48c97fb3d2b0140daa8e49459a7afe3488683.tar.gz mpd-aae48c97fb3d2b0140daa8e49459a7afe3488683.tar.xz mpd-aae48c97fb3d2b0140daa8e49459a7afe3488683.zip |
song: song_file_update() returns boolean
Instead of returning 0 or -1, return true on success and false on
failure. This seems more natural, and when the C library was
designed, there was no "bool" data type.
[ew:
changing to bool semantics but sticking with integer type
since bool is C99 and I don't require a C99 compiler,
and I don't feel like writing compatibility wrappers to
support it. _Bool is usually (always?) a signed int
anyways.
]
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions