diff sidlib.h @ 236:609bfc1bd628

Change sidlib_sldb_new() API to int sidlib_sldb_new(SIDLibSLDB **pdbh).
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 04 Jan 2020 13:18:55 +0200
parents bb8ce494267b
children c9b57c8fd058
line wrap: on
line diff
--- a/sidlib.h	Sat Jan 04 13:11:56 2020 +0200
+++ b/sidlib.h	Sat Jan 04 13:18:55 2020 +0200
@@ -109,7 +109,7 @@
 const char *     sidlib_get_sid_clock_str(const int flags);
 const char *     sidlib_get_sid_model_str(const int flags);
 
-SIDLibSLDB *     sidlib_sldb_new(void);
+int              sidlib_sldb_new(SIDLibSLDB **pdbh);
 int              sidlib_sldb_read(th_ioctx *ctx, SIDLibSLDB *dbh);
 int              sidlib_sldb_build_index(SIDLibSLDB *dbh);
 void             sidlib_sldb_free(SIDLibSLDB *dbh);