Move new symbols to new symbol versioning.

This commit is contained in:
Anthony Green 2025-06-10 16:01:56 -04:00
parent 517310ddbf
commit 330467d55c

View File

@ -23,13 +23,6 @@ LIBFFI_BASE_8.0 {
ffi_type_longdouble;
ffi_type_pointer;
/* Exported functions. */
ffi_get_version;
ffi_get_version_number;
ffi_get_default_abi;
ffi_get_closure_size;
ffi_call;
ffi_prep_cif;
ffi_prep_cif_var;
@ -52,6 +45,19 @@ LIBFFI_BASE_8.0 {
*;
};
/* ----------------------------------------------------------------------
Symbols **added in libffi 3.5.0**.
Give them a fresh namespace so that package managers notice when
code requires a newer libffi than 3.4.x.
-------------------------------------------------------------------- */
LIBFFI_BASE_8.1 {
global:
ffi_get_version;
ffi_get_version_number;
ffi_get_default_abi;
ffi_get_closure_size;
} LIBFFI_BASE_8.0;
#ifdef FFI_TARGET_HAS_COMPLEX_TYPE
LIBFFI_COMPLEX_8.0 {
global: