Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > e3d62627d1d1aab7ab1be2dd7f65a872 > files > 385

ecl-10.4.1-1.fc14.x86_64.rpm

<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>get-slot-pointer</title><link rel="stylesheet" href="ecl.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The ECL manual"><link rel="up" href="rn02.html" title="Aggregate Types"><link rel="prev" href="rn02re51.html" title="get-slot-value"><link rel="next" href="rn02re53.html" title="def-array-pointer"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><code class="function">get-slot-pointer</code></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn02re51.html">Prev</a>&#160;</td><th width="60%" align="center">Aggregate Types</th><td width="20%" align="right">&#160;<a accesskey="n" href="rn02re53.html">Next</a></td></tr></table><hr></div><div class="refentry" title="get-slot-pointer"><a name="uffi.get-slot-pointer"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p><code class="function">get-slot-pointer</code> &#8212; Retrieves a pointer from a slot of a structure.
    <b>Macro</b></p></div><div class="refsynopsisdiv" title="Syntax"><h2>Syntax</h2><pre class="synopsis">
     <code class="function">get-slot-pointer</code> <em class="replaceable"><code>obj type field</code></em> =&gt; <span class="returnvalue">pointer</span>
    </pre></div><div class="refsect1" title="Arguments and Values"><a name="id687437"></a><h2>Arguments and Values</h2><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>obj</code></em></span></p></td><td><p>A pointer to foreign structure.
       </p></td></tr><tr><td><p><span class="term"><em class="parameter"><code>type</code></em></span></p></td><td><p>A name of the foreign structure.
       </p></td></tr><tr><td><p><span class="term"><em class="parameter"><code>field</code></em></span></p></td><td><p>A name of the desired field in foreign structure.
       </p></td></tr><tr><td><p><span class="term"><span class="returnvalue">pointer</span></span></p></td><td><p>The value of the field in the structure.
       </p></td></tr></tbody></table></div></div><div class="refsect1" title="Description"><a name="id687512"></a><h2>Description</h2><p>
     This is similar to <code class="function">get-slot-value</code>. It
     is used when the value of a slot is a pointer type.
    </p></div><div class="refsect1" title="Examples"><a name="id687529"></a><h2>Examples</h2><pre class="screen">
(get-slot-pointer foo-ptr 'foo-structure 'my-char-ptr)</pre></div><div class="refsect1" title="Side Effects"><a name="id687542"></a><h2>Side Effects</h2><p>None.</p></div><div class="refsect1" title="Affected by"><a name="id687552"></a><h2>Affected by</h2><p>None.</p></div><div class="refsect1" title="Exceptional Situations"><a name="id687562"></a><h2>Exceptional Situations</h2><p>None.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn02re51.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="rn02.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="rn02re53.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><code class="function">get-slot-value</code>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<code class="function">def-array-pointer</code></td></tr></table></div></body></html>