really fix API version API

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@249 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-09-29 19:13:55 +00:00
parent 6dfab4ec7b
commit d09240118c
7 changed files with 23 additions and 10 deletions

View file

@ -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