<!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">HAYASHI Kentaro &lt;hayas****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2015-04-03 14:44:41 +0900 (Fri, 03 Apr 2015)</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/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c">d9805b14bb0b78be01e0fc9ed6956bce4701217c</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Merge</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li>Merged 74fdf75: Merge pull request #83 from ranguba/add-convert-to-string</li>
        </ul>
      </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 utility function which converts to string</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/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#diff-0">ext/groonga/rb-grn-utils.c</a></li>
          <li><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#diff-1">ext/groonga/rb-grn.h</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: ext/groonga/rb-grn-utils.c (+6 -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/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L0L171">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L0L172">172</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L0L173">173</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L0L174">174</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L0L175">175</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L0L176">176</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L0L177">177</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/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L0R171">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L0R172">172</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L0R173">173</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L0R174">174</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L0R175">175</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L0R176">176</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L0R177">177</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L0R178">178</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L0R179">179</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L0R180">180</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L0R181">181</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L0R182">182</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L0R183">183</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">@@ -172,6 +172,12 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">rb_grn_equal_string (const char *string1, const char *string2)</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"> VALUE</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+rb_grn_convert_to_string (VALUE object)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+{</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    return rb_convert_type(object, RUBY_T_STRING, &quot;String&quot;, &quot;to_str&quot;);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+}</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+VALUE</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> rb_grn_convert_to_array (VALUE object)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     return rb_convert_type(object, RUBY_T_ARRAY, &quot;Array&quot;, &quot;to_ary&quot;);</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: ext/groonga/rb-grn.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/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L1L358">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L1L359">359</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L1L360">360</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L1L361">361</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/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L1L362">362</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L1L363">363</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L1L364">364</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/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L1R358">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L1R359">359</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L1R360">360</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L1R361">361</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L1R362">362</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L1R363">363</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L1R364">364</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/d9805b14bb0b78be01e0fc9ed6956bce4701217c#L1R365">365</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">@@ -359,6 +359,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_bool       rb_grn_equal_option                  (VALUE option,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">                                                      const char *key);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_bool       rb_grn_equal_string                  (const char *string1,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                                                      const char *string2);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+VALUE          rb_grn_convert_to_string             (VALUE object);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> VALUE          rb_grn_convert_to_array              (VALUE object);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> VALUE          rb_grn_check_convert_to_string       (VALUE object);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> VALUE          rb_grn_check_convert_to_array        (VALUE object);</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>