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