util/Error: new error passing library

Replaces GLib's GError.
This commit is contained in:
Max Kellermann
2013-08-10 18:02:44 +02:00
parent c9fcc7f148
commit 29030b54c9
256 changed files with 3269 additions and 3371 deletions

View File

@@ -42,8 +42,7 @@
#ifndef MPD_STICKER_DATABASE_HXX
#define MPD_STICKER_DATABASE_HXX
#include "gerror.h"
class Error;
class Path;
struct sticker;
@@ -55,7 +54,7 @@ struct sticker;
* @return true on success, false on error
*/
bool
sticker_global_init(Path &&path, GError **error_r);
sticker_global_init(Path &&path, Error &error);
/**
* Close the sticker database.