X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fstring.h;h=605ac57ba4c7e664e215f5e2c81082f24f7a32f4;hb=2c51ea585ccfbf3a14fed6d28f9115292ad0e6fc;hp=168172ea70e5c489c8168d90abd2247ae2594c83;hpb=284978b1dc258cb8cd2a32d6a0f25f2f9b284149;p=m6w6%2Flibmemcached diff --git a/libmemcached/string.h b/libmemcached/string.h index 168172ea..605ac57b 100644 --- a/libmemcached/string.h +++ b/libmemcached/string.h @@ -17,7 +17,7 @@ about them. 1) is_initialized is always valid. - 2) A string once intialized will always be, until free where we + 2) A string once intialized will always be, until free where we unset this flag. 3) A string always has a root. */ @@ -28,8 +28,8 @@ struct memcached_string_st { size_t current_size; const memcached_st *root; struct { - bool is_allocated:1; - bool is_initialized:1; + bool is_allocated MEMCACHED_BITFIELD; + bool is_initialized MEMCACHED_BITFIELD; } options; };