[trunk] Finalize API for openjpeg 2.1

public header will only contains minimal information: major, minor and build version
Prefix has been changed from OPENJPEG to OPJ for consistency
SOVERSION has been removed from header (ABI vs API info)
OPJ_VERSION string has been removed, since it is accessible already (PACKAGE_VERSION)
Fixes issue 342
This commit is contained in:
Mathieu Malaterre 2014-04-28 09:17:31 +00:00
parent 4bac8488df
commit b08135e7c1
1 changed files with 3 additions and 5 deletions

View File

@ -5,8 +5,6 @@
/* OpenJPEG Versioning */ /* OpenJPEG Versioning */
/* Version number. */ /* Version number. */
#define OPENJPEG_VERSION_MAJOR @OPENJPEG_VERSION_MAJOR@ #define OPJ_VERSION_MAJOR @OPENJPEG_VERSION_MAJOR@
#define OPENJPEG_VERSION_MINOR @OPENJPEG_VERSION_MINOR@ #define OPJ_VERSION_MINOR @OPENJPEG_VERSION_MINOR@
#define OPENJPEG_VERSION_BUILD @OPENJPEG_VERSION_BUILD@ #define OPJ_VERSION_BUILD @OPENJPEG_VERSION_BUILD@
#define OPENJPEG_VERSION "@OPENJPEG_VERSION@"
#define OPENJPEG_SOVERSION "@OPENJPEG_SOVERSION@"