diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2010-05-17 22:45:50 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2010-05-17 22:45:50 +0200 |
commit | 864cd6ee183952d233da889147f0b419ecd8989d (patch) | |
tree | e1f6aec1aa8a39c0b7aa64d1fca1567cb1516dea /include | |
parent | c20ee22f7e0f45d0d025e937877f11132fad6327 (diff) | |
download | wolfbones-864cd6ee183952d233da889147f0b419ecd8989d.tar.gz wolfbones-864cd6ee183952d233da889147f0b419ecd8989d.tar.bz2 |
added more documentation and dlopen/dlclose, must backport shared library building from SMERP first
Diffstat (limited to 'include')
-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 |