X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fref_aggregate.xml;h=09bbd741b1d451a93a42ebe769576a66a481d74e;hb=1bcafc58d13681d25f0576eabb33f9232dd373ae;hp=5e4cd660a0f965935f9c69bb05f50f694e863b4a;hpb=dc12f6625ed6c85ad380525d01c0726100bf7a3d;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)