From: Yin Chen Date: Mon, 25 Aug 2008 05:02:57 +0000 (+0800) Subject: add a memcached_result_string_st(A) interface to support the cas related API wrapper X-Git-Tag: 0.23~3^2~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=f859a9f36f4eb8df12faea8005b26eb75b1265d6;p=awesomized%2Flibmemcached add a memcached_result_string_st(A) interface to support the cas related API wrapper --- diff --git a/libmemcached/memcached_result.h b/libmemcached/memcached_result.h index 47556e85..4826042c 100644 --- a/libmemcached/memcached_result.h +++ b/libmemcached/memcached_result.h @@ -32,6 +32,7 @@ memcached_result_st *memcached_result_create(memcached_st *ptr, memcached_result_st *result); #define memcached_result_key_value(A) (A)->key #define memcached_result_key_length(A) (A)->key_length +#define memcached_result_string_st(A) ((A)->value) #ifdef FIX #define memcached_result_value(A) memcached_string_value((A)->value) #define memcached_result_length(A) memcached_string_length((A)->value)