gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] branch master updated: microhttpd.h: clarified that MHD_


From: gnunet
Subject: [libmicrohttpd] branch master updated: microhttpd.h: clarified that MHD_VERSION is in BCD form
Date: 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

commit 7315af58ff3b852516ecdfc7ab9c2be03f7d3eef
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
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
--- 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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]