diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2010-05-23 16:55:33 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2010-05-23 16:55:33 +0200 |
commit | 3d2c90ecdce024eb883d6359ea0881ea766c4abe (patch) | |
tree | b6fab783e7d071cc99ccd959d62b7b420d2761a6 | |
parent | 88665c39660c05abddf672842d7c6103045e0b15 (diff) | |
download | wolfbones-3d2c90ecdce024eb883d6359ea0881ea766c4abe.tar.gz wolfbones-3d2c90ecdce024eb883d6359ea0881ea766c4abe.tar.bz2 |
cleaned up documentation in loader
-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 |