We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ee74d1 commit c5855d8Copy full SHA for c5855d8
1 file changed
Framework/Foundation/3rdparty/x9/x9.h
@@ -32,6 +32,11 @@
32
33
#pragma once
34
35
+#ifdef __cplusplus
36
+extern "C" {
37
+#define restrict __restrict__
38
+#endif
39
+
40
#include <stdbool.h> /* bool */
41
#include <stdint.h> /* uint64_t */
42
@@ -164,3 +169,6 @@ __attribute__((nonnull)) void x9_broadcast_msg_to_all_node_inboxes(
164
169
uint64_t const msg_sz,
165
170
void const* restrict const msg);
166
171
172
173
+}
174
0 commit comments