diff options
Diffstat (limited to 'src/include/gnunet_util_lib.h')
-rw-r--r-- | src/include/gnunet_util_lib.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/gnunet_util_lib.h b/src/include/gnunet_util_lib.h index ada40a4ca..c8737dc60 100644 --- a/src/include/gnunet_util_lib.h +++ b/src/include/gnunet_util_lib.h | |||
@@ -93,6 +93,15 @@ extern "C" | |||
93 | #include "gnunet_child_management_lib.h" | 93 | #include "gnunet_child_management_lib.h" |
94 | #include "gnunet_error_codes.h" | 94 | #include "gnunet_error_codes.h" |
95 | 95 | ||
96 | |||
97 | /** | ||
98 | * Stringify operator. | ||
99 | * | ||
100 | * @param a some expression to stringify. Must NOT be a macro. | ||
101 | * @return same expression as a constant string. | ||
102 | */ | ||
103 | #define GNUNET_S(a) #a | ||
104 | |||
96 | /** | 105 | /** |
97 | * Try to compress the given block of data using libz. Only returns | 106 | * Try to compress the given block of data using libz. Only returns |
98 | * the compressed block if compression worked and the new block is | 107 | * the compressed block if compression worked and the new block is |