diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2010-05-20 17:30:26 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2010-05-20 17:30:26 +0200 |
commit | eca7b5dbd6929a75075372cc4be2c6b376d9cb17 (patch) | |
tree | a586b9439bd3245f3375ed5b128c593a1c198957 /tests | |
parent | 0718a3222ad1cf0e9bf85947f6a32b106cdb2ee4 (diff) | |
download | wolfbones-eca7b5dbd6929a75075372cc4be2c6b376d9cb17.tar.gz wolfbones-eca7b5dbd6929a75075372cc4be2c6b376d9cb17.tar.bz2 |
final solution of library loader
Diffstat (limited to 'tests')
-rw-r--r-- | tests/library/test_loader.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/library/test_loader.c b/tests/library/test_loader.c index 15b5d12..ddcdbc5 100644 --- a/tests/library/test_loader.c +++ b/tests/library/test_loader.c @@ -27,17 +27,6 @@ #define LIBRARY_NAME "./testlib.so.0.0.0" #endif -#if defined _WIN32 -#define WOLF_LIBRARY_FUNC_CAST( symbol__, func_t__, func__ ) func__ = (func_t__)symbol__ -#else -#define WOLF_LIBRARY_FUNC_CAST( symbol__, func_t__, func__ ) \ - { \ - union { func_t__ f__; void *s__ } alias__; \ - alias__.s__ = symbol__; \ - func__ = alias__.f__; \ - } -#endif - int main( void ) { wolf_library_p library; wolf_error_t error; |