logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

       MongoDB, Inc

Description

       The bson_copy_to() function shall initialize dst with a copy of the contents of src.

       dstMUST be an uninitialized bson_t to avoid leaking memory.

Parameters

src: A bson_t.

       • dst: A bson_t.

Synopsis

          void
          bson_copy_to (const bson_t *src, bson_t *dst);

See Also