Skip to content

Commit e46458f

Browse files
committed
CDRIVER-2562 mark change streams fns extern "C"
1 parent e688cb4 commit e46458f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/mongoc/mongoc-change-stream.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121

2222
#include "mongoc-macros.h"
2323

24+
BSON_BEGIN_DECLS
25+
2426
typedef struct _mongoc_change_stream_t mongoc_change_stream_t;
2527

2628
MONGOC_EXPORT (void)
@@ -34,4 +36,6 @@ mongoc_change_stream_error_document (const mongoc_change_stream_t *,
3436
bson_error_t *,
3537
const bson_t **);
3638

39+
BSON_END_DECLS
40+
3741
#endif /* MONGOC_CHANGE_STREAM_H */

0 commit comments

Comments
 (0)