diff options
author | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2018-06-24 18:48:33 +0200 |
---|---|---|
committer | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2018-06-24 18:48:33 +0200 |
commit | 5de8b1d6e35e4c802cc25f7cbca7ba1154965b13 (patch) | |
tree | b088538e45519c7f798f8af6972c01b0ae5ce897 /src/include/gnunet_common.h | |
parent | 1981ffec4ad18287efe8ab693390e1d498de05bf (diff) | |
download | gnunet-5de8b1d6e35e4c802cc25f7cbca7ba1154965b13.tar.gz gnunet-5de8b1d6e35e4c802cc25f7cbca7ba1154965b13.zip |
fix https://gnunet.org/bugs/view.php?id=4904
Diffstat (limited to 'src/include/gnunet_common.h')
-rw-r--r-- | src/include/gnunet_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index ec91b35ad..b4bf5b0aa 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h | |||
@@ -24,6 +24,7 @@ | |||
24 | * | 24 | * |
25 | * @author Christian Grothoff | 25 | * @author Christian Grothoff |
26 | * @author Nils Durner | 26 | * @author Nils Durner |
27 | * @author Martin Schanzenbach | ||
27 | * | 28 | * |
28 | * @defgroup logging Logging | 29 | * @defgroup logging Logging |
29 | * @see [Documentation](https://gnunet.org/logging) | 30 | * @see [Documentation](https://gnunet.org/logging) |
@@ -112,6 +113,11 @@ extern "C" | |||
112 | #endif | 113 | #endif |
113 | 114 | ||
114 | /** | 115 | /** |
116 | * wrap va_arg for enums | ||
117 | */ | ||
118 | #define GNUNET_VA_ARG_ENUM(va,X) ((enum X) va_arg (va, int)) | ||
119 | |||
120 | /** | ||
115 | * @ingroup logging | 121 | * @ingroup logging |
116 | * define #GNUNET_EXTRA_LOGGING if using this header outside the GNUnet source | 122 | * define #GNUNET_EXTRA_LOGGING if using this header outside the GNUnet source |
117 | * tree where gnunet_config.h is unavailable | 123 | * tree where gnunet_config.h is unavailable |