diff --git a/include/aymo.h b/include/aymo.h index 179c0bd..cb1ce08 100644 --- a/include/aymo.h +++ b/include/aymo.h @@ -27,6 +27,8 @@ AYMO_CXX_EXTERN_C_BEGIN AYMO_PUBLIC void aymo_boot(void); +AYMO_PUBLIC const char* aymo_get_version(void); + AYMO_CXX_EXTERN_C_END diff --git a/src/aymo.c b/src/aymo.c index d6c7c60..d5272ea 100644 --- a/src/aymo.c +++ b/src/aymo.c @@ -32,4 +32,10 @@ void aymo_boot(void) } +const char* aymo_get_version(void) +{ + return PACKAGE_VERSION; +} + + AYMO_CXX_EXTERN_C_END