command: converted COMMAND_RETURN_* macros to enum
Also add names for "error" and "ok". I don't like passing anonymous integer codes around. This is not yet complete: lots of functions (e.g. in playlist.c) follow the same convention of -1/0, and these have to be adapted, too.
This commit is contained in:
328
src/command.c
328
src/command.c
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user