From 7ff5131f669b21ae12df7ca3c1dc37c2e316b349 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 21 Jun 2025 17:25:23 +0000 Subject: api: provided the LTDL_SET_PRELOADED_SYMBOLS macro for backward compatibility. --- include/sltdl/sltdl_compat.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/sltdl/sltdl_compat.h b/include/sltdl/sltdl_compat.h index e2ae714..a346531 100644 --- a/include/sltdl/sltdl_compat.h +++ b/include/sltdl/sltdl_compat.h @@ -27,6 +27,11 @@ extern "C" { #define LT_ERROR_CANNOT_CLOSE SLTDL_ERR_CANNOT_CLOSE #define LT_ERROR_SYMBOL_NOT_FOUND SLTDL_ERR_SYMBOL_NOT_FOUND +#define LTDL_SET_PRELOADED_SYMBOLS() lt_dlpreload_modctl( \ + lt_preloaded_symbols, \ + SLTDL_MODCTL_PRELOAD_DEFAULT) + + #ifdef __cplusplus } #endif -- cgit v1.2.3