X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fnotes.xml;h=5678588f5ca058cd3e54b992e96a4986a2c01780;hb=HEAD;hp=a492c2d348d5bdd48ec69e91e48a9da68edab7a8;hpb=733ccdb62a1d595dca9dc015f390eac66a11345e;p=uffi.git diff --git a/doc/notes.xml b/doc/notes.xml index a492c2d..5678588 100644 --- a/doc/notes.xml +++ b/doc/notes.xml @@ -1,9 +1,14 @@ - + + +%myents; +]> Programming Notes - + Implementation Specific Notes @@ -24,7 +29,7 @@ - + Foreign Object Representation and Access There are two main approaches used to represent foreign objects: an integer that represents an address in memory, and a @@ -41,7 +46,7 @@ - + Optimizing Code Using UFFI Background @@ -76,12 +81,12 @@ Here is an example that should both methods being used for maximum cross-implementation optimization: - + (uffi:def-type the-struct-type-def the-struct-type) (let ((a-foreign-struct (allocate-foreign-object 'the-struct-type))) (declare 'the-struct-type-def a-foreign-struct) (get-slot-value a-foreign-struct 'the-struct-type 'field-name)) - +