X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fref_aggregate.xml;h=c1892648ad5ef60af4fb3d818ce902af752f3fec;hb=09464c82191ef241c749756bbad5ffaadd8f6e5f;hp=5e4cd660a0f965935f9c69bb05f50f694e863b4a;hpb=9800f5cf7bea68d91a31eab7db1f5cc775b03d33;p=uffi.git
diff --git a/doc/ref_aggregate.xml b/doc/ref_aggregate.xml
index 5e4cd66..c189264 100644
--- a/doc/ref_aggregate.xml
+++ b/doc/ref_aggregate.xml
@@ -209,13 +209,15 @@ structure. It's type is :pointer-self.
Description
- Accesses a slot value from a structure.
+ Accesses a slot value from a structure. This is generalized
+ and can be used with setf.
Examples
(get-slot-value foo-ptr 'foo-structure 'field-name)
+(setf (get-slot-value foo-ptr 'foo-structure 'field-name) 10)
@@ -375,7 +377,7 @@ structure. It's type is :pointer-self.
Syntax
- deref-array array type positon => value
+ deref-array array type position => value