@@ -7,7 +7,7 @@ extern "C" {
7
7
8
8
#include <stddef.h>
9
9
10
- /* Unless explicitly stated all pointer arguments must not be NULL.
10
+ /** Unless explicitly stated all pointer arguments must not be NULL.
11
11
*
12
12
* The following rules specify the order of arguments in API calls:
13
13
*
@@ -134,7 +134,7 @@ typedef int (*secp256k1_nonce_function)(
134
134
# define SECP256K1_INLINE inline
135
135
# endif
136
136
137
- /** When this header is used at build-time the SECP256K1_BUILD define needs to be set
137
+ /* When this header is used at build-time the SECP256K1_BUILD define needs to be set
138
138
* to correctly setup export attributes and nullness checks. This is normally done
139
139
* by secp256k1.c but to guard against this header being included before secp256k1.c
140
140
* has had a chance to set the define (e.g. via test harnesses that just includes
@@ -163,9 +163,9 @@ typedef int (*secp256k1_nonce_function)(
163
163
# endif
164
164
#endif
165
165
166
- /** Warning attributes
167
- * NONNULL is not used if SECP256K1_BUILD is set to avoid the compiler optimizing out
168
- * some paranoid null checks. */
166
+ /* Warning attributes
167
+ * NONNULL is not used if SECP256K1_BUILD is set to avoid the compiler optimizing out
168
+ * some paranoid null checks. */
169
169
# if defined(__GNUC__ ) && SECP256K1_GNUC_PREREQ (3 , 4 )
170
170
# define SECP256K1_WARN_UNUSED_RESULT __attribute__ ((__warn_unused_result__))
171
171
# else
@@ -177,7 +177,7 @@ typedef int (*secp256k1_nonce_function)(
177
177
# define SECP256K1_ARG_NONNULL (_x )
178
178
# endif
179
179
180
- /** Attribute for marking functions, types, and variables as deprecated */
180
+ /* Attribute for marking functions, types, and variables as deprecated */
181
181
#if !defined(SECP256K1_BUILD ) && defined(__has_attribute )
182
182
# if __has_attribute (__deprecated__ )
183
183
# define SECP256K1_DEPRECATED (_msg ) __attribute__ ((__deprecated__(_msg)))
@@ -188,11 +188,11 @@ typedef int (*secp256k1_nonce_function)(
188
188
# define SECP256K1_DEPRECATED (_msg )
189
189
#endif
190
190
191
- /** All flags' lower 8 bits indicate what they're for. Do not use directly. */
191
+ /* All flags' lower 8 bits indicate what they're for. Do not use directly. */
192
192
#define SECP256K1_FLAGS_TYPE_MASK ((1 << 8) - 1)
193
193
#define SECP256K1_FLAGS_TYPE_CONTEXT (1 << 0)
194
194
#define SECP256K1_FLAGS_TYPE_COMPRESSION (1 << 1)
195
- /** The higher bits contain the actual data. Do not use directly. */
195
+ /* The higher bits contain the actual data. Do not use directly. */
196
196
#define SECP256K1_FLAGS_BIT_CONTEXT_VERIFY (1 << 8)
197
197
#define SECP256K1_FLAGS_BIT_CONTEXT_SIGN (1 << 9)
198
198
#define SECP256K1_FLAGS_BIT_CONTEXT_DECLASSIFY (1 << 10)
0 commit comments