summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2025-06-20 08:54:22 +0000
committermidipix <writeonce@midipix.org>2025-06-20 09:07:44 +0000
commitf8058261c3c45da8391de887b2eb89b98d146b6a (patch)
tree0a1a5d09c14cfab9e64ee8de16ecee749fee64ca /src
parent1784780e14974a6833e24c312f2962fa79cc12e2 (diff)
downloadsltdl-f8058261c3c45da8391de887b2eb89b98d146b6a.tar.bz2
sltdl-f8058261c3c45da8391de887b2eb89b98d146b6a.tar.xz
enum sltdl_error: added cannot-open, cannot-close, and symbol-not-found errors.
Diffstat (limited to 'src')
-rw-r--r--src/core/lt_core.c3
1 files changed, 3 insertions, 0 deletions
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;