Skip to content
This repository was archived by the owner on Oct 13, 2020. It is now read-only.

Commit 2fc0f1a

Browse files
author
Christian Hergert
committed
bcon: use BSON_BEGIN_DECLS and BSON_END_DECLS in bcon.h.
1 parent 613b61b commit 2fc0f1a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/bson/bcon.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323

2424
#include <bson.h>
2525

26+
27+
BSON_BEGIN_DECLS
28+
29+
2630
#define BCON_STACK_MAX 100
2731

2832
#define BCON_ENSURE_DECLARE(fun, type) \
@@ -282,4 +286,8 @@ bcon_new (void *unused,
282286
const char *bson_bcon_magic (void) BSON_GNUC_CONST;
283287
const char *bson_bcone_magic (void) BSON_GNUC_CONST;
284288

289+
290+
BSON_END_DECLS
291+
292+
285293
#endif

0 commit comments

Comments
 (0)