add hmml_version variable

This commit is contained in:
Alex Baines 2017-11-06 21:07:40 +00:00
parent df5fe8de03
commit c7d764c0a6
2 changed files with 8 additions and 0 deletions

View File

@ -95,4 +95,10 @@ HMML_Output hmml_parse_file (FILE* file);
void hmml_dump (HMML_Output* output);
void hmml_free (HMML_Output* output);
// Version
extern const struct HMML_Version {
int Major, Minor, Patch;
} hmml_version;
#endif

View File

@ -5,6 +5,8 @@
#include "stb_sb.h"
#include "hmmlib.h"
const struct HMML_Version hmml_version = { 0, 1, 0 };
typedef struct {
int line;
HMML_Annotation* annos;