1

I am using mongo-c-driver-1.0.2. Can I use bson_finish()? I already added . But the error is error: ‘bson_finish’ was not declared in this scope.

Should I use bson_finish()?

BAE
  • 8,550
  • 22
  • 88
  • 171

1 Answers1

0

I think you should using libbson instead mongo-c-driver, libbson using #include< bson.h > while mongo-c using #include< mongoc.h >

or maybe did you mean

bson_destroy()
Faruk
  • 5,438
  • 3
  • 30
  • 46