Closed mmitch closed 3 years ago
plus some refactoring in xgbsplay
I have one question, so I did not commit directly to master:
To decouple the internal metadata in gbs.c from the external metadata in libgbs.h, the three fields title/author/copyright get copied around in gbs_get_metadata() (or at least their pointers get copied around): https://github.com/mmitch/gbsplay/blob/7727a30a49ffe614e3441e2224d0975eff230b7f/gbs.c#L107-L113
gbs.c
libgbs.h
gbs_get_metadata()
Is this good? Or should we just use struct gbs->metadata->... internally and remove struct gbs->title, struct gbs->author and struct gbs->copyright altogether?
struct gbs->metadata->...
struct gbs->title
struct gbs->author
struct gbs->copyright
Merging #56 (533fddf) into master (fe1b9d1) will increase coverage by 0.01%. The diff coverage is 0.00%.
0.01%
0.00%
29.92% <0.00%> (+0.05%)
40.56% <0.00%> (ø)
plus some refactoring in xgbsplay
I have one question, so I did not commit directly to master:
To decouple the internal metadata in
gbs.c
from the external metadata inlibgbs.h
, the three fields title/author/copyright get copied around ingbs_get_metadata()
(or at least their pointers get copied around): https://github.com/mmitch/gbsplay/blob/7727a30a49ffe614e3441e2224d0975eff230b7f/gbs.c#L107-L113Is this good? Or should we just use
struct gbs->metadata->...
internally and removestruct gbs->title
,struct gbs->author
andstruct gbs->copyright
altogether?