Catch up with Gearman's libtest
[m6w6/libmemcached] / tests / libmemcached-1.0 / plus.cpp
index 8539c5e6dc9fe79c1f3f5d7f1f4d0f004198b8d5..a01544c5c10fd63a87e7ecdbd8f01bedf6208b81 100644 (file)
@@ -286,10 +286,10 @@ collection_st collection[] ={
 
 void get_world(Framework *world)
 {
-  world->collections= collection;
+  world->collections(collection);
 
-  world->_create= world_create;
-  world->_destroy= world_destroy;
+  world->create((test_callback_create_fn*)world_create);
+  world->destroy((test_callback_destroy_fn*)world_destroy);
 
   world->set_runner(new LibmemcachedRunner);
 }