X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fref_aggregate.xml;h=c1892648ad5ef60af4fb3d818ce902af752f3fec;hb=895cdddc64ad069c4d8173a21d0d5ce47b79e919;hp=5aa86441135946ce540b3f5896fe97622c63b6ee;hpb=e23ce13827d1948c2e46f2b36a4a22127615844a;p=uffi.git diff --git a/doc/ref_aggregate.xml b/doc/ref_aggregate.xml index 5aa8644..c189264 100644 --- a/doc/ref_aggregate.xml +++ b/doc/ref_aggregate.xml @@ -1,7 +1,7 @@ + %myents; ]> @@ -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