Sophie

Sophie

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

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>Primitive Types</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="pt04.html" title="Part&#160;IV.&#160;UFFI Reference"><link rel="prev" href="pt04.html" title="Part&#160;IV.&#160;UFFI Reference"><link rel="next" href="rn01re46.html" title="def-constant"></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">Primitive Types</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pt04.html">Prev</a>&#160;</td><th width="60%" align="center">Part&#160;IV.&#160;UFFI Reference</th><td width="20%" align="right">&#160;<a accesskey="n" href="rn01re46.html">Next</a></td></tr></table><hr></div><div class="reference" title="Primitive Types"><div class="titlepage"><div><div><h1 class="title"><a name="uffi.primitives"></a>Primitive Types</h1></div></div><hr></div><div class="partintro" title="Overview"><div><div><div><h1 class="title"><a name="id685054"></a>Overview</h1></div></div></div><p>
    Primitive types have a single value, these include
    characters, numbers, and pointers. They are all symbols in
    the keyword package.
   </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><code class="constant">:char</code> - Signed 8-bits. A
     dereferenced :char pointer returns an character.
     </p></li><li class="listitem"><p><code class="constant">:unsigned-char</code> - Unsigned 8-bits. A dereferenced :unsigned-char
     pointer returns an character.
     </p></li><li class="listitem"><p><code class="constant">:byte</code> - Signed 8-bits. A
     dereferenced :byte pointer returns an integer.
     </p></li><li class="listitem"><p><code class="constant">:unsigned-byte</code> - Unsigned 8-bits. A
     dereferenced :unsigned-byte pointer returns an integer.
     </p></li><li class="listitem"><p><code class="constant">:short</code> - Signed 16-bits.
     </p></li><li class="listitem"><p><code class="constant">:unsigned-short</code> - Unsigned 16-bits.
     </p></li><li class="listitem"><p><code class="constant">:int</code> - Signed 32-bits.</p></li><li class="listitem"><p><code class="constant">:unsigned-int</code> - Unsigned 32-bits.</p></li><li class="listitem"><p><code class="constant">:long</code> - Signed 32 or 64 bits, depending upon the platform.</p></li><li class="listitem"><p><code class="constant">:unsigned-long</code> - Unsigned 32 or 64 bits, depending upon the platform.</p></li><li class="listitem"><p><code class="constant">:float</code> - 32-bit floating point.</p></li><li class="listitem"><p><code class="constant">:double</code> - 64-bit floating point.</p></li><li class="listitem"><p><code class="constant">:cstring</code> - 
     A <code class="constant">NULL</code> terminated string used for passing and returning characters strings with a <acronym class="acronym">C</acronym> function.
     </p></li><li class="listitem"><p><code class="constant">:void</code> - 
     The absence of a value. Used to indicate that a function does not return a value.
     </p></li><li class="listitem"><p><code class="constant">:pointer-void</code> - Points to a generic object.</p></li><li class="listitem"><p><code class="constant">*</code> - Used to declare a pointer to an object</p></li></ul></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="refentrytitle"><a href="rn01re46.html"><code class="function">def-constant</code></a></span><span class="refpurpose"> &#8212; Binds a symbol to a constant. 
    </span></dt><dt><span class="refentrytitle"><a href="rn01re47.html"><code class="function">def-foreign-type</code></a></span><span class="refpurpose"> &#8212; Defines a new foreign type. 
    </span></dt><dt><span class="refentrytitle"><a href="rn01re48.html"><code class="function">null-char-p</code></a></span><span class="refpurpose"> &#8212; Tests a character for <code class="constant">NULL</code> value.
    </span></dt></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="pt04.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="pt04.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="rn01re46.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Part&#160;IV.&#160;UFFI Reference&#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-constant</code></td></tr></table></div></body></html>