<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <dl style="line-height: 1.5; margin-left: 2em">
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
      <dd style="margin-left: 8.5em">Kouhei Sutou &lt;kou****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2018-06-12 15:30:57 +0900 (Tue, 12 Jun 2018)</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
      <dd style="margin-left: 8.5em"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7">bcfee5193ad7f940db76950024b4cb6ef555eba7</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Add a new predicate: grn_obj_is_number_family_bulk()</pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-78768fbbfb70c9fe0d52dd79fbc492ad">include/groonga/obj.h</a></li>
          <li><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53">lib/obj.c</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: include/groonga/obj.h (+1 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-78768fbbfb70c9fe0d52dd79fbc492adL34">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-78768fbbfb70c9fe0d52dd79fbc492adL35">35</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-78768fbbfb70c9fe0d52dd79fbc492adL36">36</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-78768fbbfb70c9fe0d52dd79fbc492adL37">37</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-78768fbbfb70c9fe0d52dd79fbc492adL38">38</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-78768fbbfb70c9fe0d52dd79fbc492adL39">39</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-78768fbbfb70c9fe0d52dd79fbc492adL40">40</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-78768fbbfb70c9fe0d52dd79fbc492adR34">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-78768fbbfb70c9fe0d52dd79fbc492adR35">35</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-78768fbbfb70c9fe0d52dd79fbc492adR36">36</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-78768fbbfb70c9fe0d52dd79fbc492adR37">37</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-78768fbbfb70c9fe0d52dd79fbc492adR38">38</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-78768fbbfb70c9fe0d52dd79fbc492adR39">39</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-78768fbbfb70c9fe0d52dd79fbc492adR40">40</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-78768fbbfb70c9fe0d52dd79fbc492adR41">41</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -35,6 +35,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">GRN_API grn_bool grn_obj_is_true(grn_ctx *ctx, grn_obj *obj);</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_API grn_bool grn_obj_is_builtin(grn_ctx *ctx, grn_obj *obj);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_API grn_bool grn_obj_is_bulk(grn_ctx *ctx, grn_obj *obj);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_API grn_bool grn_obj_is_text_family_bulk(grn_ctx *ctx, grn_obj *obj);</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+GRN_API grn_bool grn_obj_is_number_family_bulk(grn_ctx *ctx, grn_obj *obj);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_API grn_bool grn_obj_is_table(grn_ctx *ctx, grn_obj *obj);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_API grn_bool grn_obj_is_lexicon(grn_ctx *ctx, grn_obj *obj);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_API grn_bool grn_obj_is_column(grn_ctx *ctx, grn_obj *obj);</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: lib/obj.c (+10 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53L99">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53L100">100</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53L101">101</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53L102">102</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53L103">103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53L104">104</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53L105">105</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53R99">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53R100">100</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53R101">101</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53R102">102</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53R103">103</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53R104">104</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53R105">105</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53R106">106</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53R107">107</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53R108">108</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53R109">109</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53R110">110</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53R111">111</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53R112">112</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53R113">113</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53R114">114</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/bcfee5193ad7f940db76950024b4cb6ef555eba7#diff-ae76eb4cf257a69803fa9a807640eb53R115">115</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -100,6 +100,16 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_obj_is_text_family_bulk(grn_ctx *ctx, grn_obj *obj)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_bool</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+grn_obj_is_number_family_bulk(grn_ctx *ctx, grn_obj *obj)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+{</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+  if (!grn_obj_is_bulk(ctx, obj)) {</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+    return GRN_FALSE;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+  }</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+  return grn_type_id_is_number_family(ctx, obj-&gt;header.domain);</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+}</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+grn_bool</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_obj_is_table(grn_ctx *ctx, grn_obj *obj)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   grn_bool is_table = GRN_FALSE;</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>