size_t current_size;
const memcached_st *root;
struct {
- bool is_allocated MEMCACHED_BITFIELD;
- bool is_initialized MEMCACHED_BITFIELD;
+ bool is_allocated:1;
+ bool is_initialized:1;
} options;
};
LIBMEMCACHED_LOCAL
char *memcached_string_value_mutable(const memcached_string_st *self);
-#define memcached_string_set_length(A, B) (A)->end= (A)->string + B
+LIBMEMCACHED_LOCAL
+void memcached_string_set_length(memcached_string_st *self, size_t length);
#ifdef __cplusplus
}