Catch up with Gearman's libtest
[m6w6/libmemcached] / tests / libmemcached-1.0 / all_tests_socket.cc
index cdc7b211703c73cd1b3cb69339be9831838b34c9..958873fb9f3fd7cd4e78e9de6bd6d019904376f4 100644 (file)
 
 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);
 }