X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fref_aggregate.xml;h=09bbd741b1d451a93a42ebe769576a66a481d74e;hb=1ef9b480bdaf7d95663527f4ca1c9b7cd618ed3e;hp=5e4cd660a0f965935f9c69bb05f50f694e863b4a;hpb=9800f5cf7bea68d91a31eab7db1f5cc775b03d33;p=uffi.git diff --git a/doc/ref_aggregate.xml b/doc/ref_aggregate.xml index 5e4cd66..09bbd74 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)