commit 7315af58ff3b852516ecdfc7ab9c2be03f7d3eef parent 409fb0e18c8b34bac217ba968b2c7279b52818b5 Author: Evgeny Grin (Karlson2k) <k2k@narod.ru> Date: Sun, 17 Jan 2021 20:56:31 +0300 microhttpd.h: clarified that MHD_VERSION is in BCD form Diffstat:
| M | src/include/microhttpd.h | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h @@ -129,8 +129,10 @@ typedef intptr_t ssize_t; #endif /** - * Current version of the library. - * @note While it is a hexadecimal number, it is parsed as decimal number. + * Current version of the library in packed BCD form. + * @note Version number components are coded as Simple Binary-Coded Decimal + * (also called Natural BCD or BCD 8421). While they are hexadecimal numbers, + * they are parsed as decimal numbers. * Example: 0x01093001 = 1.9.30-1. */ #define MHD_VERSION 0x00097202