mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-29 04:09:31 +03:00
microhttpd2.h: improved comment
This commit is contained in:
2 files changed
+12
-12
No files matched your search
@@ -9011,14 +9011,14 @@ MHD_FN_PAR_NONNULL_ (2) MHD_FN_PAR_OUT_ (2);
|
||||
#ifndef MHD_NO_STATIC_INLINE
|
||||
|
||||
/*
|
||||
* A helper below can be used in a simple check to prevent use of downgraded
|
||||
* A helper below can be used in a simple check preventing use of downgraded
|
||||
* library version.
|
||||
* New library version may introduce new functionality. If application uses
|
||||
* some new functionality, that is not available on earlier version, and the
|
||||
* library version is downgraded it may fail at run-time.
|
||||
* To prevent run-time failures, application may use a check list this:
|
||||
* As new library version may introduce new functionality, and the application
|
||||
* may detect some functionality available at application build-time, use of
|
||||
* previous versions may lead to run-time failures.
|
||||
* To prevent run-time failures, application may use a check like:
|
||||
|
||||
if (MHD_lib_get_info_ver_num() < ((uint_fast32_t) MHD_VERSION)
|
||||
if (MHD_lib_get_info_ver_num() < ((uint_fast32_t) MHD_VERSION))
|
||||
handle_init_failure();
|
||||
|
||||
*/
|
||||
|
||||
@@ -4389,14 +4389,14 @@ MHD_FN_PAR_NONNULL_ (2) MHD_FN_PAR_OUT_ (2);
|
||||
#ifndef MHD_NO_STATIC_INLINE
|
||||
|
||||
/*
|
||||
* A helper below can be used in a simple check to prevent use of downgraded
|
||||
* A helper below can be used in a simple check preventing use of downgraded
|
||||
* library version.
|
||||
* New library version may introduce new functionality. If application uses
|
||||
* some new functionality, that is not available on earlier version, and the
|
||||
* library version is downgraded it may fail at run-time.
|
||||
* To prevent run-time failures, application may use a check list this:
|
||||
* As new library version may introduce new functionality, and the application
|
||||
* may detect some functionality available at application build-time, use of
|
||||
* previous versions may lead to run-time failures.
|
||||
* To prevent run-time failures, application may use a check like:
|
||||
|
||||
if (MHD_lib_get_info_ver_num() < ((uint_fast32_t) MHD_VERSION)
|
||||
if (MHD_lib_get_info_ver_num() < ((uint_fast32_t) MHD_VERSION))
|
||||
handle_init_failure();
|
||||
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user