r1594: *** empty log message ***
[uffi.git] / doc / ref.sgml
index ad3bbffa11d63b9a2d79c896c901d3cd03ced756..e8c45fd222e31318faaf6f6f8f921d368fa21bda 100644 (file)
@@ -95,7 +95,6 @@ dereferenced :char pointer returns an character.</para>
            <para><constant>:unsigned-char</constant> - Unsigned 8-bits. A dereferenced :unsigned-char
 pointer returns an character.</para>
          </listitem>
-         <listitem>
          <listitem>
            <para><constant>:byte</constant> - Unsigned 8-bits. A
 dereferenced :byte pointer returns an integer.</para>
@@ -497,7 +496,7 @@ structure. It's type is <constant>:pointer-self</constant>.
 
     <refentry id="get-slot-value">
       <refnamediv>
-       <refname>def-slot-value</refname>
+       <refname>get-slot-value</refname>
        <refpurpose>Retrieves a value from a slot of a structure.
        </refpurpose>
        <refclass>Macro</refclass>
@@ -831,7 +830,7 @@ the array.
        <title>Examples</title>
        <programlisting>
 (def-struct ab (a :int) (b :double))
-(allocate-foreign-object 'ab)
+(allocate-foreign-object ab)
 => #&lt;ptr&gt;
        </programlisting>
       </refsect1>
@@ -959,7 +958,7 @@ the array.
       <refsynopsisdiv>
        <title>Syntax</title>
        <synopsis>
-         <function>def-pointer</function> <replaceable>ptr type</replaceable> => <returnvalue>value</returnvalue>
+         <function>deref-pointer</function> <replaceable>ptr type</replaceable> => <returnvalue>value</returnvalue>
        </synopsis>
       </refsynopsisdiv>
       <refsect1>