summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib-version.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/polyplib-version.h.in')
-rw-r--r--polyp/polyplib-version.h.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/polyp/polyplib-version.h.in b/polyp/polyplib-version.h.in
index b44dc008..75798693 100644
--- a/polyp/polyplib-version.h.in
+++ b/polyp/polyplib-version.h.in
@@ -22,6 +22,8 @@
USA.
***/
+/* WARNING: Make sure to edit the real source file polyplib-version.h.in! */
+
/** \file
* Define header version */
@@ -30,4 +32,12 @@ a macro and not a function, so it is impossible to get the pointer of
it. */
#define pa_get_headers_version() ("@PACKAGE_VERSION@")
+/** Return the version of the library the current application is linked to. */
+const char* pa_get_library_version(void);
+
+/** The current API version. Version 6 relates to polypaudio
+ * 0.6. Prior versions (i.e. Polypaudio 0.5.1 and older) have
+ * PA_API_VERSION undefined. */
+#define PA_API_VERSION @PA_API_VERSION@
+
#endif