Closed Lyatus closed 4 years ago
Hi there
Thank you for noticing and reporting this! I just committed the fix e1aa807 for this. Guess you're the first to use tml.h standalone (or everyone works in C++ where this is no issue).
Thanks again and cheers!
Great! Thank you for fixing it so quickly :)
Hello,
I'm currently working on a project in which I use
TinyMidiLoader
as a standalone lib (thanks!), and I'm encountering some problems with gcc complaining abouttml_load_tsf_stream
, here's the related output:struct tsf_stream
doesn't seem to be declared inTinyMidiLoader
and is assumed to have been declared earlier intsf.h
. I figure to fix this problem you could move it out oftml.h
(or remove it, considering it's only a simple cast) or you could compile it conditionally (fromtsf.h
defines). I could define a dummystruct tsf_stream
in my code to avoid the problem or remove the code from your lib, but it's client-side friction probably best avoided. Do you have any other suggestion? Thanks again for your work!