aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/adlmidi.cpp')
-rw-r--r--src/adlmidi.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/adlmidi.cpp b/src/adlmidi.cpp
index c45e4eb..bab8750 100644
--- a/src/adlmidi.cpp
+++ b/src/adlmidi.cpp
@@ -31,6 +31,11 @@
#define MaxCards_STR "100"
#endif
+static ADL_Version adl_version = {
+ ADLMIDI_VERSION_MAJOR,
+ ADLMIDI_VERSION_MINOR,
+ ADLMIDI_VERSION_PATCHLEVEL
+};
/*---------------------------EXPORTS---------------------------*/
@@ -316,6 +321,10 @@ ADLMIDI_EXPORT const char *adl_linkedLibraryVersion()
return ADLMIDI_VERSION;
}
+ADLMIDI_EXPORT const ADL_Version *adl_linkedVersion()
+{
+ return &adl_version;
+}
ADLMIDI_EXPORT const char *adl_errorString()
{