summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2010-05-21 15:31:37 +0200
committerAndreas Baumann <abaumann@yahoo.com>2010-05-21 15:31:37 +0200
commitd0d576d61d65f7b42db1cc7331f1c7c9879e90e9 (patch)
tree40eb97a6ace92157666f000bc6932bee99d766ad /include
parent223b524f4636be7aa030f8609125d54cd9ea0882 (diff)
downloadwolfbones-d0d576d61d65f7b42db1cc7331f1c7c9879e90e9.tar.gz
wolfbones-d0d576d61d65f7b42db1cc7331f1c7c9879e90e9.tar.bz2
final cleanup in documentation of library loader
Diffstat (limited to 'include')
-rw-r--r--include/wolf/library/loader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wolf/library/loader.h b/include/wolf/library/loader.h
index 19979af..437fa1b 100644
--- a/include/wolf/library/loader.h
+++ b/include/wolf/library/loader.h
@@ -58,6 +58,10 @@ typedef struct wolf_library_t *wolf_library_p;
*
* Reason: conversion from void * to function pointer is illegal by ISO-99
* (though it works actually on Posix)
+ *
+ * for the reasons why naive casting doesn't work with dlsym, see:
+ *
+ * http://en.wikipedia.org/wiki/Dynamic_loading
*/
#if defined _WIN32
#define WOLF_LIBRARY_FUNC_CAST( symbol__, func_t__, func__ ) func__ = (func_t__)symbol__