X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fmemcached_callback.pod;h=6eba4f3263080ed910bba2ebeb00324c2dca7a63;hb=b30880274b5b866db3780148eaf9bf36e09bb1fb;hp=100aff189305f6d0f75457e3f747e4c41dd10aaf;hpb=717020b76aacd61929bf78ee6e8d838f619016f1;p=awesomized%2Flibmemcached diff --git a/docs/memcached_callback.pod b/docs/memcached_callback.pod index 100aff18..6eba4f32 100644 --- a/docs/memcached_callback.pod +++ b/docs/memcached_callback.pod @@ -64,25 +64,15 @@ will copy the pointer to the clone. =item MEMCACHED_CALLBACK_MALLOC_FUNCTION -This alllows yout to pass in a customized version of malloc that will be used instead of the builtin malloc(3) call. -Your malloc must zero all memory. -The prototype for this is: - -void *(*memcached_malloc_function)(memcached_st *ptr, const size_t size); +DEPRECATED: use memcached_set_memory_allocators instead. =item MEMCACHED_CALLBACK_REALLOC_FUNCTION -This alllows yout to pass in a customized version of realloc that will be used instead of the builtin realloc(3) call. -The prototype for this is: - -void *(*memcached_realloc_function)(memcached_st *ptr, void *mem, const size_t size); +DEPRECATED: use memcached_set_memory_allocators instead. =item MEMCACHED_CALLBACK_FREE_FUNCTION -This alllows yout to pass in a customized version of realloc that will be used instead of the builtin free(3) call. -The prototype for this is: - -typedef void (*memcached_free_function)(memcached_st *ptr, void *mem); +DEPRECATED: use memcached_set_memory_allocators instead. =item MEMCACHED_CALLBACK_GET_FAILURE