Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

Author

       MongoDB, Inc

Description

       Reinitializes a bson_t.

       If  the bson_t structure contains a malloc()'d buffer, it may be reused. To be certain that any buffer is
       freed, always call bson_destroy() on any bson_t structure, whether initialized  or  reinitialized,  after
       its final use.

Parameters

       • b: A bson_t.

Synopsis

          void
          bson_reinit (bson_t *b);

See Also