arrow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u..@apache.org
Subject [46/51] [partial] arrow-site git commit: API doc update
Date Sat, 04 Nov 2017 10:38:04 GMT
http://git-wip-us.apache.org/repos/asf/arrow-site/blob/35e0e750/docs/cpp/arrow_2python_2common_8h_source.html
----------------------------------------------------------------------
diff --git a/docs/cpp/arrow_2python_2common_8h_source.html b/docs/cpp/arrow_2python_2common_8h_source.html
index be3a10c..78e707c 100644
--- a/docs/cpp/arrow_2python_2common_8h_source.html
+++ b/docs/cpp/arrow_2python_2common_8h_source.html
@@ -67,9 +67,10 @@ $(function() {
 <div class="title">common.h</div>  </div>
 </div><!--header-->
 <div class="contents">
-<a href="arrow_2python_2common_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// or more contributor license agreements.  See the NOTICE file</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// regarding copyright ownership.  The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00006"><
 /a><span class="lineno">    6</span>&#160;<span class="comment">// &quot;License&quot;); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">// with the License.  You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//   http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing,</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// software
  distributed under the License is distributed on an</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">// &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// KIND, either express or implied.  See the License for the</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// specific language governing permissions and limitations</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// under the License.</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#ifndef ARROW_PYTHON_COMMON_H</span></div><div class="line"><a name="l00019"></a><span
  class="lineno">   19</span>&#160;<span class="preprocessor">#define ARROW_PYTHON_COMMON_H</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="arrow_2python_2config_8h.html">arrow/python/config.h</a>&quot;</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="buffer_8h.html">arrow/buffer.h</a>&quot;</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class
 ="preprocessor">#include &quot;<a class="code" href="macros_8h.html">arrow/util/macros.h</a>&quot;</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="visibility_8h.html">arrow/util/visibility.h</a>&quot;</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacearrow.html">arrow</a> {</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keyword">class </span>MemoryPool;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">namespace </span>py
  {</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html">   35</a></span>&#160;<span class="keyword">class </span>ARROW_EXPORT <a class="code" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html">PyAcquireGIL</a> {</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html#a176ad0a1d753c1e1297a8c8c8e24edfc">   37</a></span>&#160;  <a class="code" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html#a176ad0a1d753c1e1297a8c8c8e24edfc">PyAcquireGIL</a>() : acquired_gil_(false) { acquire(); }</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno"><a class
 ="line" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html#aa07961f7d96ca5dd17319aa4fb65facc">   39</a></span>&#160;  <a class="code" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html#aa07961f7d96ca5dd17319aa4fb65facc">~PyAcquireGIL</a>() { release(); }</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html#a705f95bb8ae5f01b9c6615ef3694aef4">   41</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html#a705f95bb8ae5f01b9c6615ef3694aef4">acquire</a>() {</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keywordflow">if</span> (!acquired_gil_) {</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;      state_ = PyGILState_Ensure();</div><div class="line"><a name="l00044"></a><span class="l
 ineno">   44</span>&#160;      acquired_gil_ = <span class="keyword">true</span>;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    }</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;  }</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;  <span class="comment">// idempotent</span></div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html#a9b0f2a430dac36520aeedd344d21fb3f">   49</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html#a9b0f2a430dac36520aeedd344d21fb3f">release</a>() {</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keywordflow">if</span> (acquired_gil_) {</div><div class="line"><a name="l00051"></a
 ><span class="lineno">   51</span>&#160;      PyGILState_Release(state_);</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;      acquired_gil_ = <span class="keyword">false</span>;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    }</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;  }</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;  <span class="keywordtype">bool</span> acquired_gil_;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;  PyGILState_STATE state_;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;  <a class="code" href="macros_8h.html#a40d72e185b1488b5659b761f0b611
 5bb">ARROW_DISALLOW_COPY_AND_ASSIGN</a>(<a class="code" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html">PyAcquireGIL</a>);</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;};</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="arrow_2python_2common_8h.html#a3736d68f2c04b7b41de8a06fb198b577">   62</a></span>&#160;<span class="preprocessor">#define PYARROW_IS_PY2 PY_MAJOR_VERSION &lt;= 2</span></div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_owned_ref.html">   64</a></span>&#160;<span class="keyword">class </span>ARROW_EXPORT <a class="code" href="classarrow_1_1py_1_1_owned_ref.html">OwnedRef</a> {</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; <span clas
 s="keyword">public</span>:</div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_owned_ref.html#a23c568f39cefb24111a5b126342907fb">   66</a></span>&#160;  <a class="code" href="classarrow_1_1py_1_1_owned_ref.html#a23c568f39cefb24111a5b126342907fb">OwnedRef</a>() : obj_(nullptr) {}</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_owned_ref.html#a4fa414445a0d45fc6876e22a48323818">   68</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classarrow_1_1py_1_1_owned_ref.html#a4fa414445a0d45fc6876e22a48323818">OwnedRef</a>(PyObject* obj) : obj_(obj) {}</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_owned_ref.html#a8dbf530a3d56e
 9cc8be52ee72de0a2f8">   70</a></span>&#160;  <a class="code" href="classarrow_1_1py_1_1_owned_ref.html#a8dbf530a3d56e9cc8be52ee72de0a2f8">~OwnedRef</a>() {</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <a class="code" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html">PyAcquireGIL</a> lock;</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    release();</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;  }</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_owned_ref.html#ad99c47163961c1b346c3ea9836783eda">   75</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classarrow_1_1py_1_1_owned_ref.html#ad99c47163961c1b346c3ea9836783eda">reset</a>(PyObject* obj) {</div><div class="line"><a name="l00079"></a><span class=
 "lineno">   79</span>&#160;    Py_XDECREF(obj_);</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    obj_ = obj;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;  }</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_owned_ref.html#a22be3c23b30d73ec23bf7bd26ac2d738">   83</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classarrow_1_1py_1_1_owned_ref.html#a22be3c23b30d73ec23bf7bd26ac2d738">release</a>() {</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    Py_XDECREF(obj_);</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    obj_ = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;  }</div><div class="line"><a
  name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_owned_ref.html#ac9d1b421eef89af1daff63c14fe828d2">   88</a></span>&#160;  PyObject* <a class="code" href="classarrow_1_1py_1_1_owned_ref.html#ac9d1b421eef89af1daff63c14fe828d2">obj</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> obj_; }</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;  PyObject* obj_;</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;};</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#16
 0;<span class="comment">// This is different from OwnedRef in that it assumes that</span></div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="comment">// the GIL is held by the caller and doesn&#39;t decrement the</span></div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="comment">// reference count when release is called.</span></div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_scoped_ref.html">   97</a></span>&#160;<span class="keyword">class </span>ARROW_EXPORT <a class="code" href="classarrow_1_1py_1_1_scoped_ref.html">ScopedRef</a> {</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_scoped_ref.html#aff57aeaa246dbde9c1fade965f08e36f">   99</a></span>&#160;  <a
  class="code" href="classarrow_1_1py_1_1_scoped_ref.html#aff57aeaa246dbde9c1fade965f08e36f">ScopedRef</a>() : obj_(nullptr) {}</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_scoped_ref.html#a10b5972ad27bf47fc2b5414d27310b69">  101</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classarrow_1_1py_1_1_scoped_ref.html#a10b5972ad27bf47fc2b5414d27310b69">ScopedRef</a>(PyObject* obj) : obj_(obj) {}</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_scoped_ref.html#aea96d358836d5e3b56a9695bde378b2a">  103</a></span>&#160;  <a class="code" href="classarrow_1_1py_1_1_scoped_ref.html#aea96d358836d5e3b56a9695bde378b2a">~ScopedRef</a>() { Py_XDECREF(obj_); }</div><div class="line"><a n
 ame="l00104"></a><span class="lineno">  104</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_scoped_ref.html#a1cadd64358ad29278b4d6f9ee1344078">  105</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classarrow_1_1py_1_1_scoped_ref.html#a1cadd64358ad29278b4d6f9ee1344078">reset</a>(PyObject* obj) {</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    Py_XDECREF(obj_);</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    obj_ = obj;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;  }</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_scoped_ref.html#a5a20812323d56a3b9859fa2f0d018005">  110</a></span>&#160;  PyObject* <a class="code" href="classarr
 ow_1_1py_1_1_scoped_ref.html#a5a20812323d56a3b9859fa2f0d018005">release</a>() {</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    PyObject* result = obj_;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    obj_ = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;  }</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_scoped_ref.html#a9fc1bbe1e110d349bc40d489c5e7e191">  116</a></span>&#160;  PyObject* <span class="keyword">get</span>() <span class="keyword">const</span> { <span class="keywordflow">return</span> obj_; }</div><div class="line"><a name="l00117"></a><span clas
 s="lineno">  117</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_scoped_ref.html#a433336b353a3129bdd89b248db63fec3">  118</a></span>&#160;  PyObject** <a class="code" href="classarrow_1_1py_1_1_scoped_ref.html#a433336b353a3129bdd89b248db63fec3">ref</a>() { <span class="keywordflow">return</span> &amp;obj_; }</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;  PyObject* obj_;</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;};</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="structarrow_1_1py_1_1_py_object_stringify.html">  
 124</a></span>&#160;<span class="keyword">struct </span>ARROW_EXPORT <a class="code" href="structarrow_1_1py_1_1_py_object_stringify.html">PyObjectStringify</a> {</div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="structarrow_1_1py_1_1_py_object_stringify.html#a710405190a719e7941d68b0ff9c24bbf">  125</a></span>&#160;  <a class="code" href="classarrow_1_1py_1_1_owned_ref.html">OwnedRef</a> <a class="code" href="structarrow_1_1py_1_1_py_object_stringify.html#a710405190a719e7941d68b0ff9c24bbf">tmp_obj</a>;</div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="structarrow_1_1py_1_1_py_object_stringify.html#a4affd96a0f23d719cadb443eb179f98d">  126</a></span>&#160;  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="structarrow_1_1py_1_1_py_object_stringify.html#a4affd96a0f23d719cadb443eb179f98d">bytes</a>;</div><div class="line"><a name="l00127"></a><span class="lineno"><a cl
 ass="line" href="structarrow_1_1py_1_1_py_object_stringify.html#a93307dd10ea2e5725a0c9e6a93b5dd48">  127</a></span>&#160;  Py_ssize_t <a class="code" href="structarrow_1_1py_1_1_py_object_stringify.html#a93307dd10ea2e5725a0c9e6a93b5dd48">size</a>;</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="structarrow_1_1py_1_1_py_object_stringify.html#ae463580d34db2330fafa6d0651769948">  129</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="structarrow_1_1py_1_1_py_object_stringify.html#ae463580d34db2330fafa6d0651769948">PyObjectStringify</a>(PyObject* obj) {</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    PyObject* bytes_obj;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <span class="keywordflow">if</span> (PyUnicode_Check(obj)) {</div><div class="line"><a name="l00
 132"></a><span class="lineno">  132</span>&#160;      bytes_obj = PyUnicode_AsUTF8String(obj);</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;      tmp_obj.<a class="code" href="classarrow_1_1py_1_1_owned_ref.html#ad99c47163961c1b346c3ea9836783eda">reset</a>(bytes_obj);</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;      bytes = PyBytes_AsString(bytes_obj);</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;      size = PyBytes_GET_SIZE(bytes_obj);</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (PyBytes_Check(obj)) {</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;      bytes = PyBytes_AsString(obj);</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;      size = PyBytes_GET_SIZE(obj);</div><div clas
 s="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;      bytes = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;      size = -1;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    }</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;  }</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;};</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<a class="code" href="classarrow_1_1_status.html">Status</a> <a class="code" href="namespacearrow_1_1py.html#a37da12f47177606bf2725384804bef19">CheckPyError</a>(<a class="code" href="namespacearrow.html#a331ad1dbd1c157
 c8be168cb6548d188f">StatusCode</a> code = <a class="code" href="namespacearrow.html#a331ad1dbd1c157c8be168cb6548d188fabfaef30f1c8011c5cefa38ae470fb7aa">StatusCode::UnknownError</a>);</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<a class="code" href="classarrow_1_1_status.html">Status</a> <a class="code" href="namespacearrow_1_1py.html#a420f8c193475027edf8f2fb07cb6274f">PassPyError</a>();</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="comment">// TODO(wesm): We can just let errors pass through. To be explored later</span></div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="arrow_2python_2common_8h.html#ad99052ac0ced9d8a858bd49d5bfd2ebd">  151</a></span>&#160;<span class="preprocessor">#define RETURN
 _IF_PYERROR() RETURN_NOT_OK(CheckPyError());</span></div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="arrow_2python_2common_8h.html#acae7d13f31abc214abe5d1e7c901b72f">  153</a></span>&#160;<span class="preprocessor">#define PY_RETURN_IF_ERROR(CODE) RETURN_NOT_OK(CheckPyError(CODE));</span></div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="comment">// Return the common PyArrow memory pool</span></div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;ARROW_EXPORT <span class="keywordtype">void</span> <a class="code" href="namespacearrow_1_1py.html#a1c820dd57e25e43fbdfc3accd252efc4">set_default_memory_pool</a>(MemoryPool* pool);</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;A
 RROW_EXPORT MemoryPool* <a class="code" href="namespacearrow_1_1py.html#a695a28adb44e701429087896352e4a07">get_memory_pool</a>();</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_py_buffer.html">  159</a></span>&#160;<span class="keyword">class </span>ARROW_EXPORT <a class="code" href="classarrow_1_1py_1_1_py_buffer.html">PyBuffer</a> : <span class="keyword">public</span> <a class="code" href="classarrow_1_1_buffer.html">Buffer</a> {</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classarrow_1_1py_1_1_py_buffer.html">PyBuffer</a>(PyObject* obj);</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160; 
  ~<a class="code" href="classarrow_1_1py_1_1_py_buffer.html">PyBuffer</a>();</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;  PyObject* obj_;</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;};</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;}  <span class="comment">// namespace py</span></div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;}  <span class="comment">// namespace arrow</span></div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class
 ="preprocessor">#endif  // ARROW_PYTHON_COMMON_H</span></div><div class="ttc" id="structarrow_1_1py_1_1_py_object_stringify_html_a93307dd10ea2e5725a0c9e6a93b5dd48"><div class="ttname"><a href="structarrow_1_1py_1_1_py_object_stringify.html#a93307dd10ea2e5725a0c9e6a93b5dd48">arrow::py::PyObjectStringify::size</a></div><div class="ttdeci">Py_ssize_t size</div><div class="ttdef"><b>Definition:</b> common.h:127</div></div>
