summaryrefslogtreecommitdiff
path: root/tests/modules
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-10-08 09:36:50 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2014-10-08 09:36:50 +0200
commitd6d7bbc9c32d5c060e48a3cfae006871f756cfaf (patch)
tree6bc2e9b3f95163edd3948f7e234becd4ee9d4f1b /tests/modules
parent48fece09164ce52753579a7225bc471d1fa44dea (diff)
downloadcrawler-d6d7bbc9c32d5c060e48a3cfae006871f756cfaf.tar.gz
crawler-d6d7bbc9c32d5c060e48a3cfae006871f756cfaf.tar.bz2
added flags to module loader, CLOSE_DEFERRED is deferring dlclose with a atexit
function, so that the tolua test runs now
Diffstat (limited to 'tests/modules')
-rwxr-xr-xtests/modules/test4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modules/test4.cpp b/tests/modules/test4.cpp
index 4e71295..5630966 100755
--- a/tests/modules/test4.cpp
+++ b/tests/modules/test4.cpp
@@ -24,7 +24,7 @@ int main( void )
UserData user_data;
user_data.version = 47;
user_data.text.assign( "hello there" );
- ModuleLoader<Base> loader( modules, (void *)&user_data );
+ ModuleLoader<Base> loader( modules, DEFAULT_FLAGS, (void *)&user_data );
Base *obj = loader.create( "testmod4" );
c.print( "hello from main" );