projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r9307: documentation fixes
[uffi.git]
/
doc
/
ref_aggregate.xml
diff --git
a/doc/ref_aggregate.xml
b/doc/ref_aggregate.xml
index 5e4cd660a0f965935f9c69bb05f50f694e863b4a..09bbd741b1d451a93a42ebe769576a66a481d74e 100644
(file)
--- a/
doc/ref_aggregate.xml
+++ b/
doc/ref_aggregate.xml
@@
-209,13
+209,15
@@
structure. It's type is <constant>:pointer-self</constant>.
<refsect1>
<title>Description</title>
<para>
<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)
</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>
</screen>
</refsect1>
<refsect1>