diff options
Diffstat (limited to '')
-rw-r--r-- | src/DatabaseGlue.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/DatabaseGlue.cxx b/src/DatabaseGlue.cxx index 42812973d..88b25d868 100644 --- a/src/DatabaseGlue.cxx +++ b/src/DatabaseGlue.cxx @@ -132,6 +132,15 @@ db_get_song(const char *file) return db->GetSong(file, NULL); } +void +db_return_song(struct song *song) +{ + assert(db != nullptr); + assert(song != nullptr); + + db->ReturnSong(song); +} + bool db_save(GError **error_r) { |