diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/lt_core.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/lt_core.c b/src/core/lt_core.c index e3cadd4..031701a 100644 --- a/src/core/lt_core.c +++ b/src/core/lt_core.c @@ -130,3 +130,10 @@ const char * lt_dlerror(void) return errdesc; } + +int lt_dlseterror(int errcode) +{ + lt_slock(); + lt_sunlock(0,errcode); + return 0; +} |