r9307: documentation fixes
[uffi.git] / doc / ref_aggregate.xml
index 5aa86441135946ce540b3f5896fe97622c63b6ee..09bbd741b1d451a93a42ebe769576a66a481d74e 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
                "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
-<!ENTITY % myents SYSTEM "entities.xml">
+<!ENTITY % myents SYSTEM "entities.inc">
 %myents;
 ]>
 
@@ -209,13 +209,15 @@ structure. It's type is <constant>:pointer-self</constant>.
       <refsect1>
        <title>Description</title>
        <para>
-         Accesses a slot value from a structure.
+         Accesses a slot value from a structure. This is generalized
+         and can be used with <function>setf</function>.
        </para>
       </refsect1>
       <refsect1>
        <title>Examples</title>
        <screen>
 (get-slot-value foo-ptr 'foo-structure 'field-name)
+(setf (get-slot-value foo-ptr 'foo-structure 'field-name) 10)
        </screen>
       </refsect1>
       <refsect1>