Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 mongo-c-driver-1.0.2。我可以使用 bson_finish() 吗?我已经加了。但错误是错误:'bson_finish' 未在此范围内声明。
我应该使用 bson_finish() 吗?
我认为你应该使用 libbson 而不是 mongo-c-driver,libbson 使用 #include< bson.h > 而 mongo-c 使用 #include< mongoc.h >
或者你的意思是
bson_destroy()