diff options
Diffstat (limited to 'include/wolf/library/loader.h')
-rw-r--r-- | include/wolf/library/loader.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/wolf/library/loader.h b/include/wolf/library/loader.h index 233cd8c..85195a7 100644 --- a/include/wolf/library/loader.h +++ b/include/wolf/library/loader.h @@ -54,8 +54,13 @@ wolf_library_p wolf_library_load( const char *name, wolf_error_t *error ); * Free up resources used by the library object. * * @param demon the library object to free + * + * @return WOLF_OK if library has been unloaded, + * WOLF_ERR_INTERNAL_STATE if the library handle is in an illegal state + * (like double freeing the same library) */ -void wolf_library_unload( wolf_library_p library ); + +wolf_error_t wolf_library_unload( wolf_library_p library ); #if 0 |