libsml icon indicating copy to clipboard operation
libsml copied to clipboard

Detect Version at runtime

Open JoergTiedemann opened this issue 1 year ago • 2 comments

Is ther any functionality to detect the current version of this library at runtime ?

JoergTiedemann avatar Oct 29 '24 14:10 JoergTiedemann

obviously not, else it would be here i guess: https://github.com/volkszaehler/libsml/blob/master/sml/include/sml/sml_shared.h

adding a function would be an ABI change and prevent linking against older version...

i guess you want this to be able to check if some bugfix is present ot not?

r00t- avatar Nov 01 '24 01:11 r00t-

Yes need it’s just to check what’s running and if some bugfix is present, Would be great if such a function will be added

JoergTiedemann avatar Nov 01 '24 08:11 JoergTiedemann