Fix on definition for memcached_execute_fetch().
author <brian@gir-2.local> <>
Tue, 29 Apr 2008 23:42:18 +0000 (16:42 -0700)
committer <brian@gir-2.local> <>
Tue, 29 Apr 2008 23:42:18 +0000 (16:42 -0700)
libmemcached/memcached.h
libmemcached/memcached_fetch_execute.c

index 935a4a1359c909a80782e1959d4b7ae4b6ae4ba3..3a1def4845086c06f57fcc57485762aebbf66fa5 100644 (file)
@@ -183,10 +183,9 @@ memcached_return memcached_delete_by_key(memcached_st *ptr,
                                          time_t expiration);
 
 memcached_return memcached_fetch_execute(memcached_st *ptr, 
-                                             unsigned int (*callback[])(memcached_st *ptr, memcached_result_st *result, void *context),
+                                             memcached_execute_function *callback,
                                              void *context,
-                                             unsigned int number_of_callbacks
-                                             );
+                                             unsigned int number_of_callbacks);
 
 memcached_return memcached_callback_set(memcached_st *ptr, 
                                         memcached_callback flag, 
index 29d76244387ea022ba9f07c21a42a51b51f3b3b8..5058fdecc0dbba7bf17208562e8f7ac5505bdb9a 100644 (file)
@@ -3,8 +3,7 @@
 memcached_return memcached_fetch_execute(memcached_st *ptr, 
                                              memcached_execute_function *callback,
                                              void *context,
-                                             unsigned int number_of_callbacks
-                                             )
+                                             unsigned int number_of_callbacks)
 {
   memcached_result_st *result= &ptr->result;