diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/wolf/library/loader.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/wolf/library/loader.h b/include/wolf/library/loader.h index 1eb99ce..20414c8 100644 --- a/include/wolf/library/loader.h +++ b/include/wolf/library/loader.h @@ -54,7 +54,8 @@ typedef struct wolf_library_t *wolf_library_p; #define WOLF_LIBRARY_FUNCPTR void * #endif -/* @brief casts a library symbol to a function pointer of a given type. +/** + * This macro casts a library symbol to a function pointer of a given type. * * Reason: conversion from void * to function pointer is illegal by ISO-99 * (though it works actually on Posix) @@ -109,7 +110,8 @@ char *wolf_library_errmsg( const wolf_error_t error, const wolf_library_p librar /** * Gets a symbol (a function) from the library object. It has to be - * casted properly to the function you are expecting to call. + * casted properly to the function you are expecting to call using + * WOLF_LIBRARY_FUNC_CAST( symbol, func_t, func ). * * @param library the library object * @param name name of the symbol to retrieve |