diff options
author | Nikias Bassen | 2024-02-16 14:02:37 +0100 |
---|---|---|
committer | Nikias Bassen | 2024-02-16 14:02:37 +0100 |
commit | 623b7415b018faa5bd87e786faff05b999b8b81b (patch) | |
tree | 53e384916f6d97ec1ec902ec030b694dadc0802a /src/glue.c | |
parent | 9a2b733732b453c073cdd0e30e405ca84541f8e8 (diff) | |
download | libimobiledevice-glue-623b7415b018faa5bd87e786faff05b999b8b81b.tar.gz libimobiledevice-glue-623b7415b018faa5bd87e786faff05b999b8b81b.tar.bz2 |
Add version function to interface
Diffstat (limited to 'src/glue.c')
-rw-r--r-- | src/glue.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -78,3 +78,11 @@ BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved) #else #warning No compiler support for constructor/destructor attributes, some features might not be available. #endif + +const char* libimobiledevice_glue_version() +{ +#ifndef PACKAGE_VERSION +#error PACKAGE_VERSION is not defined! +#endif + return PACKAGE_VERSION; +} |