summaryrefslogtreecommitdiff
path: root/include/wolf/library/loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wolf/library/loader.h')
-rw-r--r--include/wolf/library/loader.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/wolf/library/loader.h b/include/wolf/library/loader.h
index 2f37da2..585851d 100644
--- a/include/wolf/library/loader.h
+++ b/include/wolf/library/loader.h
@@ -108,8 +108,9 @@ wolf_error_t wolf_library_unload( wolf_library_p library );
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
- * casted properly to the function you are expecting to call using
+ * Gets a symbol from the library object. It has either to be properly
+ * cast to the variable to use or has to be cast to the function you are
+ * expecting to call by using
* WOLF_LIBRARY_FUNC_CAST( symbol, func_t, func ).
*
* @param library the library object
@@ -118,7 +119,7 @@ char *wolf_library_error_msg( const wolf_library_p library, char *buf, size_t bu
*
* @return a pointer to the retrieved symbol
*/
-WOLF_LIBRARY_FUNCPTR wolf_library_get_func( const wolf_library_p library, const char *name, wolf_error_t *error );
+WOLF_LIBRARY_FUNCPTR wolf_library_get( const wolf_library_p library, const char *name, wolf_error_t *error );
/** @} */ /* @addtogroup wolf_library */