[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: microhttpd.h: clarified that MHD_
[libmicrohttpd] branch master updated: microhttpd.h: clarified that MHD_VERSION is in BCD form
Sun, 17 Jan 2021 18:57:52 +0100
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 7315af58 microhttpd.h: clarified that MHD_VERSION is in BCD form
7315af58 is described below
Author: Evgeny Grin (Karlson2k) <email@example.com>
AuthorDate: Sun Jan 17 20:56:31 2021 +0300
microhttpd.h: clarified that MHD_VERSION is in BCD form
src/include/microhttpd.h | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 2f76a1ec..dad0a952 100644
@@ -129,8 +129,10 @@ typedef intptr_t ssize_t;
- * 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
To stop receiving notification emails like this one, please contact
|[Prev in Thread]
||[Next in Thread]|
- [libmicrohttpd] branch master updated: microhttpd.h: clarified that MHD_VERSION is in BCD form,