X-Git-Url: https://git.llucax.com/software/druntime.git/blobdiff_plain/1d6b260d32d802b99dcdd3c9e9e3b97c19d3f856..bcf5b1203472d877e1f3560ca595cc1341c3783b:/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 ); }