Skip to content

Commit b53672b

Browse files
radaretrufae
authored andcommitted
Fix c++ header wrap lint
1 parent eeb8fba commit b53672b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

libr/include/r_types_null.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#ifndef R_TYPES_NULL_H
22
#define R_TYPES_NULL_H
33

4+
#ifdef __cplusplus
5+
extern "C" {
6+
#endif
7+
48
// TODO: use this new syntax instead: #define R_NONNULL(type) type * _Nonnull
59

610
// -Wno-nullability-completeness
@@ -39,4 +43,8 @@
3943
#define ATTR_NONNULL(...)
4044
#endif
4145

46+
#ifdef __cplusplus
47+
}
48+
#endif
49+
4250
#endif // NULLABILITY_H

0 commit comments

Comments
 (0)