nghttp2.h: Use hex style flag definition

This commit is contained in:
Tatsuhiro Tsujikawa 2014-05-06 18:49:24 +09:00
parent e2535df505
commit 704f362804
1 changed files with 3 additions and 3 deletions

View File

@ -362,7 +362,7 @@ typedef enum {
/**
* Indicates that this name/value pair must not be indexed.
*/
NGHTTP2_NV_FLAG_NO_INDEX = 0x1
NGHTTP2_NV_FLAG_NO_INDEX = 0x01
} nghttp2_nv_flag;
/**
@ -2921,11 +2921,11 @@ typedef enum {
/**
* Indicates all headers were inflated.
*/
NGHTTP2_HD_INFLATE_FINAL = 1,
NGHTTP2_HD_INFLATE_FINAL = 0x01,
/**
* Indicates a header was emitted.
*/
NGHTTP2_HD_INFLATE_EMIT = (1 << 1)
NGHTTP2_HD_INFLATE_EMIT = 0x02
} nghttp2_hd_inflate_flag;
/**