]> granicus.if.org Git - taglib/commitdiff
Update the C bindings to reflect the earlier change in the return type
authorScott Wheeler <wheeler@kde.org>
Wed, 23 Jun 2004 21:52:27 +0000 (21:52 +0000)
committerScott Wheeler <wheeler@kde.org>
Wed, 23 Jun 2004 21:52:27 +0000 (21:52 +0000)
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
bindings/c/tag_c.h

index 9fc110b5c29553d1d6cc83f6ceb981f588e7722a..d78df295d85be7f2f7a59dcdc4f150e30292a318 100644 (file)
@@ -87,9 +87,9 @@ const TagLib_AudioProperties *taglib_file_audioproperties(const TagLib_File *fil
   return reinterpret_cast<const TagLib_AudioProperties *>(f->audioProperties());
 }
 
-void taglib_file_save(TagLib_File *file)
+BOOL taglib_file_save(TagLib_File *file)
 {
-  reinterpret_cast<File *>(file)->save();
+  return reinterpret_cast<File *>(file)->save();
 }
 
 ////////////////////////////////////////////////////////////////////////////////
index fedef35d24718ae1f5350bfffa1869309c50d90c..34d09482db358fab8dd44ef2270d8defd3d04319 100644 (file)
@@ -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