From b13ddadad16b2b39ad00cef1ceb19c865335c0ae Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 24 May 2010 20:53:46 +0200 Subject: better error handling in library loader --- include/wolf/library/loader.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') 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 -- cgit v1.2.3-54-g00ecf