summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2010-06-13 15:27:29 +0200
committerAndreas Baumann <abaumann@yahoo.com>2010-06-13 15:27:29 +0200
commit00c6e3575d56e982e3528c43d73eb588ff3ff7ac (patch)
treed206ba1bdf75a009d07d8d4f29a806559d6d7b1d /include
parent5c8df05a029bd9616d517945153a95c6eefc8025 (diff)
downloadwolfbones-00c6e3575d56e982e3528c43d73eb588ff3ff7ac.tar.gz
wolfbones-00c6e3575d56e982e3528c43d73eb588ff3ff7ac.tar.bz2
renamed wolf_library_get_func to wolf_library_get as we can load
variables in DLLs added tests for variables and structs in DLLs (Windows)
Diffstat (limited to 'include')
-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 */