X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fmemcached_callback.pod;h=a11f9585deac8a108c2f8f075e32d11a610b0c3e;hb=7582050eb5e2bdc7e055c84d639a7cb5b407cd4c;hp=1858302cbb487fac62be51b8eee6b29570a755d5;hpb=24342b1919b6aaa26c33aae50974b449f95a737a;p=awesomized%2Flibmemcached diff --git a/docs/memcached_callback.pod b/docs/memcached_callback.pod index 1858302c..a11f9585 100644 --- a/docs/memcached_callback.pod +++ b/docs/memcached_callback.pod @@ -1,6 +1,6 @@ =head1 NAME -memcached_callback_get memcached_callback_set +memcached_callback_get memcached_callback_set - Get and set a callback =head1 LIBRARY @@ -65,6 +65,7 @@ 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);