From: Scott Wheeler Date: Wed, 23 Jun 2004 21:52:27 +0000 (+0000) Subject: Update the C bindings to reflect the earlier change in the return type X-Git-Tag: v1.5~376 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=737be443d69489f5ba299597d79fa9f9a4911baa;p=taglib Update the C bindings to reflect the earlier change in the return type for saving files. git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@323195 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- diff --git a/bindings/c/tag_c.cpp b/bindings/c/tag_c.cpp index 9fc110b5..d78df295 100644 --- a/bindings/c/tag_c.cpp +++ b/bindings/c/tag_c.cpp @@ -87,9 +87,9 @@ const TagLib_AudioProperties *taglib_file_audioproperties(const TagLib_File *fil return reinterpret_cast(f->audioProperties()); } -void taglib_file_save(TagLib_File *file) +BOOL taglib_file_save(TagLib_File *file) { - reinterpret_cast(file)->save(); + return reinterpret_cast(file)->save(); } //////////////////////////////////////////////////////////////////////////////// diff --git a/bindings/c/tag_c.h b/bindings/c/tag_c.h index fedef35d..34d09482 100644 --- a/bindings/c/tag_c.h +++ b/bindings/c/tag_c.h @@ -109,7 +109,7 @@ const TagLib_AudioProperties *taglib_file_audioproperties(const TagLib_File *fil /*! * Saves the \a file to disk. */ -void taglib_file_save(TagLib_File *file); +BOOL taglib_file_save(TagLib_File *file); /****************************************************************************** * Tag API