<?xml version="1.0"?>
<page xmlns="http://projectmallard.org/1.0/"
      type="topic"
      style="function"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/experimental/ui/"
      id="bson_append_array_end">
  <info>
    <link type="guide" xref="bson_t" group="function"/>
  </info>
  <title>bson_append_array_end()</title>

  <section id="synopsis">
    <title>Synopsis</title>
    <synopsis><code mime="text/x-csrc"><![CDATA[bool
bson_append_array_end (bson_t *bson,
                       bson_t *child);
]]></code></synopsis>
  </section>

  <section id="parameters">
    <title>Parameters</title>
    <table>
      <tr><td><p>bson</p></td><td><p>A <code xref="bson_t">bson_t</code>.</p></td></tr>
      <tr><td><p>child</p></td><td><p>The <code xref="bson_t">bson_t</code> initialized in a call to <code xref="bson_append_array_begin">bson_append_array_begin()</code>.</p></td></tr>
    </table>
  </section>

  <section id="description">
    <title>Description</title>
    <p>The <code xref="bson_append_array_end">bson_append_array_end()</code> function shall complete the appending of an array field started with <code xref="bson_append_array_begin">bson_append_array_begin()</code>. <code>child</code> is invalid after calling this function.</p>
  </section>

  <section id="return">
    <title>Returns</title>
    <p>true if there the operation could be applied without overflowing.</p>
  </section>
</page>
