mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
Remove kva_api_get versioning.
We have soname versioning now, so we should focus on getting that right instead. This also serves as an example of correctly incrementing the lib-version.
This commit is contained in:
parent
a197ebd820
commit
e2402c0000
|
@ -20,8 +20,8 @@ AC_CONFIG_SRCDIR([src/encmain.c])
|
|||
# - Increment when making new releases and major or minor was not changed since last release.
|
||||
#
|
||||
# Here is a somewhat sane guide to lib versioning: http://apr.apache.org/versioning.html
|
||||
ver_major=2
|
||||
ver_minor=4
|
||||
ver_major=3
|
||||
ver_minor=0
|
||||
ver_release=0
|
||||
|
||||
# not used, but it prevents configure from adding a lot of defines to the CFLAGS
|
||||
|
|
|
@ -496,10 +496,6 @@ typedef struct kvz_api {
|
|||
kvz_frame_info *info_out);
|
||||
} kvz_api;
|
||||
|
||||
// Append API version to the getters name to prevent linking against incompatible versions.
|
||||
#define KVZ_API_CONCAT(func, version) func ## _apiv ## version
|
||||
#define KVZ_API_EXPAND_VERSION(func, version) KVZ_API_CONCAT(func, version)
|
||||
#define kvz_api_get KVZ_API_EXPAND_VERSION(kvz_api_get, KVZ_API_VERSION)
|
||||
|
||||
KVZ_PUBLIC const kvz_api * kvz_api_get(int bit_depth);
|
||||
|
||||
|
|
Loading…
Reference in a new issue