projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fix from Trond for deprecation
[m6w6/libmemcached]
/
docs
/
memcached_callback.pod
diff --git
a/docs/memcached_callback.pod
b/docs/memcached_callback.pod
index 5aa2e3b491812f77c3ce8f925f25ef1487b241d9..6eba4f3263080ed910bba2ebeb00324c2dca7a63 100644
(file)
--- a/
docs/memcached_callback.pod
+++ b/
docs/memcached_callback.pod
@@
-1,6
+1,6
@@
=head1 NAME
=head1 NAME
-memcached_callback_get memcached_callback_set - Get and set a callback
+memcached_callback_get
,
memcached_callback_set - Get and set a callback
=head1 LIBRARY
=head1 LIBRARY
@@
-64,24
+64,15
@@
will copy the pointer to the clone.
=item MEMCACHED_CALLBACK_MALLOC_FUNCTION
=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.
-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
=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
=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
=item MEMCACHED_CALLBACK_GET_FAILURE