From 737be443d69489f5ba299597d79fa9f9a4911baa Mon Sep 17 00:00:00 2001 From: Scott Wheeler Date: Wed, 23 Jun 2004 21:52:27 +0000 Subject: [PATCH] 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 --- bindings/c/tag_c.cpp | 4 ++-- bindings/c/tag_c.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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