From f8058261c3c45da8391de887b2eb89b98d146b6a Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 20 Jun 2025 08:54:22 +0000 Subject: enum sltdl_error: added cannot-open, cannot-close, and symbol-not-found errors. --- src/core/lt_core.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/lt_core.c') diff --git a/src/core/lt_core.c b/src/core/lt_core.c index 7091981..e3cadd4 100644 --- a/src/core/lt_core.c +++ b/src/core/lt_core.c @@ -27,6 +27,9 @@ static const char * lt_dlerror_desc[] = { [SLTDL_ERR_PATH_INVALID_MARK] = "invalid path (mark not within range)", [SLTDL_ERR_PATH_INVALID_LEN] = "invalid path (string too long)", [SLTDL_ERR_PATH_NO_ENTRY] = "invalid path (not found)", + [SLTDL_ERR_CANNOT_OPEN] = "could not open module", + [SLTDL_ERR_CANNOT_CLOSE] = "could not close module", + [SLTDL_ERR_SYMBOL_NOT_FOUND] = "symbol not found", }; static int lt_refs = 0; -- cgit v1.2.3