acts as a result object. The result objects have added benefits over the
character pointer returns, in that they are forward compatible with new
return items that future memcached servers may implement (the best current
acts as a result object. The result objects have added benefits over the
character pointer returns, in that they are forward compatible with new
return items that future memcached servers may implement (the best current
the current result object.
:func:`memcached_result_value` returns the result value associated with the
the current result object.
:func:`memcached_result_value` returns the result value associated with the
value, unless you have made use of a custom allocator. Use of a custom
allocator requires that you create your own custom free() to release it.
value, unless you have made use of a custom allocator. Use of a custom
allocator requires that you create your own custom free() to release it.
stack based allocation. The most common issues related to ABI safety involve
heap allocated structures.
stack based allocation. The most common issues related to ABI safety involve
heap allocated structures.
Varies, see particular functions. All structures must have
:func:`memcached_result_free` called on them for cleanup purposes. Failure
to do this will result in leaked memory.
Varies, see particular functions. All structures must have
:func:`memcached_result_free` called on them for cleanup purposes. Failure
to do this will result in leaked memory.