summaryrefslogtreecommitdiff
path: root/numpy/doc/swig/numpy_swig.html
diff options
context:
space:
mode:
authorwfspotz@sandia.gov <wfspotz@sandia.gov@localhost>2007-04-10 15:21:28 +0000
committerwfspotz@sandia.gov <wfspotz@sandia.gov@localhost>2007-04-10 15:21:28 +0000
commitf2101eee48837abece457eb8deec39efd578c5b9 (patch)
tree24d61872d7c928e1642eaa615416b11e868d6ced /numpy/doc/swig/numpy_swig.html
parentd62e119b2873f021936bdd24f9d2559314a525a1 (diff)
downloadnumpy-f2101eee48837abece457eb8deec39efd578c5b9.tar.gz
Added 'array_data()' macros and used it in the typemaps; added new macro to the documentation
Diffstat (limited to 'numpy/doc/swig/numpy_swig.html')
-rw-r--r--numpy/doc/swig/numpy_swig.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/doc/swig/numpy_swig.html b/numpy/doc/swig/numpy_swig.html
index 8f292d446..a335901c0 100644
--- a/numpy/doc/swig/numpy_swig.html
+++ b/numpy/doc/swig/numpy_swig.html
@@ -730,6 +730,9 @@ of <tt class="docutils literal"><span class="pre">a</span></tt>, assuming <tt cl
<dt><strong>array_size(a,i)</strong></dt>
<dd>Evaluates to the <tt class="docutils literal"><span class="pre">i</span></tt>-th dimension size of <tt class="docutils literal"><span class="pre">a</span></tt>, assuming <tt class="docutils literal"><span class="pre">a</span></tt>
can be cast to a <tt class="docutils literal"><span class="pre">PyArrayObject*</span></tt>.</dd>
+<dt><strong>array_data(a)</strong></dt>
+<dd>Evaluates to a pointer of type <tt class="docutils literal"><span class="pre">void*</span></tt> that points to the data
+buffer of <tt class="docutils literal"><span class="pre">a</span></tt>, assuming <tt class="docutils literal"><span class="pre">a</span></tt> can be cast to a <tt class="docutils literal"><span class="pre">PyArrayObject*</span></tt>.</dd>
<dt><strong>array_is_contiguous(a)</strong></dt>
<dd>Evaluates as true if <tt class="docutils literal"><span class="pre">a</span></tt> is a contiguous array. Equivalent to
<tt class="docutils literal"><span class="pre">(PyArray_ISCONTIGUOUS(a))</span></tt>.</dd>
@@ -945,7 +948,7 @@ possible.</p>
</div>
<div class="footer">
<hr class="footer" />
-Generated on: 2007-04-04 22:57 UTC.
+Generated on: 2007-04-10 15:20 UTC.
Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
</div>