+<a href="arrow_2python_2common_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// or more contributor license agreements.  See the NOTICE file</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// regarding copyright ownership.  The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00006"><
 /a><span class="lineno">    6</span>&#160;<span class="comment">// &quot;License&quot;); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">// with the License.  You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//   http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing,</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// software
  distributed under the License is distributed on an</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">// &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// KIND, either express or implied.  See the License for the</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// specific language governing permissions and limitations</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// under the License.</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#ifndef ARROW_PYTHON_COMMON_H</span></div><div class="line"><a name="l00019"></a><span
  class="lineno">   19</span>&#160;<span class="preprocessor">#define ARROW_PYTHON_COMMON_H</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="arrow_2python_2config_8h.html">arrow/python/config.h</a>&quot;</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="buffer_8h.html">arrow/buffer.h</a>&quot;</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class
 ="preprocessor">#include &quot;<a class="code" href="macros_8h.html">arrow/util/macros.h</a>&quot;</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="visibility_8h.html">arrow/util/visibility.h</a>&quot;</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacearrow.html">arrow</a> {</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keyword">class </span>MemoryPool;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">namespace </span>py
  {</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html">   35</a></span>&#160;<span class="keyword">class </span>ARROW_EXPORT <a class="code" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html">PyAcquireGIL</a> {</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html#a176ad0a1d753c1e1297a8c8c8e24edfc">   37</a></span>&#160;  <a class="code" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html#a176ad0a1d753c1e1297a8c8c8e24edfc">PyAcquireGIL</a>() : acquired_gil_(false) { acquire(); }</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno"><a class
 ="line" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html#aa07961f7d96ca5dd17319aa4fb65facc">   39</a></span>&#160;  <a class="code" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html#aa07961f7d96ca5dd17319aa4fb65facc">~PyAcquireGIL</a>() { release(); }</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html#a705f95bb8ae5f01b9c6615ef3694aef4">   41</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html#a705f95bb8ae5f01b9c6615ef3694aef4">acquire</a>() {</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keywordflow">if</span> (!acquired_gil_) {</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;      state_ = PyGILState_Ensure();</div><div class="line"><a name="l00044"></a><span class="l
 ineno">   44</span>&#160;      acquired_gil_ = <span class="keyword">true</span>;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    }</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;  }</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;  <span class="comment">// idempotent</span></div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html#a9b0f2a430dac36520aeedd344d21fb3f">   49</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html#a9b0f2a430dac36520aeedd344d21fb3f">release</a>() {</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keywordflow">if</span> (acquired_gil_) {</div><div class="line"><a name="l00051"></a
 ><span class="lineno">   51</span>&#160;      PyGILState_Release(state_);</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;      acquired_gil_ = <span class="keyword">false</span>;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    }</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;  }</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;  <span class="keywordtype">bool</span> acquired_gil_;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;  PyGILState_STATE state_;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;  <a class="code" href="macros_8h.html#a40d72e185b1488b5659b761f0b611
 5bb">ARROW_DISALLOW_COPY_AND_ASSIGN</a>(<a class="code" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html">PyAcquireGIL</a>);</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;};</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="arrow_2python_2common_8h.html#a3736d68f2c04b7b41de8a06fb198b577">   62</a></span>&#160;<span class="preprocessor">#define PYARROW_IS_PY2 PY_MAJOR_VERSION &lt;= 2</span></div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_owned_ref.html">   64</a></span>&#160;<span class="keyword">class </span>ARROW_EXPORT <a class="code" href="classarrow_1_1py_1_1_owned_ref.html">OwnedRef</a> {</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; <span clas
 s="keyword">public</span>:</div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_owned_ref.html#a23c568f39cefb24111a5b126342907fb">   66</a></span>&#160;  <a class="code" href="classarrow_1_1py_1_1_owned_ref.html#a23c568f39cefb24111a5b126342907fb">OwnedRef</a>() : obj_(<a class="code" href="macros_8h.html#a3ef7eab8cd0e570b6586628cc9d5ccab">NULLPTR</a>) {}</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_owned_ref.html#a4fa414445a0d45fc6876e22a48323818">   68</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classarrow_1_1py_1_1_owned_ref.html#a4fa414445a0d45fc6876e22a48323818">OwnedRef</a>(PyObject* obj) : obj_(obj) {}</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00070"></a><span class="line
 no"><a class="line" href="classarrow_1_1py_1_1_owned_ref.html#a8dbf530a3d56e9cc8be52ee72de0a2f8">   70</a></span>&#160;  <a class="code" href="classarrow_1_1py_1_1_owned_ref.html#a8dbf530a3d56e9cc8be52ee72de0a2f8">~OwnedRef</a>() {</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <a class="code" href="classarrow_1_1py_1_1_py_acquire_g_i_l.html">PyAcquireGIL</a> lock;</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    release();</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;  }</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_owned_ref.html#ad99c47163961c1b346c3ea9836783eda">   75</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classarrow_1_1py_1_1_owned_ref.html#ad99c47163961c1b346c3ea9836783eda">reset</
 a>(PyObject* obj) {</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    Py_XDECREF(obj_);</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    obj_ = obj;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;  }</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_owned_ref.html#a22be3c23b30d73ec23bf7bd26ac2d738">   83</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classarrow_1_1py_1_1_owned_ref.html#a22be3c23b30d73ec23bf7bd26ac2d738">release</a>() {</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    Py_XDECREF(obj_);</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    obj_ = <a class="code" href="macros_8h.html#a3ef7eab8cd0e570b6586628cc9d5ccab">NU
 LLPTR</a>;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;  }</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_owned_ref.html#ac9d1b421eef89af1daff63c14fe828d2">   88</a></span>&#160;  PyObject* <a class="code" href="classarrow_1_1py_1_1_owned_ref.html#ac9d1b421eef89af1daff63c14fe828d2">obj</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> obj_; }</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;  PyObject* obj_;</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;};</div><div class="line"><a name="l00093"></
 a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="comment">// This is different from OwnedRef in that it assumes that</span></div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="comment">// the GIL is held by the caller and doesn&#39;t decrement the</span></div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="comment">// reference count when release is called.</span></div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_scoped_ref.html">   97</a></span>&#160;<span class="keyword">class </span>ARROW_EXPORT <a class="code" href="classarrow_1_1py_1_1_scoped_ref.html">ScopedRef</a> {</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00099"></a><span class="linen
 o"><a class="line" href="classarrow_1_1py_1_1_scoped_ref.html#aff57aeaa246dbde9c1fade965f08e36f">   99</a></span>&#160;  <a class="code" href="classarrow_1_1py_1_1_scoped_ref.html#aff57aeaa246dbde9c1fade965f08e36f">ScopedRef</a>() : obj_(<a class="code" href="macros_8h.html#a3ef7eab8cd0e570b6586628cc9d5ccab">NULLPTR</a>) {}</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_scoped_ref.html#a10b5972ad27bf47fc2b5414d27310b69">  101</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classarrow_1_1py_1_1_scoped_ref.html#a10b5972ad27bf47fc2b5414d27310b69">ScopedRef</a>(PyObject* obj) : obj_(obj) {}</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_scoped_ref.html#aea96d358836d5e3b56a
 9695bde378b2a">  103</a></span>&#160;  <a class="code" href="classarrow_1_1py_1_1_scoped_ref.html#aea96d358836d5e3b56a9695bde378b2a">~ScopedRef</a>() { Py_XDECREF(obj_); }</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_scoped_ref.html#a1cadd64358ad29278b4d6f9ee1344078">  105</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classarrow_1_1py_1_1_scoped_ref.html#a1cadd64358ad29278b4d6f9ee1344078">reset</a>(PyObject* obj) {</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    Py_XDECREF(obj_);</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    obj_ = obj;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;  }</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><
 a name="l00110"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_scoped_ref.html#a5a20812323d56a3b9859fa2f0d018005">  110</a></span>&#160;  PyObject* <a class="code" href="classarrow_1_1py_1_1_scoped_ref.html#a5a20812323d56a3b9859fa2f0d018005">release</a>() {</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    PyObject* result = obj_;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    obj_ = <a class="code" href="macros_8h.html#a3ef7eab8cd0e570b6586628cc9d5ccab">NULLPTR</a>;</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;  }</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_scoped_ref.ht
 ml#a9fc1bbe1e110d349bc40d489c5e7e191">  116</a></span>&#160;  PyObject* <span class="keyword">get</span>() <span class="keyword">const</span> { <span class="keywordflow">return</span> obj_; }</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_scoped_ref.html#a433336b353a3129bdd89b248db63fec3">  118</a></span>&#160;  PyObject** <a class="code" href="classarrow_1_1py_1_1_scoped_ref.html#a433336b353a3129bdd89b248db63fec3">ref</a>() { <span class="keywordflow">return</span> &amp;obj_; }</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;  PyObject* obj_;</div><div class="line"><a name="l00122"></a><span class="line
 no">  122</span>&#160;};</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="structarrow_1_1py_1_1_py_object_stringify.html">  124</a></span>&#160;<span class="keyword">struct </span>ARROW_EXPORT <a class="code" href="structarrow_1_1py_1_1_py_object_stringify.html">PyObjectStringify</a> {</div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="structarrow_1_1py_1_1_py_object_stringify.html#a710405190a719e7941d68b0ff9c24bbf">  125</a></span>&#160;  <a class="code" href="classarrow_1_1py_1_1_owned_ref.html">OwnedRef</a> <a class="code" href="structarrow_1_1py_1_1_py_object_stringify.html#a710405190a719e7941d68b0ff9c24bbf">tmp_obj</a>;</div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="structarrow_1_1py_1_1_py_object_stringify.html#a4affd96a0f23d719cadb443eb179f98d">  126</a></span>&#160;  <span class="
 keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="structarrow_1_1py_1_1_py_object_stringify.html#a4affd96a0f23d719cadb443eb179f98d">bytes</a>;</div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="structarrow_1_1py_1_1_py_object_stringify.html#a93307dd10ea2e5725a0c9e6a93b5dd48">  127</a></span>&#160;  Py_ssize_t <a class="code" href="structarrow_1_1py_1_1_py_object_stringify.html#a93307dd10ea2e5725a0c9e6a93b5dd48">size</a>;</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="structarrow_1_1py_1_1_py_object_stringify.html#ae463580d34db2330fafa6d0651769948">  129</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="structarrow_1_1py_1_1_py_object_stringify.html#ae463580d34db2330fafa6d0651769948">PyObjectStringify</a>(PyObject* obj) {</div><div class="line"><a name="l00130"></a><
 span class="lineno">  130</span>&#160;    PyObject* bytes_obj;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <span class="keywordflow">if</span> (PyUnicode_Check(obj)) {</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;      bytes_obj = PyUnicode_AsUTF8String(obj);</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;      tmp_obj.<a class="code" href="classarrow_1_1py_1_1_owned_ref.html#ad99c47163961c1b346c3ea9836783eda">reset</a>(bytes_obj);</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;      bytes = PyBytes_AsString(bytes_obj);</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;      size = PyBytes_GET_SIZE(bytes_obj);</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (PyBytes_Check(obj)) {</div><d
 iv class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;      bytes = PyBytes_AsString(obj);</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;      size = PyBytes_GET_SIZE(obj);</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;      bytes = <a class="code" href="macros_8h.html#a3ef7eab8cd0e570b6586628cc9d5ccab">NULLPTR</a>;</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;      size = -1;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    }</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;  }</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;};</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div><di
 v class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<a class="code" href="classarrow_1_1_status.html">Status</a> <a class="code" href="namespacearrow_1_1py.html#a37da12f47177606bf2725384804bef19">CheckPyError</a>(<a class="code" href="namespacearrow.html#a331ad1dbd1c157c8be168cb6548d188f">StatusCode</a> code = <a class="code" href="namespacearrow.html#a331ad1dbd1c157c8be168cb6548d188fabfaef30f1c8011c5cefa38ae470fb7aa">StatusCode::UnknownError</a>);</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<a class="code" href="classarrow_1_1_status.html">Status</a> <a class="code" href="namespacearrow_1_1py.html#a420f8c193475027edf8f2fb07cb6274f">PassPyError</a>();</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="comment">//
  TODO(wesm): We can just let errors pass through. To be explored later</span></div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="arrow_2python_2common_8h.html#ad99052ac0ced9d8a858bd49d5bfd2ebd">  151</a></span>&#160;<span class="preprocessor">#define RETURN_IF_PYERROR() RETURN_NOT_OK(CheckPyError());</span></div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="arrow_2python_2common_8h.html#acae7d13f31abc214abe5d1e7c901b72f">  153</a></span>&#160;<span class="preprocessor">#define PY_RETURN_IF_ERROR(CODE) RETURN_NOT_OK(CheckPyError(CODE));</span></div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="comment">// Return the common PyArrow memory pool</span></div><div class="line"><a name="l00156"></a><span class
 ="lineno">  156</span>&#160;ARROW_EXPORT <span class="keywordtype">void</span> <a class="code" href="namespacearrow_1_1py.html#a1c820dd57e25e43fbdfc3accd252efc4">set_default_memory_pool</a>(MemoryPool* pool);</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;ARROW_EXPORT MemoryPool* <a class="code" href="namespacearrow_1_1py.html#a695a28adb44e701429087896352e4a07">get_memory_pool</a>();</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="classarrow_1_1py_1_1_py_buffer.html">  159</a></span>&#160;<span class="keyword">class </span>ARROW_EXPORT <a class="code" href="classarrow_1_1py_1_1_py_buffer.html">PyBuffer</a> : <span class="keyword">public</span> <a class="code" href="classarrow_1_1_buffer.html">Buffer</a> {</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160; <span class="keyword">public</span>:</d
 iv><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classarrow_1_1py_1_1_py_buffer.html">PyBuffer</a>(PyObject* obj);</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;  ~<a class="code" href="classarrow_1_1py_1_1_py_buffer.html">PyBuffer</a>();</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;  PyObject* obj_;</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;};</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;}  <span class="comment">// namespace py</span></div><div class="li
 ne"><a name="l00173"></a><span class="lineno">  173</span>&#160;}  <span class="comment">// namespace arrow</span></div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="preprocessor">#endif  // ARROW_PYTHON_COMMON_H</span></div><div class="ttc" id="structarrow_1_1py_1_1_py_object_stringify_html_a93307dd10ea2e5725a0c9e6a93b5dd48"><div class="ttname"><a href="structarrow_1_1py_1_1_py_object_stringify.html#a93307dd10ea2e5725a0c9e6a93b5dd48">arrow::py::PyObjectStringify::size</a></div><div class="ttdeci">Py_ssize_t size</div><div class="ttdef"><b>Definition:</b> common.h:127</div></div>
 <div class="ttc" id="structarrow_1_1py_1_1_py_object_stringify_html"><div class="ttname"><a href="structarrow_1_1py_1_1_py_object_stringify.html">arrow::py::PyObjectStringify</a></div><div class="ttdef"><b>Definition:</b> common.h:124</div></div>
 <div class="ttc" id="classarrow_1_1py_1_1_owned_ref_html_a23c568f39cefb24111a5b126342907fb"><div class="ttname"><a href="classarrow_1_1py_1_1_owned_ref.html#a23c568f39cefb24111a5b126342907fb">arrow::py::OwnedRef::OwnedRef</a></div><div class="ttdeci">OwnedRef()</div><div class="ttdef"><b>Definition:</b> common.h:66</div></div>
