diff --git a/hmmlib/hmmlib.h b/hmmlib/hmmlib.h index 980d092..13c2d81 100644 --- a/hmmlib/hmmlib.h +++ b/hmmlib/hmmlib.h @@ -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 diff --git a/hmmlib/hmmlib.l b/hmmlib/hmmlib.l index e1f0b34..c22f7fc 100644 --- a/hmmlib/hmmlib.l +++ b/hmmlib/hmmlib.l @@ -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;