summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2010-05-24 20:53:46 +0200
committerAndreas Baumann <abaumann@yahoo.com>2010-05-24 20:53:46 +0200
commitb13ddadad16b2b39ad00cef1ceb19c865335c0ae (patch)
tree19c3eb931a063be970a86b9f92c4c7b2bdf7e218 /include
parent3d2c90ecdce024eb883d6359ea0881ea766c4abe (diff)
downloadwolfbones-b13ddadad16b2b39ad00cef1ceb19c865335c0ae.tar.gz
wolfbones-b13ddadad16b2b39ad00cef1ceb19c865335c0ae.tar.bz2
better error handling in library loader
Diffstat (limited to 'include')
-rw-r--r--include/wolf/library/loader.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/wolf/library/loader.h b/include/wolf/library/loader.h
index 20414c8..2f37da2 100644
--- a/include/wolf/library/loader.h
+++ b/include/wolf/library/loader.h
@@ -99,14 +99,13 @@ wolf_error_t wolf_library_unload( wolf_library_p library );
/**
* Converts the last error and state of the library object in a human readable message.
*
- * @param error the error which happened after calling a library loader function
* @param library the library object for which we want a error message
* @param buf the buffer which will hold the error message
* @param buflen the size of the buffer
*
* @return a pointer to buf for convenience
*/
-char *wolf_library_errmsg( const wolf_error_t error, const wolf_library_p library, char *buf, size_t buflen );
+char *wolf_library_error_msg( const wolf_library_p library, char *buf, size_t buflen );
/**
* Gets a symbol (a function) from the library object. It has to be