+<div class="ttc" id="macros_8h_html_a3ef7eab8cd0e570b6586628cc9d5ccab"><div class="ttname"><a href="macros_8h.html#a3ef7eab8cd0e570b6586628cc9d5ccab">NULLPTR</a></div><div class="ttdeci">#define NULLPTR</div><div class="ttdef"><b>Definition:</b> macros.h:69</div></div>
 <div class="ttc" id="namespacearrow_html_a331ad1dbd1c157c8be168cb6548d188f"><div class="ttname"><a href="namespacearrow.html#a331ad1dbd1c157c8be168cb6548d188f">arrow::StatusCode</a></div><div class="ttdeci">StatusCode</div><div class="ttdef"><b>Definition:</b> status.h:85</div></div>
 <div class="ttc" id="classarrow_1_1py_1_1_owned_ref_html_a8dbf530a3d56e9cc8be52ee72de0a2f8"><div class="ttname"><a href="classarrow_1_1py_1_1_owned_ref.html#a8dbf530a3d56e9cc8be52ee72de0a2f8">arrow::py::OwnedRef::~OwnedRef</a></div><div class="ttdeci">~OwnedRef()</div><div class="ttdef"><b>Definition:</b> common.h:70</div></div>
 <div class="ttc" id="classarrow_1_1py_1_1_owned_ref_html_ac9d1b421eef89af1daff63c14fe828d2"><div class="ttname"><a href="classarrow_1_1py_1_1_owned_ref.html#ac9d1b421eef89af1daff63c14fe828d2">arrow::py::OwnedRef::obj</a></div><div class="ttdeci">PyObject * obj() const</div><div class="ttdef"><b>Definition:</b> common.h:88</div></div>
