From 3d2c90ecdce024eb883d6359ea0881ea766c4abe Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 23 May 2010 16:55:33 +0200 Subject: cleaned up documentation in loader --- include/wolf/library/loader.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include') 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 -- cgit v1.2.3-54-g00ecf