diff sidlib.h @ 264:5afa6052f796

Change SIDLibSTILSubTune::fields to new SIDLibSTILField structure for fields, in order to allow multiple values for the same field, for example same (sub)tune might have multiple ARTIST fields designating different artists.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 05 Jan 2020 23:51:04 +0200
parents ef1d6d16718e
children 254828e9213b
line wrap: on
line diff
--- a/sidlib.h	Sun Jan 05 23:48:05 2020 +0200
+++ b/sidlib.h	Sun Jan 05 23:51:04 2020 +0200
@@ -83,7 +83,14 @@
 
 typedef struct
 {
-    char *fields[STF_LAST];
+    int ndata;
+    char **data;
+} SIDLibSTILField;
+
+
+typedef struct
+{
+    SIDLibSTILField fields[STF_LAST];
 } SIDLibSTILSubTune;