@@ -85,7 +86,7 @@ $(function() {
 <div class="ttc" id="namespacearrow_1_1py_html_a695a28adb44e701429087896352e4a07"><div class="ttname"><a href="namespacearrow_1_1py.html#a695a28adb44e701429087896352e4a07">arrow::py::get_memory_pool</a></div><div class="ttdeci">MemoryPool * get_memory_pool()</div></div>
 <div class="ttc" id="classarrow_1_1py_1_1_py_buffer_html"><div class="ttname"><a href="classarrow_1_1py_1_1_py_buffer.html">arrow::py::PyBuffer</a></div><div class="ttdef"><b>Definition:</b> common.h:159</div></div>
 <div class="ttc" id="classarrow_1_1py_1_1_owned_ref_html_ad99c47163961c1b346c3ea9836783eda"><div class="ttname"><a href="classarrow_1_1py_1_1_owned_ref.html#ad99c47163961c1b346c3ea9836783eda">arrow::py::OwnedRef::reset</a></div><div class="ttdeci">void reset(PyObject *obj)</div><div class="ttdef"><b>Definition:</b> common.h:75</div></div>
-<div class="ttc" id="namespacearrow_html"><div class="ttname"><a href="namespacearrow.html">arrow</a></div><div class="ttdoc">Top-level namespace for Apache Arrow C++ API. </div><div class="ttdef"><b>Definition:</b> allocator.h:28</div></div>
+<div class="ttc" id="namespacearrow_html"><div class="ttname"><a href="namespacearrow.html">arrow</a></div><div class="ttdoc">Top-level namespace for Apache Arrow C++ API. </div><div class="ttdef"><b>Definition:</b> allocator.h:29</div></div>
 <div class="ttc" id="classarrow_1_1py_1_1_owned_ref_html_a4fa414445a0d45fc6876e22a48323818"><div class="ttname"><a href="classarrow_1_1py_1_1_owned_ref.html#a4fa414445a0d45fc6876e22a48323818">arrow::py::OwnedRef::OwnedRef</a></div><div class="ttdeci">OwnedRef(PyObject *obj)</div><div class="ttdef"><b>Definition:</b> common.h:68</div></div>
 <div class="ttc" id="namespacearrow_1_1py_html_a1c820dd57e25e43fbdfc3accd252efc4"><div class="ttname"><a href="namespacearrow_1_1py.html#a1c820dd57e25e43fbdfc3accd252efc4">arrow::py::set_default_memory_pool</a></div><div class="ttdeci">void set_default_memory_pool(MemoryPool *pool)</div></div>
 <div class="ttc" id="structarrow_1_1py_1_1_py_object_stringify_html_a710405190a719e7941d68b0ff9c24bbf"><div class="ttname"><a href="structarrow_1_1py_1_1_py_object_stringify.html#a710405190a719e7941d68b0ff9c24bbf">arrow::py::PyObjectStringify::tmp_obj</a></div><div class="ttdeci">OwnedRef tmp_obj</div><div class="ttdef"><b>Definition:</b> common.h:125</div></div>

http://git-wip-us.apache.org/repos/asf/arrow-site/blob/35e0e750/docs/cpp/arrow_2python_2config_8h_source.html
----------------------------------------------------------------------
diff --git a/docs/cpp/arrow_2python_2config_8h_source.html b/docs/cpp/arrow_2python_2config_8h_source.html
index 25a587a..97df7d7 100644
--- a/docs/cpp/arrow_2python_2config_8h_source.html
+++ b/docs/cpp/arrow_2python_2config_8h_source.html
@@ -70,7 +70,7 @@ $(function() {
 <a href="arrow_2python_2config_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// or more contributor license agreements.  See the NOTICE file</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// regarding copyright ownership.  The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00006"><
 /a><span class="lineno">    6</span>&#160;<span class="comment">// &quot;License&quot;); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">// with the License.  You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//   http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing,</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// software
  distributed under the License is distributed on an</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">// &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// KIND, either express or implied.  See the License for the</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// specific language governing permissions and limitations</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// under the License.</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#ifndef ARROW_PYTHON_CONFIG_H</span></div><div class="line"><a name="l00019"></a><span
  class="lineno">   19</span>&#160;<span class="preprocessor">#define ARROW_PYTHON_CONFIG_H</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="platform_8h.html">arrow/python/platform.h</a>&quot;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="numpy__interop_8h.html">arrow/python/numpy_interop.h</a>&quot;</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="visibility_8h.html">arrow/util/visibility.h</a>&quot;</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class=
 "line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#if PY_MAJOR_VERSION &gt;= 3</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#define PyString_Check PyUnicode_Check</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacearrow.html">arrow</a> {</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keyword">namespace </span>py {</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;ARROW_EXPORT</div><div class="li
 ne"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="keyword">extern</span> PyObject* <a class="code" href="namespacearrow_1_1py.html#a905ccbfe5b6e03ea7df61d104fe4e4ef">numpy_nan</a>;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;ARROW_EXPORT</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespacearrow_1_1py.html#a5aeb2288cbab3189c357f1259769e842">set_numpy_nan</a>(PyObject* obj);</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;}  <span class="comment">// namespace py</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;}  <span class="comment">// namespace arrow</span></div><div class="line"
 ><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#endif  // ARROW_PYTHON_CONFIG_H</span></div><div class="ttc" id="platform_8h_html"><div class="ttname"><a href="platform_8h.html">platform.h</a></div></div>
 <div class="ttc" id="visibility_8h_html"><div class="ttname"><a href="visibility_8h.html">visibility.h</a></div></div>
 <div class="ttc" id="namespacearrow_1_1py_html_a905ccbfe5b6e03ea7df61d104fe4e4ef"><div class="ttname"><a href="namespacearrow_1_1py.html#a905ccbfe5b6e03ea7df61d104fe4e4ef">arrow::py::numpy_nan</a></div><div class="ttdeci">PyObject * numpy_nan</div></div>
-<div class="ttc" id="namespacearrow_html"><div class="ttname"><a href="namespacearrow.html">arrow</a></div><div class="ttdoc">Top-level namespace for Apache Arrow C++ API. </div><div class="ttdef"><b>Definition:</b> allocator.h:28</div></div>
+<div class="ttc" id="namespacearrow_html"><div class="ttname"><a href="namespacearrow.html">arrow</a></div><div class="ttdoc">Top-level namespace for Apache Arrow C++ API. </div><div class="ttdef"><b>Definition:</b> allocator.h:29</div></div>
 <div class="ttc" id="numpy__interop_8h_html"><div class="ttname"><a href="numpy__interop_8h.html">numpy_interop.h</a></div></div>
 <div class="ttc" id="namespacearrow_1_1py_html_a5aeb2288cbab3189c357f1259769e842"><div class="ttname"><a href="namespacearrow_1_1py.html#a5aeb2288cbab3189c357f1259769e842">arrow::py::set_numpy_nan</a></div><div class="ttdeci">void set_numpy_nan(PyObject *obj)</div></div>
 </div><!-- fragment --></div><!-- contents -->

http://git-wip-us.apache.org/repos/asf/arrow-site/blob/35e0e750/docs/cpp/arrow_2python_2io_8h.html
----------------------------------------------------------------------
diff --git a/docs/cpp/arrow_2python_2io_8h.html b/docs/cpp/arrow_2python_2io_8h.html
index 18677bc..c446018 100644
--- a/docs/cpp/arrow_2python_2io_8h.html
+++ b/docs/cpp/arrow_2python_2io_8h.html
@@ -65,7 +65,8 @@ $(function() {
 <div class="header">
   <div class="summary">
 <a href="#nested-classes">Classes</a> &#124;
-<a href="#namespaces">Namespaces</a>  </div>
+<a href="#namespaces">Namespaces</a> &#124;
+<a href="#var-members">Variables</a>  </div>
   <div class="headertitle">
 <div class="title">io.h File Reference</div>  </div>
 </div><!--header-->
@@ -80,8 +81,6 @@ $(function() {
 <table class="memberdecls">
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
 Classes</h2></td></tr>
-<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarrow_1_1py_1_1_python_file.html">arrow::py::PythonFile</a></td></tr>
-<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
 <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarrow_1_1py_1_1_py_readable_file.html">arrow::py::PyReadableFile</a></td></tr>
 <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
 <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarrow_1_1py_1_1_py_output_stream.html">arrow::py::PyOutputStream</a></td></tr>
@@ -96,6 +95,11 @@ Namespaces</h2></td></tr>
 <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
 <tr class="memitem:namespacearrow_1_1py"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearrow_1_1py.html">arrow::py</a></td></tr>
 <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
+Variables</h2></td></tr>
+<tr class="memitem:ae397fd327253f5ed91ba845863abb948"><td class="memItemLeft" align="right" valign="top">class <a class="el" href="visibility_8h.html#a843cb8dccea68a22a2b9995605cb5a74">ARROW_NO_EXPORT</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearrow_1_1py.html#ae397fd327253f5ed91ba845863abb948">arrow::py::PythonFile</a></td></tr>
+<tr class="separator:ae397fd327253f5ed91ba845863abb948"><td class="memSeparator" colspan="2">&#160;</td></tr>
 </table>
 </div><!-- contents -->
 <!-- start footer part -->


Mime
View raw message