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

       This  function  is  identical  to bson_realloc() except it takes a context parameter. This is useful when
       working with pooled or specific memory allocators.

Parameters

       • mem: A memory region.

       • num_bytes: A size_t containing the requested size.

       • ctx: A consumer-specific pointer or NULL.

Synopsis

          void *
          bson_realloc_ctx (void *mem, size_t num_bytes, void *ctx);

See Also