X-Git-Url: https://git.llucax.com/software/druntime.git/blobdiff_plain/24f79eca36d0f4294eb276ac777b2a27dfb060dd..7111330e603a3b9ced01040d8b6d0afe7d0daff8:/src/common/core/runtime.d diff --git a/src/common/core/runtime.d b/src/common/core/runtime.d index 36607be..3344f23 100644 --- a/src/common/core/runtime.d +++ b/src/common/core/runtime.d @@ -24,7 +24,7 @@ private extern (C) bool rt_term( ExceptionHandler dg = null ); extern (C) void* rt_loadLibrary( in char[] name ); - extern (C) void rt_unloadLibrary( void* ptr ); + extern (C) bool rt_unloadLibrary( void* ptr ); } @@ -116,9 +116,9 @@ struct Runtime * Params: * p = A reference to the library to unload. */ - static void unloadLibrary( void* p ) + static bool unloadLibrary( void* p ) { - rt_unloadLibrary( p ); + return rt_unloadLibrary( p ); }