~tangent-trunk/libmemcached/1.0

« back to all changes in this revision

Viewing changes to libmemcached/common.h

  • Committer: Continuous Integration
  • Date: 2012-12-31 10:53:13 UTC
  • mfrom: (1121.1.14 libmemcached-1.0)
  • Revision ID: ci@tangent.org-20121231105313-fjxoa7lih4i5h5q8
Merge lp:~tangent-org/libmemcached/1.0-build/ Build: jenkins-Libmemcached-181

Show diffs side-by-side

added added

removed removed

Lines of Context:
215
215
 
216
216
memcached_return_t run_distribution(memcached_st *ptr);
217
217
 
218
 
#define memcached_server_response_increment(A) (A)->cursor_active_++
 
218
#ifdef __cplusplus
 
219
static inline void memcached_server_response_increment(org::libmemcached::Instance* instance)
 
220
{
 
221
  instance->events(POLLIN);
 
222
  instance->cursor_active_++;
 
223
}
 
224
#endif
 
225
 
219
226
#define memcached_server_response_decrement(A) (A)->cursor_active_--
220
227
#define memcached_server_response_reset(A) (A)->cursor_active_=0
221
228